Loknath Priyatham Teja Singamsetty  created YARN-5640:
---------------------------------------------------------

             Summary: 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to