我想开始使用titan数据库,并且已经按照http://oren.github.io/blog/titan.html的说明进行操作。但是,当我尝试在docker中启动titan时,出现以下错误:
/opt/titan-0.5.4-hadoop2/run.sh: 2: /opt/titan-0.5.4-hadoop2/run.sh: : not found
位于C:\ Users \ Modeso \ titan的run.sh文件,但是我找不到在docker中更改文件夹位置的方法。
有没有人遇到过这个问题或有解决方案?
最佳答案
我怀疑在这种情况下,“未找到”消息可能不是因为找不到文件,而是因为文件中使用了错误的行尾。如果shell脚本使用Windows的行尾,Linux会产生奇怪的错误,例如此错误。
您是否尝试过从GitHub存储库进行构建? https://github.com/apobbati/titan-rexster
您可以通过该存储库构建镜像;
docker build -t titan-rexter github.com/apobbati/titan-rexster
并运行它;
关于elasticsearch - 使用docker启动Titan数据库时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34809565/