sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-2477) Sqoop2: Add protection for HTTP error 404 to precommit hook
Date Thu, 13 Aug 2015 20:51:46 GMT

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

ASF subversion and git services commented on SQOOP-2477:
--------------------------------------------------------

Commit 194a4dbaf3f5d915d78d8dd85804406659c6982b in sqoop's branch refs/heads/sqoop2 from [~abec]
[ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=194a4db ]

SQOOP-2477: Sqoop2: Add protection for HTTP error 404 to precommit hook

(Jarek Jarcec Cecho via Abraham Elmahrek)


> Sqoop2: Add protection for HTTP error 404 to precommit hook
> -----------------------------------------------------------
>
>                 Key: SQOOP-2477
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2477
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.99.6
>            Reporter: Jarek Jarcec Cecho
>            Assignee: Jarek Jarcec Cecho
>             Fix For: 1.99.7
>
>         Attachments: SQOOP-2477.patch
>
>
> {code}
> INFO: Executing mvn clean test site -Pprecommit 1>patch-process/test_unit.txt 2>&1
> Traceback (most recent call last):
>   File "./dev-support/test-patch.py", line 578, in <module>
>     cobertura_compare(result, output_dir, options.cobertura)
>   File "./dev-support/test-patch.py", line 347, in cobertura_compare
>     (compareLine, compareBranch) = cobertura_get_percentage(urllib2.urlopen("%s%s" %
(compare_url, path)))
>   File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
>     return _opener.open(url, data, timeout)
>   File "/usr/lib/python2.7/urllib2.py", line 410, in open
>     response = meth(req, response)
>   File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
>     'http', request, response, code, msg, hdrs)
>   File "/usr/lib/python2.7/urllib2.py", line 448, in error
>     return self._call_chain(*args)
>   File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
>     result = func(*args)
>   File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
>     raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
> urllib2.HTTPError: HTTP Error 404: Not Found
> {code}



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

Mime
View raw message