Skip to content

Commit

Permalink
访问耗时统计,自定义传输对象,只能最后一个字段是字符串
Browse files Browse the repository at this point in the history
  • Loading branch information
lkfs committed Sep 28, 2020
1 parent d1662c5 commit 7d8a9ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/net/venusoft/duration/AccessDurationDriver.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ protected void reduce(Text key, Iterable<AccessInfoBean> values, Context context

public static void main(String[] args) throws IOException, ClassNotFoundException, InterruptedException {

String inputPath = "hdfs://hadoop01:9000/input/";
String outputPath = "hdfs://hadoop01:9000/output1_2";
String inputPath = "hdfs://hadoop01:9000/input/2020-09-25_ibd-info-log.log";
String outputPath = "hdfs://hadoop01:9000/output1_4";

Configuration conf = new Configuration();
Job job = Job.getInstance(conf);
Expand Down

0 comments on commit 7d8a9ee

Please sign in to comment.