Configuration conf=HBaseConfiguration.create();
Path inputPath = new Path("hdfs://hadoop201:9000/user/hive/warehouse2/dept");
Job job=Job.getInstance(conf);
需要将代码写在main方法中
Configuration conf=HBaseConfiguration.create();
Path inputPath = new Path("hdfs://hadoop201:9000/user/hive/warehouse2/dept");
Job job=Job.getInstance(conf);
需要将代码写在main方法中