You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Sumit Gupta (JIRA)" <ji...@apache.org> on 2014/09/03 03:27:51 UTC

[jira] [Updated] (KNOX-413) Yarn responses with TrackingUrl in the body not getting blanked out

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

Sumit Gupta updated KNOX-413:
-----------------------------
    Attachment: KNOX-413.patch

> Yarn responses with TrackingUrl in the body not getting blanked out
> -------------------------------------------------------------------
>
>                 Key: KNOX-413
>                 URL: https://issues.apache.org/jira/browse/KNOX-413
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 0.5.0
>            Reporter: Sumit Gupta
>         Attachments: KNOX-413.patch
>
>
> For example if issuing the following request (after atleast one yarn application has been submitted and run).
> curl -ikv -u guest:guest-password -X GET 'https://nn.example.com:8443/gateway/sandbox/resourcemanager/v1/cluster/apps'
> The details of app will have content like :
> "trackingUrl":"http://nn.example.com:8088/cluster/app/application_1409008107556_0007"
> The gateway log has the following related output, indicating failure running a rewrite rule:
> 2014-08-27 21:57:34,088 ERROR hadoop.gateway (UrlRewriteProcessor.java:rewrite(160)) - Failed to rewrite URL: http://nn.example.com:8088/cluster/app/application_1409008107556_0008, direction: OUT via rule: RESOURCEMANAGER/resourcemanager/trackingUrlHistory/outbound, status: FAILURE
> 2014-08-27 21:57:34,088 ERROR hadoop.gateway (JsonFilterReader.java:filterBufferedValue(532)) - Failed to filter value http://nn.example.com:8088/cluster/app/application_1409008107556_0008, rule RESOURCEMANAGER/resourcemanager/trackingUrlHistory/outbound: java.lang.NullPointerException



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