hbase ClassNotFoundException

前端 未结 4 869
北荒
北荒 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:06

     `hadoop classpath`
    

    and

    `hbase classpath` 
    

    will give cluster classpath export this to HADOOP_CLASSPATH. (is standard way to utilize cluster's local environment).

    • Capture above in a variable and we need to format using Linux commands. add it to -libjars option of the mapreduce if was not finding the jar which you are looking for.

提交回复
热议问题