hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravi Teja Ch N V (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-6214) NullPointer Exception while querying timeline server API
Date Wed, 22 Feb 2017 06:40:44 GMT
Ravi Teja Ch N V created YARN-6214:
--------------------------------------

             Summary: NullPointer Exception while querying timeline server API
                 Key: YARN-6214
                 URL: https://issues.apache.org/jira/browse/YARN-6214
             Project: Hadoop YARN
          Issue Type: Bug
          Components: timelineserver
    Affects Versions: 2.7.1
            Reporter: Ravi Teja Ch N V


The apps API works fine and give all applications, including Mapreduce and Tez
http://<host>:8188/ws/v1/applicationhistory/apps

But when queried with application types with these APIs, it fails with NullpointerException.
http://<host>:8188/ws/v1/applicationhistory/apps?applicationTypes=TEZ
http://<host>:8188/ws/v1/applicationhistory/apps?applicationTypes=MAPREDUCE

<RemoteException><exception>NullPointerException</exception><javaClassName>java.lang.NullPointerException</javaClassName></RemoteException>

Blocked on this issue as we are not able to run analytics on the tez job counters on the prod
jobs. 


Timeline Logs:
|2017-02-22 11:47:57,183 WARN  webapp.GenericExceptionHandler (GenericExceptionHandler.java:toResponse(98))
- INTERNAL_SERVER_ERROR
java.lang.NullPointerException
	at org.apache.hadoop.yarn.server.webapp.WebServices.getApps(WebServices.java:195)
	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:483)
	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)


Complete stacktrace:
http://pastebin.com/bRgxVabf




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org


Mime
View raw message