Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.22.0
    • Fix Version/s: 0.22.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      DatanodeJspHelper seems to expect the file path to be in the "path info" of the HttpRequest, rather than in a parameter. I see the following exception when visiting the URL http://localhost.localdomain:50075/browseBlock.jsp?blockId=5006108823351810567&blockSize=20&genstamp=1001&filename=%2Fuser%2Ftodd%2Fissue&datanodePort=50010&namenodeInfoPort=50070

      java.io.FileNotFoundException: File does not exist: /
      at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocationsInternal(FSNamesystem.java:834)
      ...
      at org.apache.hadoop.hdfs.server.datanode.DatanodeJspHelper.generateFileDetails(DatanodeJspHelper.java:258)
      at org.apache.hadoop.hdfs.server.datanode.browseBlock_jsp._jspService(browseBlock_jsp.java:79)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

      1. hdfs-1575-trunk.3.patch
        10 kB
        Todd Lipcon
      2. hdfs-1575-trunk.2.patch
        10 kB
        Aaron T. Myers
      3. hdfs-1575-trunk.1.patch
        9 kB
        Aaron T. Myers
      4. hdfs-1575-trunk.0.patch
        5 kB
        Aaron T. Myers
      5. hdfs-1575-22.0.patch
        10 kB
        Aaron T. Myers
      6. HDFS-1575
        1 kB
        Dmytro Molkov

        Issue Links

          Activity

          Todd Lipcon created issue -
          Jakob Homan made changes -
          Field Original Value New Value
          Link This issue is broken by HDFS-1109 [ HDFS-1109 ]
          Dmytro Molkov made changes -
          Attachment HDFS-1575 [ 12476499 ]
          Dmytro Molkov made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Eli Collins made changes -
          Assignee Dmytro Molkov [ dms ]
          Omer Trajman made changes -
          Link This issue blocks HDFS-1579 [ HDFS-1579 ]
          Aaron T. Myers made changes -
          Attachment hdfs-1575-trunk.0.patch [ 12479658 ]
          Aaron T. Myers made changes -
          Assignee Dmytro Molkov [ dms ] Aaron T. Myers [ atm ]
          Aaron T. Myers made changes -
          Attachment hdfs-1575-trunk.1.patch [ 12479703 ]
          Aaron T. Myers made changes -
          Attachment hdfs-1575-trunk.2.patch [ 12479722 ]
          Todd Lipcon made changes -
          Attachment hdfs-1575-trunk.3.patch [ 12479729 ]
          Aaron T. Myers made changes -
          Attachment hdfs-1575-22.0.patch [ 12479841 ]
          Aaron T. Myers made changes -
          Link This issue blocks HDFS-1964 [ HDFS-1964 ]
          Todd Lipcon made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Resolution Fixed [ 1 ]
          Eli Collins made changes -
          Link This issue is blocked by HDFS-1109 [ HDFS-1109 ]
          Konstantin Shvachko made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Gavin made changes -
          Link This issue blocks HDFS-1579 [ HDFS-1579 ]
          Gavin made changes -
          Link This issue is depended upon by HDFS-1579 [ HDFS-1579 ]
          Gavin made changes -
          Link This issue blocks HDFS-1964 [ HDFS-1964 ]
          Gavin made changes -
          Link This issue is depended upon by HDFS-1964 [ HDFS-1964 ]

            People

            • Assignee:
              Aaron T. Myers
              Reporter:
              Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development