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

Parent directory in the explorer does not support all path formats

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • ui
    • None
    • Reviewed

    Description

      In HDFS-15239, a new button can click to parent folder is add. However, if the path is not formatted perfectly, it will not get the real parent.

      Path like follows are supported to get the file list in explorer.html, but they do not get the correct parent:

      /a/b/c/ parent will get  /a/b/c now which should be /a/b

      /a/b//c parent's parent will get /a/b now which should be /a

       

      Otherwise, if current path is / or // or ///..... The parent button should be unabled as it has no parent.

      Attachments

        1. HDFS-15277_001.patch
          2 kB
          Jianfei Jiang

        Issue Links

          Activity

            People

              jiangjianfei Jianfei Jiang
              jiangjianfei Jianfei Jiang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: