hadoop Could not obtain block 打不开上传文件
前段时间在单机redhat上配置好了hadoop环境,今天运行wordcount例子时出现了无法获取in目录中到文件问题,不知道是否是权限问题,错误原因如下
[hadoop@lee hadoop-1.0.4]$ bin/ hadoop jar hadoop-examples-1.0.4.jar wordcount in out
13/05/08 22:31:26 INFO input.FileInputFormat: Total input paths to process : 2
13/05/08 22:31:26 INFO util.NativeCodeLoader: Loaded the native-hadoop library
解决办法:在eclipse连接HADOOP时,在DFS目录下打不开各种文件,其实是HADOOP进入了安全模式导致,
运行:bin/hadoop dfsadmin -safemode leave
就解决了
相关推荐
changjiang 2020-11-16
minerd 2020-10-28
WeiHHH 2020-09-23
Aleks 2020-08-19
WeiHHH 2020-08-17
飞鸿踏雪0 2020-07-26
tomli 2020-07-26
deyu 2020-07-21
strongyoung 2020-07-19
eternityzzy 2020-07-19
Elmo 2020-07-19
飞鸿踏雪0 2020-07-09
飞鸿踏雪0 2020-07-04
xieting 2020-07-04
WeiHHH 2020-06-28
genshengxiao 2020-06-26
Hhanwen 2020-06-25