Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.20.205.0, 0.23.0
    • Fix Version/s: 0.20.205.0, 0.23.0, 0.24.0
    • Component/s: webhdfs
    • Labels:
      None
    1. HDFS-2404.txt
      6 kB
      Suresh Srinivas
    2. HDFS-2404.txt
      8 kB
      Suresh Srinivas
    3. HDFS-2404.txt
      8 kB
      Suresh Srinivas
    4. HDFS-2404.20.txt
      7 kB
      Suresh Srinivas

      Activity

      Hide
      Hudson added a comment -

      Integrated in Hadoop-Mapreduce-0.23-Build #64 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/64/)
      svn merge -c 1180757 from trunk for HDFS-2404.

      szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189480
      Files :

      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java
      Show
      Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Build #64 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/64/ ) svn merge -c 1180757 from trunk for HDFS-2404 . szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189480 Files : /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Hdfs-0.23-Build #52 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/52/)
      svn merge -c 1180757 from trunk for HDFS-2404.

      szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189480
      Files :

      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java
      Show
      Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Build #52 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/52/ ) svn merge -c 1180757 from trunk for HDFS-2404 . szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189480 Files : /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Mapreduce-0.23-Commit #60 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/60/)
      svn merge -c 1180757 from trunk for HDFS-2404.

      szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189480
      Files :

      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java
      Show
      Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Commit #60 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/60/ ) svn merge -c 1180757 from trunk for HDFS-2404 . szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189480 Files : /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Common-0.23-Commit #63 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/63/)
      svn merge -c 1180757 from trunk for HDFS-2404.

      szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189480
      Files :

      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java
      Show
      Hudson added a comment - Integrated in Hadoop-Common-0.23-Commit #63 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/63/ ) svn merge -c 1180757 from trunk for HDFS-2404 . szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189480 Files : /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Hdfs-0.23-Commit #64 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/64/)
      svn merge -c 1180757 from trunk for HDFS-2404.

      szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189480
      Files :

      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java
      Show
      Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Commit #64 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/64/ ) svn merge -c 1180757 from trunk for HDFS-2404 . szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189480 Files : /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java
      Hide
      Tsz Wo Nicholas Sze added a comment -

      Merged to 0.23.

      Show
      Tsz Wo Nicholas Sze added a comment - Merged to 0.23.
      Hide
      Matt Foley added a comment -

      Closed upon release of 0.20.205.0

      Show
      Matt Foley added a comment - Closed upon release of 0.20.205.0
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Mapreduce-trunk #856 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/856/)
      HDFS-2404. webhdfs liststatus json response is not correct. Contributed by Suresh Srinivas.

      suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1180757
      Files :

      • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
      • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
      • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java
      • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
      • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java
      Show
      Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #856 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/856/ ) HDFS-2404 . webhdfs liststatus json response is not correct. Contributed by Suresh Srinivas. suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1180757 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Hdfs-trunk #826 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/826/)
      HDFS-2404. webhdfs liststatus json response is not correct. Contributed by Suresh Srinivas.

      suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1180757
      Files :

      • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
      • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
      • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java
      • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
      • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java
      Show
      Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #826 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/826/ ) HDFS-2404 . webhdfs liststatus json response is not correct. Contributed by Suresh Srinivas. suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1180757 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Mapreduce-trunk-Commit #1067 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1067/)
      HDFS-2404. webhdfs liststatus json response is not correct. Contributed by Suresh Srinivas.

      suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1180757
      Files :

      • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
      • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
      • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java
      • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
      • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java
      Show
      Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #1067 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1067/ ) HDFS-2404 . webhdfs liststatus json response is not correct. Contributed by Suresh Srinivas. suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1180757 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Hdfs-trunk-Commit #1125 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1125/)
      HDFS-2404. webhdfs liststatus json response is not correct. Contributed by Suresh Srinivas.

      suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1180757
      Files :

      • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
      • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
      • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java
      • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
      • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java
      Show
      Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #1125 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1125/ ) HDFS-2404 . webhdfs liststatus json response is not correct. Contributed by Suresh Srinivas. suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1180757 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Common-trunk-Commit #1047 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1047/)
      HDFS-2404. webhdfs liststatus json response is not correct. Contributed by Suresh Srinivas.

      suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1180757
      Files :

      • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
      • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
      • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java
      • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
      • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java
      Show
      Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #1047 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1047/ ) HDFS-2404 . webhdfs liststatus json response is not correct. Contributed by Suresh Srinivas. suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1180757 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java
      Hide
      Suresh Srinivas added a comment -

      I committed the patch to trunk.

      Show
      Suresh Srinivas added a comment - I committed the patch to trunk.
      Hide
      Tsz Wo Nicholas Sze added a comment -

      +1 the trunk patch looks good.

      Show
      Tsz Wo Nicholas Sze added a comment - +1 the trunk patch looks good.
      Hide
      Hadoop QA added a comment -

      +1 overall. Here are the results of testing the latest attachment
      http://issues.apache.org/jira/secure/attachment/12498085/HDFS-2404.txt
      against trunk revision .

      +1 @author. The patch does not contain any @author tags.

      +1 tests included. The patch appears to include 3 new or modified tests.

      +1 javadoc. The javadoc tool did not generate any warning messages.

      +1 javac. The applied patch does not increase the total number of javac compiler warnings.

      +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.

      +1 release audit. The applied patch does not increase the total number of release audit warnings.

      +1 core tests. The patch passed unit tests in .

      +1 contrib tests. The patch passed contrib unit tests.

      Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/1349//testReport/
      Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/1349//console

      This message is automatically generated.

      Show
      Hadoop QA added a comment - +1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12498085/HDFS-2404.txt against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed unit tests in . +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/1349//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/1349//console This message is automatically generated.
      Hide
      Suresh Srinivas added a comment -

      Updated patch.

      Show
      Suresh Srinivas added a comment - Updated patch.
      Hide
      Suresh Srinivas added a comment -

      Nicholas thanks for catching that.

      Show
      Suresh Srinivas added a comment - Nicholas thanks for catching that.
      Hide
      Hadoop QA added a comment -

      -1 overall. Here are the results of testing the latest attachment
      http://issues.apache.org/jira/secure/attachment/12498049/HDFS-2404.txt
      against trunk revision .

      +1 @author. The patch does not contain any @author tags.

      +1 tests included. The patch appears to include 3 new or modified tests.

      +1 javadoc. The javadoc tool did not generate any warning messages.

      +1 javac. The applied patch does not increase the total number of javac compiler warnings.

      +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.

      +1 release audit. The applied patch does not increase the total number of release audit warnings.

      -1 core tests. The patch failed these unit tests:
      org.apache.hadoop.hdfs.web.TestWebHdfsFileSystemContract
      org.apache.hadoop.hdfs.web.TestFSMainOperationsWebHdfs

      +1 contrib tests. The patch passed contrib unit tests.

      Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/1345//testReport/
      Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/1345//console

      This message is automatically generated.

      Show
      Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12498049/HDFS-2404.txt against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. -1 core tests. The patch failed these unit tests: org.apache.hadoop.hdfs.web.TestWebHdfsFileSystemContract org.apache.hadoop.hdfs.web.TestFSMainOperationsWebHdfs +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/1345//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/1345//console This message is automatically generated.
      Hide
      Tsz Wo Nicholas Sze added a comment -

      The new trunk patch does not have the following in WebHdfsFileSystem.java

      -        HdfsFileStatus[].class.getSimpleName());
      +        HdfsFileStatus.class.getSimpleName());
      
      Show
      Tsz Wo Nicholas Sze added a comment - The new trunk patch does not have the following in WebHdfsFileSystem.java - HdfsFileStatus[].class.getSimpleName()); + HdfsFileStatus.class.getSimpleName());
      Hide
      Suresh Srinivas added a comment -

      Updated patch for trunk.

      Show
      Suresh Srinivas added a comment - Updated patch for trunk.
      Hide
      Matt Foley added a comment -

      Reopened for trunk fix.

      Show
      Matt Foley added a comment - Reopened for trunk fix.
      Hide
      Matt Foley added a comment -

      Committed to 0.20-sec and 0.20.205. Thanks Suresh! And thanks, Nicholas, for the review.

      Show
      Matt Foley added a comment - Committed to 0.20-sec and 0.20.205. Thanks Suresh! And thanks, Nicholas, for the review.
      Hide
      Tsz Wo Nicholas Sze added a comment -

      +1 for the 0.20s patch.

      Show
      Tsz Wo Nicholas Sze added a comment - +1 for the 0.20s patch.
      Hide
      Tsz Wo Nicholas Sze added a comment -

      The patch for trunk (HDFS-2404.txt) does not contain the WebHdfsFileSystem changes.

      Show
      Tsz Wo Nicholas Sze added a comment - The patch for trunk ( HDFS-2404 .txt) does not contain the WebHdfsFileSystem changes.
      Hide
      Suresh Srinivas added a comment -

      Nicholas, I have not problem compiling. Which patch does not compile?

      Show
      Suresh Srinivas added a comment - Nicholas, I have not problem compiling. Which patch does not compile?
      Hide
      Tsz Wo Nicholas Sze added a comment -

      Hi Suresh, please also update WebHdfsFileSystem. Otherwise, it cannot be compiled.

      Show
      Tsz Wo Nicholas Sze added a comment - Hi Suresh, please also update WebHdfsFileSystem. Otherwise, it cannot be compiled.
      Hide
      Suresh Srinivas added a comment -

      20 version of the patch.

      Show
      Suresh Srinivas added a comment - 20 version of the patch.
      Hide
      Suresh Srinivas added a comment -

      Attachment that removes the HDFSFileStatus for array elements.

      Show
      Suresh Srinivas added a comment - Attachment that removes the HDFSFileStatus for array elements.
      Hide
      Arpit Gupta added a comment -

      curl -i "http://HOST:50070/webhdfs/?op=LISTSTATUS"

      returns

      {"HdfsFileStatus[]":[
      {"HdfsFileStatus":{"accessTime":0,"blockSize":0,"group":"hadoop","isDir":true,"len":0,"localName":"hbase","modificationTime":1317832608532,"owner":"hrt_hdfs","permission":"700","replication":0}},
      {"HdfsFileStatus":{"accessTime":0,"blockSize":0,"group":"hadoop","isDir":true,"len":0,"localName":"mapred","modificationTime":1317832616195,"owner":"mapred","permission":"755","replication":0}},
      

      This when converted to xml is something like

      <?xml version="1.0" encoding="UTF-8" ?>
      	<HdfsFileStatus[]>
      		<HdfsFileStatus>
      			<accessTime>0</accessTime>
      			<blockSize>0</blockSize>
      			<group>hadoop</group>
      			<isDir>true</isDir>
      			<len>0</len>
      			<localName>hbase</localName>
      			<modificationTime>1317832608532</modificationTime>
      			<owner>hrt_hdfs</owner>
      			<permission>700</permission>
      			<replication>0</replication>
      		</HdfsFileStatus>
      	</HdfsFileStatus[]>
      	<HdfsFileStatus[]>
      		<HdfsFileStatus>
      			<accessTime>0</accessTime>
      			<blockSize>0</blockSize>
      			<group>hadoop</group>
      			<isDir>true</isDir>
      			<len>0</len>
      			<localName>mapred</localName>
      			<modificationTime>1317832616195</modificationTime>
      			<owner>mapred</owner>
      			<permission>755</permission>
      			<replication>0</replication>
      		</HdfsFileStatus>
      	</HdfsFileStatus[]>
      	
      
      

      We should instead return something like

      {"HdfsFileStatus":[
      {"accessTime":0,"blockSize":0,"group":"hadoop","isDir":true,"len":0,"localName":"hbase","modificationTime":1317832608532,"owner":"hrt_hdfs","permission":"700","replication":0},
      {"accessTime":0,"blockSize":0,"group":"hadoop","isDir":true,"len":0,"localName":"mapred","modificationTime":1317832616195,"owner":"mapred","permission":"755","replication":0},
      {"accessTime":0,"blockSize":0,"group":"supergroup","isDir":true,"len":0,"localName":"tmp","modificationTime":1317832565771,"owner":"hdfs","permission":"777","replication":0},
      {"accessTime":0,"blockSize":0,"group":"supergroup","isDir":true,"len":0,"localName":"user","modificationTime":1317832647984,"owner":"hdfs","permission":"755","replication":0}]}
      

      which maps to xml like

      <?xml version="1.0" encoding="UTF-8" ?>
      	<HdfsFileStatus>
      		<accessTime>0</accessTime>
      		<blockSize>0</blockSize>
      		<group>hadoop</group>
      		<isDir>true</isDir>
      		<len>0</len>
      		<localName>hbase</localName>
      		<modificationTime>1317832608532</modificationTime>
      		<owner>hrt_hdfs</owner>
      		<permission>700</permission>
      		<replication>0</replication>
      	</HdfsFileStatus>
      	<HdfsFileStatus>
      		<accessTime>0</accessTime>
      		<blockSize>0</blockSize>
      		<group>hadoop</group>
      		<isDir>true</isDir>
      		<len>0</len>
      		<localName>mapred</localName>
      		<modificationTime>1317832616195</modificationTime>
      		<owner>mapred</owner>
      		<permission>755</permission>
      		<replication>0</replication>
      	</HdfsFileStatus>
      	
      
      
      Show
      Arpit Gupta added a comment - curl -i "http://HOST:50070/webhdfs/?op=LISTSTATUS" returns { "HdfsFileStatus[]" :[ { "HdfsFileStatus" :{ "accessTime" :0, "blockSize" :0, "group" : "hadoop" , "isDir" : true , "len" :0, "localName" : "hbase" , "modificationTime" :1317832608532, "owner" : "hrt_hdfs" , "permission" : "700" , "replication" :0}}, { "HdfsFileStatus" :{ "accessTime" :0, "blockSize" :0, "group" : "hadoop" , "isDir" : true , "len" :0, "localName" : "mapred" , "modificationTime" :1317832616195, "owner" : "mapred" , "permission" : "755" , "replication" :0}}, This when converted to xml is something like <?xml version= "1.0" encoding= "UTF-8" ?> <HdfsFileStatus[]> <HdfsFileStatus> <accessTime>0</accessTime> <blockSize>0</blockSize> <group>hadoop</group> <isDir> true </isDir> <len>0</len> <localName>hbase</localName> <modificationTime>1317832608532</modificationTime> <owner>hrt_hdfs</owner> <permission>700</permission> <replication>0</replication> </HdfsFileStatus> </HdfsFileStatus[]> <HdfsFileStatus[]> <HdfsFileStatus> <accessTime>0</accessTime> <blockSize>0</blockSize> <group>hadoop</group> <isDir> true </isDir> <len>0</len> <localName>mapred</localName> <modificationTime>1317832616195</modificationTime> <owner>mapred</owner> <permission>755</permission> <replication>0</replication> </HdfsFileStatus> </HdfsFileStatus[]> We should instead return something like { "HdfsFileStatus" :[ { "accessTime" :0, "blockSize" :0, "group" : "hadoop" , "isDir" : true , "len" :0, "localName" : "hbase" , "modificationTime" :1317832608532, "owner" : "hrt_hdfs" , "permission" : "700" , "replication" :0}, { "accessTime" :0, "blockSize" :0, "group" : "hadoop" , "isDir" : true , "len" :0, "localName" : "mapred" , "modificationTime" :1317832616195, "owner" : "mapred" , "permission" : "755" , "replication" :0}, { "accessTime" :0, "blockSize" :0, "group" : "supergroup" , "isDir" : true , "len" :0, "localName" : "tmp" , "modificationTime" :1317832565771, "owner" : "hdfs" , "permission" : "777" , "replication" :0}, { "accessTime" :0, "blockSize" :0, "group" : "supergroup" , "isDir" : true , "len" :0, "localName" : "user" , "modificationTime" :1317832647984, "owner" : "hdfs" , "permission" : "755" , "replication" :0}]} which maps to xml like <?xml version= "1.0" encoding= "UTF-8" ?> <HdfsFileStatus> <accessTime>0</accessTime> <blockSize>0</blockSize> <group>hadoop</group> <isDir> true </isDir> <len>0</len> <localName>hbase</localName> <modificationTime>1317832608532</modificationTime> <owner>hrt_hdfs</owner> <permission>700</permission> <replication>0</replication> </HdfsFileStatus> <HdfsFileStatus> <accessTime>0</accessTime> <blockSize>0</blockSize> <group>hadoop</group> <isDir> true </isDir> <len>0</len> <localName>mapred</localName> <modificationTime>1317832616195</modificationTime> <owner>mapred</owner> <permission>755</permission> <replication>0</replication> </HdfsFileStatus>

        People

        • Assignee:
          Suresh Srinivas
          Reporter:
          Arpit Gupta
        • Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development