Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5949

New Namenode UI when trying to download a file, the browser doesn't know the file name

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3.0
    • 2.4.0
    • namenode
    • None
    • Reviewed

    Description

      When trying to download a file though the new Namenode UI FS Browser, the browser doesn't know the name of the file because of a trailing slash. For instance, this url is broken and Firefox picks a random name for:

      http://dn.example.com:70/webhdfs/v1/user/tthompso/test_examples/wordcount_in/core-site.xml/?op=OPEN&delegation=TOKEN&namenoderpcaddress=namenode.example.com:9000&offset=0
      

      But if you remove the trailing / on the file name, Firefox correctly picks up the name of the file:

      http://dn.example.com:70/webhdfs/v1/user/tthompso/test_examples/wordcount_in/core-site.xml?op=OPEN&delegation=TOKEN&namenoderpcaddress=namenode.example.com:9000&offset=0
      

      Attachments

        1. HDFS-5949-1.patch
          0.7 kB
          Travis Thompson

        Activity

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

          People

            tthompso Travis Thompson
            tthompso Travis Thompson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment