[jira] [Updated] (KNOX-1212) Support new YARN webui2 in knox

2018-03-18 Thread Sunil G (JIRA)

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

Sunil G updated KNOX-1212:
--
Status: Patch Available  (was: Open)

> Support new YARN webui2 in knox
> ---
>
> Key: KNOX-1212
> URL: https://issues.apache.org/jira/browse/KNOX-1212
> Project: Apache Knox
>  Issue Type: Bug
>Reporter: Sunil G
>Priority: Major
> Attachments: KNOX-1212.001.patch
>
>
> YARN-3368 introduced new js based YARN ui framework.
> To access this UI behind knox proxy, introducing a new service named 
> "yarnuiv2" and attaching rewrite rules for same.
> [~lmc...@apache.org] Could u pls help to review this. cc/[~leftnoteasy] 
> [~vinodkv]
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (KNOX-1212) Support new YARN webui2 in knox

2018-03-18 Thread Sunil G (JIRA)
Sunil G created KNOX-1212:
-

 Summary: Support new YARN webui2 in knox
 Key: KNOX-1212
 URL: https://issues.apache.org/jira/browse/KNOX-1212
 Project: Apache Knox
  Issue Type: Bug
Reporter: Sunil G


YARN-3368 introduced new js based YARN ui framework.

To access this UI behind knox proxy, introducing a new service named "yarnuiv2" 
and attaching rewrite rules for same.

[~lmc...@apache.org] Could u pls help to review this. cc/[~leftnoteasy] 
[~vinodkv]

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (KNOX-1212) Support new YARN webui2 in knox

2018-03-18 Thread Sunil G (JIRA)

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

Sunil G updated KNOX-1212:
--
Attachment: KNOX-1212.001.patch

> Support new YARN webui2 in knox
> ---
>
> Key: KNOX-1212
> URL: https://issues.apache.org/jira/browse/KNOX-1212
> Project: Apache Knox
>  Issue Type: Bug
>Reporter: Sunil G
>Priority: Major
> Attachments: KNOX-1212.001.patch
>
>
> YARN-3368 introduced new js based YARN ui framework.
> To access this UI behind knox proxy, introducing a new service named 
> "yarnuiv2" and attaching rewrite rules for same.
> [~lmc...@apache.org] Could u pls help to review this. cc/[~leftnoteasy] 
> [~vinodkv]
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (KNOX-1213) [1.0.0] NodeManager UI service is not working

2018-03-18 Thread Manoj Kumar (JIRA)
Manoj Kumar created KNOX-1213:
-

 Summary: [1.0.0] NodeManager UI service is  not working
 Key: KNOX-1213
 URL: https://issues.apache.org/jira/browse/KNOX-1213
 Project: Apache Knox
  Issue Type: Bug
  Components: Release
Affects Versions: 1.0.0
 Environment: Ubuntu 16.04 on VM box over NAT network 
Reporter: Manoj Kumar


Getting error on knox
{noformat}
http://hdata:8443/gateway/nui/node

HTTP ERROR 500
Problem accessing /gateway/nui/node. Reason:

Server Error
Powered by Jetty://{noformat}
 

*Error*
{noformat}

2018-03-19 01:28:55,354 WARN knox.gateway 
(DefaultDispatch.java:executeOutboundRequest(147)) - Connection exception 
dispatching request: http://hdata:8443/gateway/nui/node 
java.net.SocketTimeoutException: Read timed out
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at org.apache.http.impl.conn.LoggingInputStream.read(LoggingInputStream.java:84)
at 
org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137)
at 
org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153)
at 
org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:282)
at 
org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138)
at 
org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)
at 
org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)
at 
org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163)
at 
org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:165)
at 
org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273)
at 
org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
at 
org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111)
at 
org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
at 
org.apache.knox.gateway.dispatch.DefaultDispatch.executeOutboundRequest(DefaultDispatch.java:130)
at 
org.apache.knox.gateway.dispatch.DefaultDispatch.executeRequest(DefaultDispatch.java:116)
at 
org.apache.knox.gateway.dispatch.DefaultDispatch.doGet(DefaultDispatch.java:278)
at 
org.apache.knox.gateway.dispatch.GatewayDispatchFilter$GetAdapter.doMethod(GatewayDispatchFilter.java:122)
at 
org.apache.knox.gateway.dispatch.GatewayDispatchFilter.doFilter(GatewayDispatchFilter.java:105)
at 
org.apache.knox.gateway.filter.AbstractGatewayFilter.doFilter(AbstractGatewayFilter.java:61)
at org.apache.knox.gateway.GatewayFilter$Holder.doFilter(GatewayFilter.java:377)
at org.apache.knox.gateway.GatewayFilter$Chain.doFilter(GatewayFilter.java:277)
at 
org.apache.knox.gateway.filter.rewrite.api.UrlRewriteServletFilter.doFilter(UrlRewriteServletFilter.java:60)
at 
org.apache.knox.gateway.filter.AbstractGatewayFilter.doFilter(AbstractGatewayFilter.java:61)
at org.apache.knox.gateway.GatewayFilter$Holder.doFilter(GatewayFilter.java:377)
at org.apache.knox.gateway.GatewayFilter$Chain.doFilter(GatewayFilter.java:277)
at 
org.apache.knox.gateway.filter.AnonymousAuthFilter$1.run(AnonymousAuthFilter.java:76)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at 
org.apache.knox.gateway.filter.AnonymousAuthFilter.continueWithEstablishedSecurityContext(AnonymousAuthFilter.java:71)
at 
org.apache.knox.gateway.filter.AnonymousAuthFilter.doFilter(AnonymousAuthFilter.java:66)
at org.apache.knox.gateway.GatewayFilter$Holder.doFilter(GatewayFilter.java:377)
at org.apache.knox.gateway.GatewayFilter$Chain.doFilter(GatewayFilter.java:277)
at 
org.apache.knox.gateway.filter.XForwardedHeaderFilter.doFilter(XForwardedHeaderFilter.java:30)
at 
org.apache.knox.gateway.filter.AbstractGatewayFilter.doFilter(AbstractGatewayFilter.java:61)
at org.apache.knox.gateway.GatewayFilter$Holder.doFilter(GatewayFilter.java:377)
at org.apache.knox.gateway.GatewayFilter$Chain.doFilter(GatewayFilter.java:277)
at