[jira] [Commented] (HDFS-2453) tail using a webhdfs uri throws an error

2011-10-27 Thread Hudson (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13137096#comment-13137096
 ] 

Hudson commented on HDFS-2453:
--

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

szetszwo : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189492
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/ByteRangeInputStream.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/resources/DatanodeWebHdfsMethods.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/main/java/org/apache/hadoop/hdfs/web/resources/ExceptionHandler.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestByteRangeInputStream.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsFileSystemContract.java


> tail using a webhdfs uri throws an error
> 
>
> Key: HDFS-2453
> URL: https://issues.apache.org/jira/browse/HDFS-2453
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>Affects Versions: 0.20.205.0
>Reporter: Arpit Gupta
>Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 0.20.205.1, 0.20.206.0, 0.23.0, 0.24.0
>
> Attachments: h2453_20111017.patch, h2453_20111017_0.20s.patch, 
> h2453_20111017b.patch, h2453_20111017b_0.20s.patch, h2453_20111018.patch, 
> h2453_20111018_0.20s.patch, 
> h2453_20111018_TestByteRangeInputStream_0.20s.patch, h2453_20111019.patch, 
> h2453_20111019_0.20s.patch
>
>
> /usr//bin/hadoop --config /etc/hadoop dfs -tail webhdfs://NN:50070/file 
> tail: HTTP_PARTIAL expected, received 200

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HDFS-2453) tail using a webhdfs uri throws an error

2011-10-27 Thread Hudson (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13137031#comment-13137031
 ] 

Hudson commented on HDFS-2453:
--

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

szetszwo : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189492
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/ByteRangeInputStream.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/resources/DatanodeWebHdfsMethods.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/main/java/org/apache/hadoop/hdfs/web/resources/ExceptionHandler.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestByteRangeInputStream.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsFileSystemContract.java


> tail using a webhdfs uri throws an error
> 
>
> Key: HDFS-2453
> URL: https://issues.apache.org/jira/browse/HDFS-2453
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>Affects Versions: 0.20.205.0
>Reporter: Arpit Gupta
>Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 0.20.205.1, 0.20.206.0, 0.23.0, 0.24.0
>
> Attachments: h2453_20111017.patch, h2453_20111017_0.20s.patch, 
> h2453_20111017b.patch, h2453_20111017b_0.20s.patch, h2453_20111018.patch, 
> h2453_20111018_0.20s.patch, 
> h2453_20111018_TestByteRangeInputStream_0.20s.patch, h2453_20111019.patch, 
> h2453_20111019_0.20s.patch
>
>
> /usr//bin/hadoop --config /etc/hadoop dfs -tail webhdfs://NN:50070/file 
> tail: HTTP_PARTIAL expected, received 200

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HDFS-2453) tail using a webhdfs uri throws an error

2011-10-26 Thread Hudson (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13136524#comment-13136524
 ] 

Hudson commented on HDFS-2453:
--

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

szetszwo : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189492
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/ByteRangeInputStream.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/resources/DatanodeWebHdfsMethods.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/main/java/org/apache/hadoop/hdfs/web/resources/ExceptionHandler.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestByteRangeInputStream.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsFileSystemContract.java


> tail using a webhdfs uri throws an error
> 
>
> Key: HDFS-2453
> URL: https://issues.apache.org/jira/browse/HDFS-2453
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>Affects Versions: 0.20.205.0
>Reporter: Arpit Gupta
>Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 0.20.205.1, 0.20.206.0, 0.23.0, 0.24.0
>
> Attachments: h2453_20111017.patch, h2453_20111017_0.20s.patch, 
> h2453_20111017b.patch, h2453_20111017b_0.20s.patch, h2453_20111018.patch, 
> h2453_20111018_0.20s.patch, 
> h2453_20111018_TestByteRangeInputStream_0.20s.patch, h2453_20111019.patch, 
> h2453_20111019_0.20s.patch
>
>
> /usr//bin/hadoop --config /etc/hadoop dfs -tail webhdfs://NN:50070/file 
> tail: HTTP_PARTIAL expected, received 200

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HDFS-2453) tail using a webhdfs uri throws an error

