[ https://issues.apache.org/jira/browse/SQOOP-2439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14694983#comment-14694983 ]
Sqoop QA bot commented on SQOOP-2439: ------------------------------------- Testing file [SQOOP-2439.004.patch|https://issues.apache.org/jira/secure/attachment/12750251/SQOOP-2439.004.patch] against branch sqoop2 took 0:19:15.969071. {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:red}ERROR:{color} Some of unit tests failed ([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/1540/artifact/patch-process/test_unit.txt], executed 1360 tests) {color:green}SUCCESS:{color} Test coverage did not decreased ([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/1540/artifact/patch-process/cobertura_report.txt]) {color:red}ERROR:{color} Some of integration tests failed ([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/1540/artifact/patch-process/test_integration.txt], executed 159 tests) * Test {{org.apache.sqoop.integration.server.VersionTest}} * Test {{org.apache.sqoop.integration.connector.kafka.FromRDBMSToKafkaTest}} * Test {{org.apache.sqoop.integration.connector.hive.FromRDBMSToKiteHiveTest}} * Test {{org.apache.sqoop.integration.connector.kafka.FromHDFSToKafkaTest}} * Test {{org.apache.sqoop.integration.connector.hdfs.AppendModeTest}} * Test {{org.apache.sqoop.integration.connector.jdbc.generic.IncrementalReadTest}} * Test {{org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest}} * Test {{org.apache.sqoop.integration.connector.jdbc.generic.TableStagedRDBMSTest}} * Test {{org.apache.sqoop.integration.connector.jdbc.generic.FromRDBMSToHDFSTest}} * Test {{integration-tests}} * Test {{org.apache.sqoop.integration.connector.jdbc.generic.AllTypesTest}} * Test {{org.apache.sqoop.integration.connector.jdbc.generic.FromHDFSToRDBMSTest}} * Test {{org.apache.sqoop.integration.server.ShowJobInOrderTest}} * Test {{org.apache.sqoop.integration.server.SubmissionWithDisabledModelObjectsTest}} * Test {{org.apache.sqoop.integration.connector.kite.FromRDBMSToKiteTest}} * Test {{org.apache.sqoop.integration.connector.hdfs.OutputDirectoryTest}} Console output is available [here|https://builds.apache.org/job/PreCommit-SQOOP-Build/1540/console]. This message is automatically generated. > Sqoop2: NullPointerException when calling job status notification URL > --------------------------------------------------------------------- > > Key: SQOOP-2439 > URL: https://issues.apache.org/jira/browse/SQOOP-2439 > Project: Sqoop > Issue Type: Bug > Reporter: Jarek Jarcec Cecho > Assignee: Dian Fu > Priority: Blocker > Fix For: 1.99.7 > > Attachments: SQOOP-2439.001.patch, SQOOP-2439.002.patch, > SQOOP-2439.003.patch, SQOOP-2439.004.patch > > > While working on SQOOP-2244, I've noticed {{NullPointerException}} in the > code unrelated to my changes: > {code} > 2015-07-28 18:48:48,264 ERROR server.SqoopProtocolServlet > [org.apache.sqoop.server.SqoopProtocolServlet.doGet(SqoopProtocolServlet.java:53)] > Exception in GET http://localhost:56826/sqoop//v1/job/status/notification/1 > java.lang.NullPointerException > at > org.apache.sqoop.security.authorization.AuthorizationEngine.checkPrivilege(AuthorizationEngine.java:185) > at > org.apache.sqoop.security.authorization.AuthorizationEngine.readJob(AuthorizationEngine.java:99) > at > org.apache.sqoop.handler.JobRequestHandler.getJobs(JobRequestHandler.java:312) > at > org.apache.sqoop.handler.JobRequestHandler.handleEvent(JobRequestHandler.java:104) > at org.apache.sqoop.server.v1.JobServlet.handleGetRequest(JobServlet.java:86) > at > org.apache.sqoop.server.SqoopProtocolServlet.doGet(SqoopProtocolServlet.java:48) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:723) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:572) > at > org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter.doFilter(DelegationTokenAuthenticationFilter.java:269 > at > org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:542) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) > at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) > at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861) > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606) > at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) > at java.lang.Thread.run(Thread.java:745) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)