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

Don't encode Jobhistory URLs

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 0.9.0
    • 0.13.0
    • Server
    • None
    • Knox 0.9.0, Hadoop 2.7.2

    Description

      I think this problem is similar to KNOX-709. Going to the Jobhistory log page:
      https://hdp-node1:8443/gateway/hadoop-staging/jobhistory/joblogs/hdp-node2:45454/container_e696_1469407938027_0072_01_000011/attempt_1469407938027_0072_m_000009_0/hadoop

      16/07/26 10:21:37 ||f4b6aeec-289f-4f96-9a81-fcf6df6cf762|audit|JOBHISTORYUI|akulikov|||dispatch|uri|http://hdp-node1:19888/jobhistory/logs/hdp-node2%3A45454/container_e696_1469407938027_0072_01_000011/attempt_1469407938027_0072_m_000009_0/hadoop/?user.name=akulikov|unavailable|Request method: GET
      16/07/26 10:21:37 ||f4b6aeec-289f-4f96-9a81-fcf6df6cf762|audit|JOBHISTORYUI|akulikov|||dispatch|uri|http://hdp-node1:19888/jobhistory/logs/hdp-node2%3A45454/container_e696_1469407938027_0072_01_000011/attempt_1469407938027_0072_m_000009_0/hadoop/?user.name=akulikov|success|Response status: 200
      16/07/26 10:21:37 ||f4b6aeec-289f-4f96-9a81-fcf6df6cf762|audit|JOBHISTORYUI|akulikov|||access|uri|/gateway/hadoop-staging/jobhistory/joblogs/hdp-node2:45454/container_e696_1469407938027_0072_01_000011/attempt_1469407938027_0072_m_000009_0/hadoop|success|Response status: 200
      

      results in the error:

      Cannot get container logs. Invalid nodeId: hdp-node2%3A45454
      

      Jobhistory can't handle encoded paths.

      Knox 0.8.0 doesn't have this problem.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Wancy Shi Wang
            avk Arthur Klepchukov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment