我正在尝试在windows7.i上安装hadoop安装了cygwin,当我这样做./start-dfs.sh我收到以下错误:
Error: Could not find or load main class org.apache.hadoop.hdfs.tools.GetConf
Starting namenodes on []
localhost: starting namenode, logging to /usr/local/hadoop/logs/hadoop-kalai-namenode kalai-PC.out
localhost: Error: Could not find or load main class org.apache.hadoop.hdfs.server.namenode.NameNode
localhost: starting datanode, logging to /usr/local/hadoop/logs/hadoop-kalai-datanode-kalai-PC.out
localhost: Error: Could not find or load main class org.apache.hadoop.hdfs.server.datanode.DataNode
Error: Could not find or load main class org.apache.hadoop.hdfs.tools.GetConf
谁能让我知道我在这里做错了什么?
答案 0 :(得分:0)
当我使用具有管理员权限的命令提示符格式化名称节点和启动服务时,上述问题被清除。