sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sqoop QA bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-3250) NPEs in SqoopClient
Date Wed, 01 Nov 2017 14:15:05 GMT

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

Sqoop QA bot commented on SQOOP-3250:
-------------------------------------

Testing file [SQOOP-3250.patch|https://issues.apache.org/jira/secure/attachment/12895186/SQOOP-3250.patch]
against branch sqoop2 took 1:13:51.598309.

{color:red}Overall:{color} -1 due to an error(s), see details below:

{color:green}SUCCESS:{color} Clean was successful
{color:green}SUCCESS:{color} Patch applied correctly
{color:red}ERROR:{color} Patch does not add/modify any test case
{color:green}SUCCESS:{color} License check passed
{color:green}SUCCESS:{color} Patch compiled
{color:green}SUCCESS:{color} All unit tests passed (executed 1770 tests)
{color:green}SUCCESS:{color} Test coverage did not decreased ([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/2584/artifact/patch-process/cobertura_report.txt])
{color:green}SUCCESS:{color} No new findbugs warnings ([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/2584/artifact/patch-process/findbugs_report.txt])
{color:red}ERROR:{color} Some of integration tests failed ([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/2584/artifact/patch-process/test_integration.txt],
executed 81 tests)
* Test {{integration-tests}}
* Test {{org.apache.sqoop.integration.connector.hdfs.OutputDirectoryTest}}
* Test {{org.apache.sqoop.integration.connector.hdfs.S3Test}}



Console output is available [here|https://builds.apache.org/job/PreCommit-SQOOP-Build/2584/console].

This message is automatically generated.

> NPEs in SqoopClient
> -------------------
>
>                 Key: SQOOP-3250
>                 URL: https://issues.apache.org/jira/browse/SQOOP-3250
>             Project: Sqoop
>          Issue Type: Bug
>          Components: sqoop2-client
>    Affects Versions: 1.99.7
>            Reporter: Colm O hEigeartaigh
>            Priority: Major
>             Fix For: 1.99.8
>
>         Attachments: SQOOP-3250.patch
>
>
> There are a bunch of potential NPEs in SqoopClient, caused by returning .get(0) on a
list which could potentially be empty. 
> In particular, there is a problem with reading a Job, if the caller does not have the
permission to read the given Job. Previous Sqoop versions returned an exception, but 1.99.7
returns an empty list, leading to a NPE.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message