我正在尝试Datatorrent沙箱,但是得到了这个错误.
HDFS尚未准备好,HDFS可能仍在启动,或者您的hadoop服务可能存在其他配置问题。
控制台每10秒检查一次这些服务状态的更改,但也可以手动触发刷新。
添加Env详细信息: 操作系统: Ubuntu 14.04 虚拟盒: virtualbox-5.0_5.0.18-106667 数据地租:数据地租-沙箱-3.2.0
发布于 2016-05-01 00:25:42
你有可能在Mac上吗?您能否尝试使用这样的脚本重新启动服务(此脚本只检查状态;可以用停止替换状态,也可以启动或重新启动):
#!/bin/bash
# script to check status of various Hadoop services
# NOTE: If machine was shutdown improperly, or if HDFS continues to show red
# not-ready status, some of these may not be running; just start them if needed with:
# sudo service <name> start
# where <name> is the name of the service you want to start
#
services="hadoop-hdfs-namenode hadoop-hdfs-datanode hadoop-yarn-resourcemanager \
hadoop-yarn-nodemanager dtdemos"
for s in $services; do
sudo service $s status
done
# gateway service
sudo service dtgateway status如果这也不起作用,请尝试使用以下命令迫使其退出安全模式:
hdfs dfsadmin -safemode leave
hdfs fsck -delete发布于 2016-04-29 13:18:07
HDFS将在启动后的几秒钟内处于安全模式。在这里阅读更多相关信息:http://hadoop.apache.org/docs/r2.4.1/hadoop-project-dist/hadoop-hdfs/HdfsUserGuide.html#Safemode
发布于 2016-05-02 10:00:09
您能检查dtgateway.log文件以获得更多的详细信息吗?文件通常位于/home/username/.dt/logs/dtgateway.log。
https://stackoverflow.com/questions/36937221
复制相似问题