#root@c7hp:~ excp c78 "zkServer.sh start"
[1] 11:49:44 [FAILURE] c78 Exited with error code 1
Starting zookeeper ... FAILED TO WRITE PID
Stderr: ZooKeeper JMX enabled by default
Using config: /opt/zookeeper-3.4.12/bin/../conf/zoo.cfg
mkdir: cannot create directory '/data': Too many levels of symbolic links
/opt/zookeeper-3.4.12/bin/zkServer.sh: line 149: /data/zookeeper-3.4.12/tmp/zookeeper_server.pid: Too many levels of symbolic links
#root@c7hp:~ ge /txt/hadoop.create
#root@c7hp:~
try : -v instead of links
-v /win.d/data/dk/$name/data:/data
重建dk:
依然错误,绕不过去.
docker 数据文件位置已经用了link了;docker 内部想继续进一层使用link,受限
-v 与在docker内部使用ln是一样的:-v的实现本来就是用的ln