You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Xiaobing Zhou (JIRA)" <ji...@apache.org> on 2016/10/04 04:57:20 UTC

[jira] [Commented] (HBASE-16740) start-docker.sh fails to run by complaining bzip2 error

    [ https://issues.apache.org/jira/browse/HBASE-16740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15544351#comment-15544351 ] 

Xiaobing Zhou commented on HBASE-16740:
---------------------------------------

Instead of handling gest, I changed protobuf clone usage and switched to 2.7.0 version. In addition, 
{noformat}
mkdir gmock
{noformat} cheats protobuf autogen.sh by presenting an empty gmock dir.

I posted initial patch v000, this makes it quite easy to run docker based test env.

> start-docker.sh fails to run by complaining bzip2 error
> -------------------------------------------------------
>
>                 Key: HBASE-16740
>                 URL: https://issues.apache.org/jira/browse/HBASE-16740
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Xiaobing Zhou
>            Assignee: Xiaobing Zhou
>
> ./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
(v6.3.4#6332)