You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Loknath Priyatham Teja Singamsetty (JIRA)" <ji...@apache.org> on 2016/09/15 19:03:20 UTC

[jira] [Resolved] (YARN-5640) Issue while accessing resource manager webapp rest service

     [ https://issues.apache.org/jira/browse/YARN-5640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Loknath Priyatham Teja Singamsetty  resolved YARN-5640.
-------------------------------------------------------
    Resolution: Not A Bug

> Issue while accessing resource manager webapp rest service
> ----------------------------------------------------------
>
>                 Key: YARN-5640
>                 URL: https://issues.apache.org/jira/browse/YARN-5640
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.5.1
>            Reporter: Loknath Priyatham Teja Singamsetty 
>
> I am running E2E test in phoenix which starts the minimapreduce cluster using MapreduceTestingShim.java from HBaseTestingUtiltiy of hbase codebase and 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)



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

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