hbase ClassNotFoundException

前端 未结 4 867
北荒
北荒 2021-01-20 02:27

I want to run a map reduce example:

    package my.test;

import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.En         


        
4条回答
  •  粉色の甜心
    2021-01-20 03:20

    I struggled with the same. My this post has it working - https://my-bigdata-blog.blogspot.in/2017/08/Hbase-Programming-Java-Netbeans-Maven.html You need below line in code along with setting Hadoop_classpath. TableMapReduceUtil.addDependencyJars(job);

提交回复
热议问题