环境配置:
VMware fusion中安装ubuntu-14.04.4-desktop-amd64
hadoop版本:2.6.5
单机模式安装伪分布配置后,执行 ./sbin/start-dfs.sh 不报错,但通过jps查看,没有SecondaryNameNode进程。
core-site.xml配置如下:
hadoop.tmp.dir
file:/user/local/hadoop/tmp
Abase for other temporary directories
fs.defaultFS
hdfs://localhost:9000
hdfs-site.xml配置如下:
dfs.replication
1
dfs.namenode.name.dir
file:/usr/local/hadoop/tmp/dfs/name
dfs.datanode.data.dir
file:/usr/local/hadoop/tmp/dfs/data
无论重启start-dfs.sh,还是重新格式化namenode,毫无作用,跪求大神高见~