guanyun created HBASE-23440:
-------------------------------
Summary: CLONE - start-docker.sh fails to run by complaining bzip2
error
Key: HBASE-23440
URL: https://issues.apache.org/jira/browse/HBASE-23440
Project: HBase
Issue Type: Sub-task
Reporter: guanyun
Assignee: Xiaobing Zhou
Fix For: HBASE-14850
Attachments: HBASE-16740-HBASE-14850.000.patch
./bin/start-docker.sh fails to run correctly by prompting
{noformat}
Google Test not present. Fetching gtest-1.5.0 from the web...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1586 100 1586 0 0 7821 0 --:--:-- --:--:-- --:--:-- 7851
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error is not recoverable: exiting now
{noformat}
It turns out protobuf autogen.sh tries to download gtest but fail with
incorrect url
{noformat}
if test ! -e gtest; then
echo "Google Test not present. Fetching gtest-1.5.0 from the web..."
curl http://googletest.googlecode.com/files/gtest-1.5.0.tar.bz2 | tar jx
mv gtest-1.5.0 gtest
fi
{noformat}
This needs to be fixed to have docker-based build infra work smoothly.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)