Description
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