hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-12340) test-patch docker mode fails in downloading findbugs with curl
Date Tue, 25 Aug 2015 16:13:46 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-12340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Allen Wittenauer updated HADOOP-12340:
--------------------------------------
       Resolution: Fixed
    Fix Version/s: HADOOP-12111
           Status: Resolved  (was: Patch Available)

+1 committing

Thanks!

> test-patch docker mode fails in downloading findbugs with curl
> --------------------------------------------------------------
>
>                 Key: HADOOP-12340
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12340
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: yetus
>    Affects Versions: HADOOP-12111
>            Reporter: Kengo Seki
>            Assignee: Kengo Seki
>             Fix For: HADOOP-12111
>
>         Attachments: HADOOP-12340.HADOOP-12111.00.patch
>
>
> HADOOP-12129 replaced wget commands in test-patch with curl. But curl doesn't follow
URL redirection by default, so docker mode fails in downloading findbugs for now:
> {code}
> $ dev-support/test-patch.sh --docker --project=hadoop /tmp/test.patch
> (snip)
> Step 11 : RUN mkdir -p /opt/findbugs &&     curl https://sourceforge.net/projects/findbugs/files/findbugs/3.0.1/findbugs-noUpdateChecks-3.0.1.tar.gz/download
         -o /opt/findbugs.tar.gz &&     tar xzf /opt/findbugs.tar.gz --strip-components
1 -C /opt/findbugs
>  ---> Running in 31c71013bb59
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                  Dload  Upload   Total   Spent    Left  Speed
> 100   397  100   397    0     0    168      0  0:00:02  0:00:02 --:--:--   168
> gzip: stdin: not in gzip format
> tar: Child returned status 1
> tar: Error is not recoverable: exiting now
> The command '/bin/sh -c mkdir -p /opt/findbugs &&     curl https://sourceforge.net/projects/findbugs/files/findbugs/3.0.1/findbugs-noUpdateChecks-3.0.1.tar.gz/download
         -o /opt/findbugs.tar.gz &&     tar xzf /opt/findbugs.tar.gz --strip-components
1 -C /opt/findbugs' returned a non-zero code: 2
> {code}
> Adding -L option will resolve this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message