Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael authored and Michael committed Nov 17, 2016
1 parent dc05f3f commit 2240130
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Expand Up @@ -235,7 +235,7 @@ public static void main(String[] args) {
JavaSparkContext sc = new JavaSparkContext(conf);
sc.addJar("build/libs/spark_session_rollup.jar");

JavaRDD<String> entries = sc.textFile("hdfs://localhost:54310/tmp");
JavaRDD<String> entries = sc.textFile("hdfs://localhost:54310/tmp/input");

JavaPairRDD<Long, Iterable<Long>> userhits =
entries.mapToPair(new ExtractHits()).groupByKey();
Expand Down
1 change: 1 addition & 0 deletions settings.gradle
@@ -1,3 +1,4 @@

include ':mapreduce'
include ':sampledata'
include ':examples:word_count_input'
Expand Down

0 comments on commit 2240130

Please sign in to comment.