[jira] [Commented] (YARN-4364) NPE in ATS v1 web service: AppInfo constructor

2015-11-17 Thread Sunil G (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-4364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15008652#comment-15008652
 ] 

Sunil G commented on YARN-4364:
---

I also verified 2.6 line,  there also line numbers are not matching. 

> NPE in ATS v1 web service: AppInfo  constructor
> ---
>
> Key: YARN-4364
> URL: https://issues.apache.org/jira/browse/YARN-4364
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: timelineserver
>Affects Versions: 2.7.1
>Reporter: Steve Loughran
>
> Seen during testing of SPARK-1537; an NPE in the timeline server during 
> {{AppInfo}} construction. Presumably an incomplete record passed in is the 
> cause.



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


[jira] [Commented] (YARN-4364) NPE in ATS v1 web service: AppInfo constructor

2015-11-17 Thread Steve Loughran (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-4364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15008573#comment-15008573
 ] 

Steve Loughran commented on YARN-4364:
--

Issued command
{code}
curl -i -k -s   -H 'Content-Type: application/json'  -H 'Accept: 
application/json'--negotiate -u : 
'http://ats1:8188/ws/v1/applicationhistory/apps'
{code}

Stack
{code}
java.lang.NullPointerException
at 
org.apache.hadoop.yarn.server.webapp.dao.AppInfo.(AppInfo.java:91)
at 
org.apache.hadoop.yarn.server.webapp.WebServices.getApps(WebServices.java:209)
at 
org.apache.hadoop.yarn.server.applicationhistoryservice.webapp.AHSWebServices.getApps(AHSWebServices.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at 
com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
at 
com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
at 
com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
at 
com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
at 
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at 
com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
at 
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at 
com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
at 
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
at 
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
at 
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
at 
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
at 
com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
at 
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
at 
com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:886)
at 
com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:834)
at 
com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:795)
at 
com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
at 
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
at 
com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
at 
org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter.doFilter(StaticUserWebFilter.java:96)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
at 
org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:595)
at 
org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter.doFilter(DelegationTokenAuthenticationFilter.java:277)
at 
org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:554)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
at 
org.apache.hadoop.http.HttpServer2$QuotingInputFilter.doFilter(HttpServer2.java:1243)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
at org.apache.hadoop.http.NoCacheFilter.doFilter(NoCacheFilter.java:45)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
at org.apache.hadoop.http.NoCacheFilter.doFilter(NoCacheFilter.java:45)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at 

[jira] [Commented] (YARN-4364) NPE in ATS v1 web service: AppInfo constructor

2015-11-17 Thread Varun Saxena (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-4364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15008599#comment-15008599
 ] 

Varun Saxena commented on YARN-4364:


Is this issue coming in branch-2.7.1 code or its some intermediate code ?
Because line numbers are not matching.
Is it related to YARN-3751 ?

> NPE in ATS v1 web service: AppInfo  constructor
> ---
>
> Key: YARN-4364
> URL: https://issues.apache.org/jira/browse/YARN-4364
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: timelineserver
>Affects Versions: 2.7.1
>Reporter: Steve Loughran
>
> Seen during testing of SPARK-1537; an NPE in the timeline server during 
> {{AppInfo}} construction. Presumably an incomplete record passed in is the 
> cause.



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


[jira] [Commented] (YARN-4364) NPE in ATS v1 web service: AppInfo constructor

2015-11-17 Thread Sunil G (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-4364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15008708#comment-15008708
 ] 

Sunil G commented on YARN-4364:
---

Yes. [~varun_saxena] That one looks same here. And its not part of 2.6 line of 
release I think.

> NPE in ATS v1 web service: AppInfo  constructor
> ---
>
> Key: YARN-4364
> URL: https://issues.apache.org/jira/browse/YARN-4364
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: timelineserver
>Affects Versions: 2.7.1
>Reporter: Steve Loughran
>
> Seen during testing of SPARK-1537; an NPE in the timeline server during 
> {{AppInfo}} construction. Presumably an incomplete record passed in is the 
> cause.



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


[jira] [Commented] (YARN-4364) NPE in ATS v1 web service: AppInfo constructor

2015-11-17 Thread Varun Saxena (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-4364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15008680#comment-15008680
 ] 

Varun Saxena commented on YARN-4364:


[~sunilg], I think this might be the same NPE which you fixed in YARN-3751. 
There also NPE was on line 91.

> NPE in ATS v1 web service: AppInfo  constructor
> ---
>
> Key: YARN-4364
> URL: https://issues.apache.org/jira/browse/YARN-4364
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: timelineserver
>Affects Versions: 2.7.1
>Reporter: Steve Loughran
>
> Seen during testing of SPARK-1537; an NPE in the timeline server during 
> {{AppInfo}} construction. Presumably an incomplete record passed in is the 
> cause.



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


[jira] [Commented] (YARN-4364) NPE in ATS v1 web service: AppInfo constructor

2015-11-17 Thread Steve Loughran (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-4364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15009025#comment-15009025
 ] 

Steve Loughran commented on YARN-4364:
--

I think its some patched version ... I didn't get match up either. Let me find 
out exactly what and make sure YARN-3571 is in

> NPE in ATS v1 web service: AppInfo  constructor
> ---
>
> Key: YARN-4364
> URL: https://issues.apache.org/jira/browse/YARN-4364
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: timelineserver
>Affects Versions: 2.7.1
>Reporter: Steve Loughran
>
> Seen during testing of SPARK-1537; an NPE in the timeline server during 
> {{AppInfo}} construction. Presumably an incomplete record passed in is the 
> cause.



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


[jira] [Commented] (YARN-4364) NPE in ATS v1 web service: AppInfo constructor

2015-11-17 Thread Steve Loughran (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-4364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15009023#comment-15009023
 ] 

Steve Loughran commented on YARN-4364:
--

thanks...guess I'll need to check out which version this surfaced on and verify 
the patch is in there

> NPE in ATS v1 web service: AppInfo  constructor
> ---
>
> Key: YARN-4364
> URL: https://issues.apache.org/jira/browse/YARN-4364
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: timelineserver
>Affects Versions: 2.7.1
>Reporter: Steve Loughran
>
> Seen during testing of SPARK-1537; an NPE in the timeline server during 
> {{AppInfo}} construction. Presumably an incomplete record passed in is the 
> cause.



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