2011-10-26 Thread Hudson (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13136488#comment-13136488
 ] 

Hudson commented on HDFS-2453:
--

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

szetszwo : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189492
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/ByteRangeInputStream.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/resources/DatanodeWebHdfsMethods.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/main/java/org/apache/hadoop/hdfs/web/resources/ExceptionHandler.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestByteRangeInputStream.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsFileSystemContract.java


> tail using a webhdfs uri throws an error
> 
>
> Key: HDFS-2453
> URL: https://issues.apache.org/jira/browse/HDFS-2453
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>Affects Versions: 0.20.205.0
>Reporter: Arpit Gupta
>Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 0.20.205.1, 0.20.206.0, 0.23.0, 0.24.0
>
> Attachments: h2453_20111017.patch, h2453_20111017_0.20s.patch, 
> h2453_20111017b.patch, h2453_20111017b_0.20s.patch, h2453_20111018.patch, 
> h2453_20111018_0.20s.patch, 
> h2453_20111018_TestByteRangeInputStream_0.20s.patch, h2453_20111019.patch, 
> h2453_20111019_0.20s.patch
>
>
> /usr//bin/hadoop --config /etc/hadoop dfs -tail webhdfs://NN:50070/file 
> tail: HTTP_PARTIAL expected, received 200

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HDFS-2453) tail using a webhdfs uri throws an error

2011-10-26 Thread Hudson (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13136479#comment-13136479
 ] 

Hudson commented on HDFS-2453:
--

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

szetszwo : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189492
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/ByteRangeInputStream.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/resources/DatanodeWebHdfsMethods.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/main/java/org/apache/hadoop/hdfs/web/resources/ExceptionHandler.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestByteRangeInputStream.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsFileSystemContract.java


> tail using a webhdfs uri throws an error
> 
>
> Key: HDFS-2453
> URL: https://issues.apache.org/jira/browse/HDFS-2453
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>Affects Versions: 0.20.205.0
>Reporter: Arpit Gupta
>Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 0.20.205.1, 0.20.206.0, 0.23.0, 0.24.0
>
> Attachments: h2453_20111017.patch, h2453_20111017_0.20s.patch, 
> h2453_20111017b.patch, h2453_20111017b_0.20s.patch, h2453_20111018.patch, 
> h2453_20111018_0.20s.patch, 
> h2453_20111018_TestByteRangeInputStream_0.20s.patch, h2453_20111019.patch, 
> h2453_20111019_0.20s.patch
>
>
> /usr//bin/hadoop --config /etc/hadoop dfs -tail webhdfs://NN:50070/file 
> tail: HTTP_PARTIAL expected, received 200

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HDFS-2453) tail using a webhdfs uri throws an error

2011-10-19 Thread Hudson (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13131064#comment-13131064
 ] 

Hudson commented on HDFS-2453:
--

Integrated in Hadoop-Mapreduce-trunk-Commit #1132 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1132/])
HDFS-2453. Fix http response code for partial content in webhdfs, added 
getDefaultBlockSize() and getDefaultReplication() in WebHdfsFileSystem and 
cleared content type in ExceptionHandler.

szetszwo : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1186508
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/ByteRangeInputStream.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/resources/DatanodeWebHdfsMethods.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/main/java/org/apache/hadoop/hdfs/web/resources/ExceptionHandler.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestByteRangeInputStream.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsFileSystemContract.java


> tail using a webhdfs uri throws an error
> 
>
> Key: HDFS-2453
> URL: https://issues.apache.org/jira/browse/HDFS-2453
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>Affects Versions: 0.20.205.0
>Reporter: Arpit Gupta
>Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 0.20.205.1, 0.20.206.0, 0.24.0
>
> Attachments: h2453_20111017.patch, h2453_20111017_0.20s.patch, 
> h2453_20111017b.patch, h2453_20111017b_0.20s.patch, h2453_20111018.patch, 
> h2453_20111018_0.20s.patch, 
> h2453_20111018_TestByteRangeInputStream_0.20s.patch, h2453_20111019.patch, 
> h2453_20111019_0.20s.patch
>
>
> /usr//bin/hadoop --config /etc/hadoop dfs -tail webhdfs://NN:50070/file 
> tail: HTTP_PARTIAL expected, received 200

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HDFS-2453) tail using a webhdfs uri throws an error

2011-10-19 Thread Hudson (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13131037#comment-13131037
 ] 

Hudson commented on HDFS-2453:
--

Integrated in Hadoop-Common-trunk-Commit #1114 (See 
[https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1114/])
HDFS-2453. Fix http response code for partial content in webhdfs, added 
getDefaultBlockSize() and getDefaultReplication() in WebHdfsFileSystem and 
cleared content type in ExceptionHandler.

szetszwo : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1186508
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/ByteRangeInputStream.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/resources/DatanodeWebHdfsMethods.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/main/java/org/apache/hadoop/hdfs/web/resources/ExceptionHandler.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestByteRangeInputStream.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsFileSystemContract.java


> tail using a webhdfs uri throws an error
> 
>
> Key: HDFS-2453
> URL: https://issues.apache.org/jira/browse/HDFS-2453
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>Affects Versions: 0.20.205.0
>Reporter: Arpit Gupta
>Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h2453_20111017.patch, h2453_20111017_0.20s.patch, 
> h2453_20111017b.patch, h2453_20111017b_0.20s.patch, h2453_20111018.patch, 
> h2453_20111018_0.20s.patch, 
> h2453_20111018_TestByteRangeInputStream_0.20s.patch, h2453_20111019.patch, 
> h2453_20111019_0.20s.patch
>
>
> /usr//bin/hadoop --config /etc/hadoop dfs -tail webhdfs://NN:50070/file 
> tail: HTTP_PARTIAL expected, received 200

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HDFS-2453) tail using a webhdfs uri throws an error

2011-10-19 Thread Hudson (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13131035#comment-13131035
 ] 

Hudson commented on HDFS-2453:
--

Integrated in Hadoop-Hdfs-trunk-Commit #1193 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1193/])
HDFS-2453. Fix http response code for partial content in webhdfs, added 
getDefaultBlockSize() and getDefaultReplication() in WebHdfsFileSystem and 
cleared content type in ExceptionHandler.

szetszwo : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1186508
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/ByteRangeInputStream.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/resources/DatanodeWebHdfsMethods.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/main/java/org/apache/hadoop/hdfs/web/resources/ExceptionHandler.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestByteRangeInputStream.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsFileSystemContract.java


> tail using a webhdfs uri throws an error
> 
>
> Key: HDFS-2453
> URL: https://issues.apache.org/jira/browse/HDFS-2453
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>Affects Versions: 0.20.205.0
>Reporter: Arpit Gupta
>Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h2453_20111017.patch, h2453_20111017_0.20s.patch, 
> h2453_20111017b.patch, h2453_20111017b_0.20s.patch, h2453_20111018.patch, 
> h2453_20111018_0.20s.patch, 
> h2453_20111018_TestByteRangeInputStream_0.20s.patch, h2453_20111019.patch, 
> h2453_20111019_0.20s.patch
>
>
> /usr//bin/hadoop --config /etc/hadoop dfs -tail webhdfs://NN:50070/file 
> tail: HTTP_PARTIAL expected, received 200

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HDFS-2453) tail using a webhdfs uri throws an error

2011-10-19 Thread Hadoop QA (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13131017#comment-13131017
 ] 

Hadoop QA commented on HDFS-2453:
-

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

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

+1 tests included.  The patch appears to include 20 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.TestDistributedFileSystem
  org.apache.hadoop.hdfs.server.datanode.TestDeleteBlockPool
  org.apache.hadoop.hdfs.TestAbandonBlock
  org.apache.hadoop.hdfs.TestRestartDFS

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

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

This message is automatically generated.

> tail using a webhdfs uri throws an error
> 
>
> Key: HDFS-2453
> URL: https://issues.apache.org/jira/browse/HDFS-2453
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>Affects Versions: 0.20.205.0
>Reporter: Arpit Gupta
>Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h2453_20111017.patch, h2453_20111017_0.20s.patch, 
> h2453_20111017b.patch, h2453_20111017b_0.20s.patch, h2453_20111018.patch, 
> h2453_20111018_0.20s.patch, 
> h2453_20111018_TestByteRangeInputStream_0.20s.patch, h2453_20111019.patch, 
> h2453_20111019_0.20s.patch
>
>
> /usr//bin/hadoop --config /etc/hadoop dfs -tail webhdfs://NN:50070/file 
> tail: HTTP_PARTIAL expected, received 200

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HDFS-2453) tail using a webhdfs uri throws an error

2011-10-19 Thread Suresh Srinivas (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13130989#comment-13130989
 ] 

Suresh Srinivas commented on HDFS-2453:
---

+1 for the patch.

> tail using a webhdfs uri throws an error
> 
>
> Key: HDFS-2453
> URL: https://issues.apache.org/jira/browse/HDFS-2453
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>Affects Versions: 0.20.205.0
>Reporter: Arpit Gupta
>Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h2453_20111017.patch, h2453_20111017_0.20s.patch, 
> h2453_20111017b.patch, h2453_20111017b_0.20s.patch, h2453_20111018.patch, 
> h2453_20111018_0.20s.patch, 
> h2453_20111018_TestByteRangeInputStream_0.20s.patch, h2453_20111019.patch, 
> h2453_20111019_0.20s.patch
>
>
> /usr//bin/hadoop --config /etc/hadoop dfs -tail webhdfs://NN:50070/file 
> tail: HTTP_PARTIAL expected, received 200

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HDFS-2453) tail using a webhdfs uri throws an error

2011-10-19 Thread Suresh Srinivas (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13130738#comment-13130738
 ] 

Suresh Srinivas commented on HDFS-2453:
---

Comments:
# ByteRangeInputStream.java
#* cast to HttpUrlConnection unncessary in #openConnection(final long...)
#* I am bit confused by the methods. #openConnection() is public. It could be 
called when offsetUrl is null. Should #openConnection() be private? and 
#openConnection(final long ...) be public? 
#* Why in #removeOffsetParam() check for both startsWith and contains. Just 
contains is sufficient to move to the next for loop.
# DatanodeWebHdfsMethods#put(), #post(),#get() should not throw 
URISyntaxException
# WebHdfsFileSystem#ugi hides HftpFileSystem#ugi
# MockHttpUrlConnection#responseCode hides HttpUrlConnection#responseCode


> tail using a webhdfs uri throws an error
> 
>
> Key: HDFS-2453
> URL: https://issues.apache.org/jira/browse/HDFS-2453
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>Affects Versions: 0.20.205.0
>Reporter: Arpit Gupta
>Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h2453_20111017.patch, h2453_20111017_0.20s.patch, 
> h2453_20111017b.patch, h2453_20111017b_0.20s.patch, h2453_20111018.patch, 
> h2453_20111018_0.20s.patch, 
> h2453_20111018_TestByteRangeInputStream_0.20s.patch
>
>
> /usr//bin/hadoop --config /etc/hadoop dfs -tail webhdfs://NN:50070/file 
> tail: HTTP_PARTIAL expected, received 200

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HDFS-2453) tail using a webhdfs uri throws an error

2011-10-18 Thread Hadoop QA (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13129959#comment-13129959
 ] 

Hadoop QA commented on HDFS-2453:
-

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

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

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

-1 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/1388//console

This message is automatically generated.

> tail using a webhdfs uri throws an error
> 
>
> Key: HDFS-2453
> URL: https://issues.apache.org/jira/browse/HDFS-2453
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>Affects Versions: 0.20.205.0
>Reporter: Arpit Gupta
>Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h2453_20111017.patch, h2453_20111017_0.20s.patch, 
> h2453_20111017b.patch, h2453_20111017b_0.20s.patch, h2453_20111018.patch, 
> h2453_20111018_0.20s.patch, 
> h2453_20111018_TestByteRangeInputStream_0.20s.patch
>
>
> /usr//bin/hadoop --config /etc/hadoop dfs -tail webhdfs://NN:50070/file 
> tail: HTTP_PARTIAL expected, received 200

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HDFS-2453) tail using a webhdfs uri throws an error

2011-10-18 Thread Hadoop QA (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13129880#comment-13129880
 ] 

Hadoop QA commented on HDFS-2453:
-

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

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

+1 tests included.  The patch appears to include 20 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 appears to introduce 1 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/1385//testReport/
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HDFS-Build/1385//artifact/trunk/hadoop-hdfs-project/patchprocess/newPatchFindbugsWarningshadoop-hdfs.html
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/1385//console

This message is automatically generated.

> tail using a webhdfs uri throws an error
> 
>
> Key: HDFS-2453
> URL: https://issues.apache.org/jira/browse/HDFS-2453
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>Affects Versions: 0.20.205.0
>Reporter: Arpit Gupta
>Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h2453_20111017.patch, h2453_20111017_0.20s.patch, 
> h2453_20111017b.patch, h2453_20111017b_0.20s.patch, h2453_20111018.patch, 
> h2453_20111018_0.20s.patch
>
>
> /usr//bin/hadoop --config /etc/hadoop dfs -tail webhdfs://NN:50070/file 
> tail: HTTP_PARTIAL expected, received 200

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HDFS-2453) tail using a webhdfs uri throws an error

2011-10-17 Thread Hadoop QA (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13129487#comment-13129487
 ] 

Hadoop QA commented on HDFS-2453:
-

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

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

+1 tests included.  The patch appears to include 7 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 appears to introduce 1 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.TestByteRangeInputStream
  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/1383//testReport/
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HDFS-Build/1383//artifact/trunk/hadoop-hdfs-project/patchprocess/newPatchFindbugsWarningshadoop-hdfs.html
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/1383//console

This message is automatically generated.

> tail using a webhdfs uri throws an error
> 
>
> Key: HDFS-2453
> URL: https://issues.apache.org/jira/browse/HDFS-2453
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>Affects Versions: 0.20.205.0
>Reporter: Arpit Gupta
>Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h2453_20111017.patch, h2453_20111017_0.20s.patch, 
> h2453_20111017b.patch, h2453_20111017b_0.20s.patch
>
>
> /usr//bin/hadoop --config /etc/hadoop dfs -tail webhdfs://NN:50070/file 
> tail: HTTP_PARTIAL expected, received 200

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HDFS-2453) tail using a webhdfs uri throws an error

2011-10-17 Thread Hadoop QA (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13129452#comment-13129452
 ] 

Hadoop QA commented on HDFS-2453:
-

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

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

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

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

-1 javac.  The patch appears to cause tar ant target to fail.

-1 findbugs.  The patch appears to cause Findbugs (version 1.3.9) to fail.

+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/1382//testReport/
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/1382//console

This message is automatically generated.

> tail using a webhdfs uri throws an error
> 
>
> Key: HDFS-2453
> URL: https://issues.apache.org/jira/browse/HDFS-2453
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>Affects Versions: 0.20.205.0
>Reporter: Arpit Gupta
>Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h2453_20111017.patch, h2453_20111017_0.20s.patch
>
>
> /usr//bin/hadoop --config /etc/hadoop dfs -tail webhdfs://NN:50070/file 
> tail: HTTP_PARTIAL expected, received 200

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira