【问题标题】:install-gremlin-server.sh generates titan-1.0.0-hadoop1.zip which can not be unzippedinstall-gremlin-server.sh 生成无法解压的titan-1.0.0-hadoop1.zip
【发布时间】:2016-04-13 21:28:03
【问题描述】:

我正在为 Titan 安装和运行 DynamoDB 存储后端。按照Installing and Running DynamoDB for Titan的说明进行操作

第五步要求我使用安装 gremlin 服务器

src/test/resources/install-gremlin-server.sh

我做到了,但服务器文件夹下生成的文件是 titan-1.0.0-hadoop1.zip。哪个解压不了。它给出了错误

Archive:  titan-1.0.0-hadoop1.zip
End-of-central-directory signature not found.  Either this file is not
 a zipfile, or it constitutes one disk of a multi-part archive.  In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
 unzip:  cannot find zipfile directory in one of titan-1.0.0-hadoop1.zip     or
    titan-1.0.0-hadoop1.zip.zip, and cannot find titan-1.0.0-hadoop1.zip.ZIP, period.

另外指令6说去目录

cd server/dynamodb-titan100-storage-backend-1.0.0-hadoop1

没有生成这样的目录。它唯一生成的 zip 文件具有不同的名称,并且不会被解压缩

【问题讨论】:

    标签: amazon-web-services amazon-dynamodb titan tinkerpop3


    【解决方案1】:

    在 .sh 文件中,有一个 curl 调用在我的(也许是你的)linux 机器上不起作用 解决方案是使用 wget 代替 curl。

    替换

    curl -s -O http://s3.thinkaurelius.com/downloads/titan/${TITAN_VANILLA_SERVER_ZIP}

    wget http://s3.thinkaurelius.com/downloads/titan/${TITAN_VANILLA_SERVER_ZIP}

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-12-02
      • 1970-01-01
      • 1970-01-01
      • 2023-01-25
      • 2011-11-30
      • 2013-06-03
      相关资源
      最近更新 更多