错误: 找不到或无法加载主类 org.apache.hadoop.hbase.util.GetJavaProperty
如图所示
1.改一下hbase/bin/目录下的hbase文件
2.187行,在add_to_cp_if_exists “${HBASE_HOME}/hbase-server/target” 这里下面加上两行
# Needed for GetJavaProperty check below
add_to_cp_if_exists "${HBASE_HOME}/hbase-server/target/classes"
3.把1行下面的注释
#add the hbase jars for each module
for f in $HBASE_HOME/hbase