简体   繁体   English

使用Cygwin在Windows上启动HBase时出错:找不到主类:org.apache.hadoop.hbase.master.HMaster

[英]Error on start HBase on Windows with Cygwin : Could not find the main class : org.apache.hadoop.hbase.master.HMaster

I followed this : http://hbase.apache.org/cygwin.html . 我遵循了这一点: http : //hbase.apache.org/cygwin.html Each step is ok until the start of HBase. 在启动HBase之前,每个步骤都是正确的。 It's perhaps a path problem between Windows and Cygwin, but I am lost ... 这可能是Windows和Cygwin之间的路径问题,但我迷路了...

The person who asked the question commented with the below answer 提出问题的人用以下答案发表了评论

I have just found the solution here 我刚刚在这里找到解决方案

In conf/hbase-env.sh uncomment and modify the line conf/hbase-env.sh取消注释并修改该行

export HBASE_CLASSPATH=/usr/local/hbase-0.94.12/lib/zookeeper-3.4.5.jar

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 java.lang.RuntimeException:Master的构建失败:org.apache.hadoop.hbase.master.HMaster类 - java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster 找不到或无法加载主类 org.apache.hadoop.hbase.util.HBaseConfTool - Can not find or load main class org.apache.hadoop.hbase.util.HBaseConfTool HBase on Tomcat7安装错误:无法初始化类org.apache.hadoop.security.ShellBasedUnixGroupsMapping - HBase on Tomcat7 setup error: Could not initialize class org.apache.hadoop.security.ShellBasedUnixGroupsMapping 为什么./sbin/start-master.sh给出“错误:找不到或加载主类org.apache.spark.launcher.Main”? - Why does ./sbin/start-master.sh give “Error: Could not find or load main class org.apache.spark.launcher.Main”? 错误:无法在Hadoop上找到或加载主类org.apache.hadoop.hdfs.tools.GetConf - Error: Could not find or load main class org.apache.hadoop.hdfs.tools.GetConf on Hadoop java.lang.NoClassDefFoundError:无法初始化类org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil $ ClassLoaderHolder - java.lang.NoClassDefFoundError: Could not initialize class org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil$ClassLoaderHolder Hbase作为Mapreduce的接收器:线程“ main”中的异常org.apache.hadoop.hbase.client.RetriesExhaustedException - Hbase as sink for Mapreduce: Exception in thread “main” org.apache.hadoop.hbase.client.RetriesExhaustedException 以下工件无法解析:org.apache.hbase:hbase:jar:0.96.1.1-hadoop2 - The following artifacts could not be resolved: org.apache.hbase:hbase:jar:0.96.1.1-hadoop2 什么是“错误:无法找到或加载主类org.apache.hadoop.util.RunJar”? - What does “Error: Could not find or load main class org.apache.hadoop.util.RunJar”? 错误:找不到或加载主类org.apache.hadoop.hdfs.server.datanode.DataNode - Error: Could not find or load main class org.apache.hadoop.hdfs.server.datanode.DataNode
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM