Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-413

Yarn responses with TrackingUrl in the body not getting blanked out

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.5.0
    • 0.5.0
    • Server
    • None

    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

      Attachments

        1. KNOX-413.patch
          6 kB
          Sumit Gupta

        Activity

          People

            sumit.gupta Sumit Gupta
            sumit.gupta Sumit Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: