Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.20.205.0
    • Fix Version/s: 0.23.0, 1.0.0
    • Component/s: webhdfs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    1. h2424_20111013_0.20s.patch
      2 kB
      Tsz Wo Nicholas Sze
    2. h2424_20111013.patch
      3 kB
      Tsz Wo Nicholas Sze

      Activity

      Transition Time In Source Status Execution Times Last Executer Last Execution Date
      Open Open Patch Available Patch Available
      3d 3h 16m 1 Tsz Wo Nicholas Sze 13/Oct/11 23:02
      Patch Available Patch Available Resolved Resolved
      2h 35m 1 Tsz Wo Nicholas Sze 14/Oct/11 01:37
      Resolved Resolved Closed Closed
      32d 15m 1 Arun C Murthy 15/Nov/11 00:53
      Allen Wittenauer made changes -
      Fix Version/s 2.0.0-alpha [ 12320353 ]
      Allen Wittenauer made changes -
      Fix Version/s 2.0.0-alpha [ 12320353 ]
      Fix Version/s 0.24.0 [ 12317653 ]
      Eli Collins made changes -
      Component/s webhdfs [ 12319200 ]
      Arun C Murthy made changes -
      Status Resolved [ 5 ] Closed [ 6 ]
      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 1183175 from trunk for HDFS-2424.

      szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189489
      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/WebHdfsFileSystem.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 1183175 from trunk for HDFS-2424 . szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189489 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/WebHdfsFileSystem.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 1183175 from trunk for HDFS-2424.

      szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189489
      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/WebHdfsFileSystem.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 1183175 from trunk for HDFS-2424 . szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189489 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/WebHdfsFileSystem.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 1183175 from trunk for HDFS-2424.

      szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189489
      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/WebHdfsFileSystem.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 1183175 from trunk for HDFS-2424 . szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189489 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/WebHdfsFileSystem.java
      Hide
      Hudson added a comment -

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

      szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189489
      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/WebHdfsFileSystem.java
      Show
      Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Commit #65 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/65/ ) svn merge -c 1183175 from trunk for HDFS-2424 . szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189489 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/WebHdfsFileSystem.java
      Hide
      Hudson added a comment -

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

      szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189489
      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/WebHdfsFileSystem.java
      Show
      Hudson added a comment - Integrated in Hadoop-Common-0.23-Commit #64 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/64/ ) svn merge -c 1183175 from trunk for HDFS-2424 . szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189489 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/WebHdfsFileSystem.java
      Tsz Wo Nicholas Sze made changes -
      Fix Version/s 0.23.0 [ 12315571 ]
      Hide
      Tsz Wo Nicholas Sze added a comment -

      Merged to 0.23.

      Show
      Tsz Wo Nicholas Sze added a comment - Merged to 0.23.
      Tsz Wo Nicholas Sze made changes -
      Parent HDFS-2316 [ 12521565 ]
      Issue Type Bug [ 1 ] Sub-task [ 7 ]
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Mapreduce-trunk #860 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/860/)
      HDFS-2424. Added a root element "HdfsFileStatuses" for the response of webhdfs listStatus.

      szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1183175
      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/WebHdfsFileSystem.java
      Show
      Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #860 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/860/ ) HDFS-2424 . Added a root element "HdfsFileStatuses" for the response of webhdfs listStatus. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1183175 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/WebHdfsFileSystem.java
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Hdfs-trunk #830 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/830/)
      HDFS-2424. Added a root element "HdfsFileStatuses" for the response of webhdfs listStatus.

      szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1183175
      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/WebHdfsFileSystem.java
      Show
      Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #830 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/830/ ) HDFS-2424 . Added a root element "HdfsFileStatuses" for the response of webhdfs listStatus. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1183175 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/WebHdfsFileSystem.java
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Mapreduce-trunk-Commit #1097 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1097/)
      HDFS-2424. Added a root element "HdfsFileStatuses" for the response of webhdfs listStatus.

      szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1183175
      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/WebHdfsFileSystem.java
      Show
      Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #1097 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1097/ ) HDFS-2424 . Added a root element "HdfsFileStatuses" for the response of webhdfs listStatus. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1183175 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/WebHdfsFileSystem.java
      Tsz Wo Nicholas Sze made changes -
      Status Patch Available [ 10002 ] Resolved [ 5 ]
      Hadoop Flags Reviewed [ 10343 ]
      Fix Version/s 0.20.205.1 [ 12318243 ]
      Fix Version/s 0.24.0 [ 12317653 ]
      Resolution Fixed [ 1 ]
      Hide
      Tsz Wo Nicholas Sze added a comment -

      The failed tests are not related.

      webhdfs liststatus is covered by existing tests. The JSON format was tested manually as shown above.

      Thanks Suresh for the review.

      I have committed this.

      Show
      Tsz Wo Nicholas Sze added a comment - The failed tests are not related. webhdfs liststatus is covered by existing tests. The JSON format was tested manually as shown above. Thanks Suresh for the review. I have committed this.
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Hdfs-trunk-Commit #1156 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1156/)
      HDFS-2424. Added a root element "HdfsFileStatuses" for the response of webhdfs listStatus.

      szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1183175
      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/WebHdfsFileSystem.java
      Show
      Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #1156 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1156/ ) HDFS-2424 . Added a root element "HdfsFileStatuses" for the response of webhdfs listStatus. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1183175 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/WebHdfsFileSystem.java
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Common-trunk-Commit #1078 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1078/)
      HDFS-2424. Added a root element "HdfsFileStatuses" for the response of webhdfs listStatus.

      szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1183175
      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/WebHdfsFileSystem.java
      Show
      Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #1078 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1078/ ) HDFS-2424 . Added a root element "HdfsFileStatuses" for the response of webhdfs listStatus. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1183175 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/WebHdfsFileSystem.java
      Hide
      Hadoop QA added a comment -

      -1 overall. Here are the results of testing the latest attachment
      http://issues.apache.org/jira/secure/attachment/12498939/h2424_20111013.patch
      against trunk revision .

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

      -1 tests included. The patch doesn't appear to include any new or modified tests.
      Please justify why no new tests are needed for this patch.
      Also please list what manual steps were performed to verify this patch.

      +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.TestFileAppend2
      org.apache.hadoop.hdfs.TestBalancerBandwidth
      org.apache.hadoop.hdfs.TestRestartDFS
      org.apache.hadoop.hdfs.TestDistributedFileSystem
      org.apache.hadoop.hdfs.server.datanode.TestDeleteBlockPool

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

      Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/1366//testReport/
      Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/1366//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/12498939/h2424_20111013.patch against trunk revision . +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +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.TestFileAppend2 org.apache.hadoop.hdfs.TestBalancerBandwidth org.apache.hadoop.hdfs.TestRestartDFS org.apache.hadoop.hdfs.TestDistributedFileSystem org.apache.hadoop.hdfs.server.datanode.TestDeleteBlockPool +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/1366//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/1366//console This message is automatically generated.
      Hide
      Suresh Srinivas added a comment -

      +1 for the change.

      Show
      Suresh Srinivas added a comment - +1 for the change.
      Tsz Wo Nicholas Sze made changes -
      Status Open [ 1 ] Patch Available [ 10002 ]
      Assignee Tsz Wo (Nicholas), SZE [ szetszwo ]
      Hide
      Tsz Wo Nicholas Sze added a comment -

      JSON output after the patch

      {"HdfsFileStatuses":{"HdfsFileStatus":[
      {"accessTime":1318445297972,"blockSize":33554432,"group":"supergroup","isDir":false,"len":3003,"localName":"a.patch","modificationTime":1318445297972,"owner":"szetszwo","permission":"644","replication":1},
      {"accessTime":1318447291566,"blockSize":33554432,"group":"supergroup","isDir":false,"len":4972,"localName":"a2.patch","modificationTime":1318447291566,"owner":"szetszwo","permission":"644","replication":3}
      ]}}
      

      The corresponding XML

      <?xml version="1.0" encoding="UTF-8" ?>
      	<HdfsFileStatuses>
      		<HdfsFileStatus>
      			<accessTime>1318445297972</accessTime>
      			<blockSize>33554432</blockSize>
      			<group>supergroup</group>
      			<isDir>false</isDir>
      			<len>3003</len>
      			<localName>a.patch</localName>
      			<modificationTime>1318445297972</modificationTime>
      			<owner>szetszwo</owner>
      			<permission>644</permission>
      			<replication>1</replication>
      		</HdfsFileStatus>
      		<HdfsFileStatus>
      			<accessTime>1318447291566</accessTime>
      			<blockSize>33554432</blockSize>
      			<group>supergroup</group>
      			<isDir>false</isDir>
      			<len>4972</len>
      			<localName>a2.patch</localName>
      			<modificationTime>1318447291566</modificationTime>
      			<owner>szetszwo</owner>
      			<permission>644</permission>
      			<replication>3</replication>
      		</HdfsFileStatus>
      	</HdfsFileStatuses>
      
      Show
      Tsz Wo Nicholas Sze added a comment - JSON output after the patch {"HdfsFileStatuses":{"HdfsFileStatus":[ {"accessTime":1318445297972,"blockSize":33554432,"group":"supergroup","isDir":false,"len":3003,"localName":"a.patch","modificationTime":1318445297972,"owner":"szetszwo","permission":"644","replication":1}, {"accessTime":1318447291566,"blockSize":33554432,"group":"supergroup","isDir":false,"len":4972,"localName":"a2.patch","modificationTime":1318447291566,"owner":"szetszwo","permission":"644","replication":3} ]}} The corresponding XML <?xml version="1.0" encoding="UTF-8" ?> <HdfsFileStatuses> <HdfsFileStatus> <accessTime>1318445297972</accessTime> <blockSize>33554432</blockSize> <group>supergroup</group> <isDir>false</isDir> <len>3003</len> <localName>a.patch</localName> <modificationTime>1318445297972</modificationTime> <owner>szetszwo</owner> <permission>644</permission> <replication>1</replication> </HdfsFileStatus> <HdfsFileStatus> <accessTime>1318447291566</accessTime> <blockSize>33554432</blockSize> <group>supergroup</group> <isDir>false</isDir> <len>4972</len> <localName>a2.patch</localName> <modificationTime>1318447291566</modificationTime> <owner>szetszwo</owner> <permission>644</permission> <replication>3</replication> </HdfsFileStatus> </HdfsFileStatuses>
      Tsz Wo Nicholas Sze made changes -
      Field Original Value New Value
      Attachment h2424_20111013_0.20s.patch [ 12498938 ]
      Attachment h2424_20111013.patch [ 12498939 ]
      Hide
      Tsz Wo Nicholas Sze added a comment -

      h2424_20111013_0.20s.patch
      h2424_20111013.patch

      Added a root element "HdfsFileStatuses".

      Show
      Tsz Wo Nicholas Sze added a comment - h2424_20111013_0.20s.patch h2424_20111013.patch Added a root element "HdfsFileStatuses".
      Hide
      Arpit Gupta added a comment -

      Make the following request

      http://localhost:50070/webhdfs/tmp?op=liststatus

      Returns

      {"HdfsFileStatus":[

      {"accessTime":0,"blockSize":0,"group":"supergroup","isDir":true,"len":0,"localName":"some_name","modificationTime":1318223419779,"owner":"some_user","permission":"755","replication":0}

      ,
      ]}

      Try to convert this response into a valid xml document leads to an exception saying there is no root element. As a user using these API's it would be best if we make sure one can create a valid xml document from the response

      The following exception is thrown.

      org.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed.

      Show
      Arpit Gupta added a comment - Make the following request http://localhost:50070/webhdfs/tmp?op=liststatus Returns {"HdfsFileStatus":[ {"accessTime":0,"blockSize":0,"group":"supergroup","isDir":true,"len":0,"localName":"some_name","modificationTime":1318223419779,"owner":"some_user","permission":"755","replication":0} , ]} Try to convert this response into a valid xml document leads to an exception saying there is no root element. As a user using these API's it would be best if we make sure one can create a valid xml document from the response The following exception is thrown. org.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed.
      Arpit Gupta created issue -

        People

        • Assignee:
          Tsz Wo Nicholas Sze
          Reporter:
          Arpit Gupta
        • Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development