hadoop.docker.up.problems: Too many levels of symbolic links

Posted jf001

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了hadoop.docker.up.problems: Too many levels of symbolic links相关的知识,希望对你有一定的参考价值。

 

#[email protected]:~ 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
#[email protected]:~ ge /txt/hadoop.create
#[email protected]:~
技术分享图片

try : -v  instead of links

-v /win.d/data/dk/$name/data:/data

重建dk:

技术分享图片

依然错误,绕不过去.

docker 数据文件位置已经用了link了;docker 内部想继续进一层使用link,受限

-v 与在docker内部使用ln是一样的:-v的实现本来就是用的ln

 










以上是关于hadoop.docker.up.problems: Too many levels of symbolic links的主要内容,如果未能解决你的问题,请参考以下文章