Need experts help here.

On 31-Aug-2016, at 3:15 PM, Loknath Priyatham Teja Singamsetty <
[email protected]> wrote:

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.

Reply via email to