hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Loknath Priyatham Teja Singamsetty <lsingamse...@salesforce.com>
Subject Issue while accessing resource manager webapp rest service
Date Wed, 31 Aug 2016 09:45:58 GMT
Hi,

I am running E2E test in phoenix which makes rest call to get all the
submitted yarn map reduce jobs (
http://localhost:63996/ws/v1/cluster/apps?states=NEW,ACCEPTED,SUBMITTED,RUNNING)
which is failing with the following stack trace. Tried debugging but
couldn't reach to bottom of the issue.

Also I couldn't find the DelegationTokenAuthenticationHandler in the source
code. Any  clue where to find the same?

*Setup:*
Phoenix - 4.8.0
HBase - 1.20
Hadoop - 2.5.1

*Stack Trace:*
HTTP ERROR 500

Problem accessing /ws/v1/cluster/apps. Reason:

    org.apache.http.client.utils.URLEncodedUtils.parse(Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/util/List;

Caused by:

java.lang.NoSuchMethodError:
org.apache.http.client.utils.URLEncodedUtils.parse(Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/util/List;
	at org.apache.hadoop.security.token.delegation.web.ServletUtils.getParameter(ServletUtils.java:48)
	at org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationHandler.managementOperation(DelegationTokenAuthenticationHandler.java:171)
	at org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:514)
	at org.apache.hadoop.yarn.server.security.http.RMAuthenticationFilter.doFilter(RMAuthenticationFilter.java:82)
	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)



Thanks,
Teja.

Mime
View raw message