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-2439) Sqoop2: NullPointerException when calling job status notification URL
Date Wed, 26 Aug 2015 23:33:46 GMT

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

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

Commit 37fec0abd64d3900c14c9b23dd355bd68f6cb5f5 in sqoop's branch refs/heads/sqoop2 from [~jarcec]
[ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=37fec0a ]

SQOOP-2439: Sqoop2: NullPointerException when calling job status notification URL

(Dian Fu via Jarek Jarcec Cecho)


> 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, SQOOP-2439.005.patch, SQOOP-2439.005.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)

Mime
View raw message