install-gremlin-server.sh生成titan-1.0.0-hadoop1.zip,无法解压缩

时间:2016-01-09 05:05:50

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

我正在为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文件具有不同的名称,并且无法解压缩

1 个答案:

答案 0 :(得分:0)

在.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}