You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Abraham Elmahrek (JIRA)" <ji...@apache.org> on 2015/08/13 22:50:47 UTC

[jira] [Commented] (SQOOP-2477) Sqoop2: Add protection for HTTP error 404 to precommit hook

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

Abraham Elmahrek commented on SQOOP-2477:
-----------------------------------------

Seems cool: +1.

> 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)