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

2012-09-11 Thread Suresh Srinivas (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Suresh Srinivas updated HDFS-2453:
--

Fix Version/s: (was: 1.1.0)

> 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
>  Components: webhdfs
>Affects Versions: 0.20.205.0
>Reporter: Arpit Gupta
>Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 0.23.0, 0.24.0, 1.0.0
>
> Attachments: h2453_20111017_0.20s.patch, h2453_20111017b_0.20s.patch, 
> h2453_20111017b.patch, h2453_20111017.patch, h2453_20111018_0.20s.patch, 
> h2453_20111018.patch, h2453_20111018_TestByteRangeInputStream_0.20s.patch, 
> h2453_20111019_0.20s.patch, h2453_20111019.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
For more information on JIRA, see: http://www.atlassian.com/software/jira


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

2011-10-26 Thread Tsz Wo (Nicholas), SZE (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz Wo (Nicholas), SZE updated HDFS-2453:
-

Fix Version/s: 0.23.0

Merged to 0.23.

> 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] [Updated] (HDFS-2453) tail using a webhdfs uri throws an error

2011-10-19 Thread Tsz Wo (Nicholas), SZE (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz Wo (Nicholas), SZE updated HDFS-2453:
-

   Resolution: Fixed
Fix Version/s: 0.24.0
   0.20.206.0
   0.20.205.1
 Hadoop Flags: Reviewed
   Status: Resolved  (was: Patch Available)

I have committed this.

> 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] [Updated] (HDFS-2453) tail using a webhdfs uri throws an error

2011-10-19 Thread Tsz Wo (Nicholas), SZE (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz Wo (Nicholas), SZE updated HDFS-2453:
-

Attachment: h2453_20111019.patch
h2453_20111019_0.20s.patch

Thanks Suresh for the review.

#* removed casting
** Changed openConnection() to package private: The original design of the 
class is for mocking test.  So openConnection() cannot be private.
** The check is a precise condition.
# removed URISyntaxException.
# WebHdfsFileSystem won't extends HftpFileSystem after HDFS-2385.  So the 
hiding is temporary.
# removed MockHttpUrlConnection#responseCode.

h2453_20111019_0.20s.patch
h2453_20111019.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] [Updated] (HDFS-2453) tail using a webhdfs uri throws an error

2011-10-18 Thread Tsz Wo (Nicholas), SZE (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz Wo (Nicholas), SZE updated HDFS-2453:
-

Attachment: h2453_20111018_TestByteRangeInputStream_0.20s.patch

h2453_20111018_TestByteRangeInputStream_0.20s.patch: added 
TestByteRangeInputStream to 0.20s

> 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] [Updated] (HDFS-2453) tail using a webhdfs uri throws an error

2011-10-18 Thread Tsz Wo (Nicholas), SZE (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz Wo (Nicholas), SZE updated HDFS-2453:
-

Attachment: h2453_20111018.patch
h2453_20111018_0.20s.patch

h2453_20111018_0.20s.patch
h2453_20111018.patch

Fixed TestByteRangeInputStream.

> 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] [Updated] (HDFS-2453) tail using a webhdfs uri throws an error

2011-10-17 Thread Tsz Wo (Nicholas), SZE (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz Wo (Nicholas), SZE updated HDFS-2453:
-

Attachment: h2453_20111017b.patch
h2453_20111017b_0.20s.patch

Oops, the trunk patch does not compile.  Below are the updated patches.

h2453_20111017b_0.20s.patch
h2453_20111017b.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
>
>
> /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] [Updated] (HDFS-2453) tail using a webhdfs uri throws an error

2011-10-17 Thread Tsz Wo (Nicholas), SZE (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz Wo (Nicholas), SZE updated HDFS-2453:
-

Status: Patch Available  (was: Open)

> 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




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

2011-10-17 Thread Tsz Wo (Nicholas), SZE (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz Wo (Nicholas), SZE updated HDFS-2453:
-

Issue Type: Sub-task  (was: Bug)
Parent: HDFS-2316

> 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




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

2011-10-17 Thread Tsz Wo (Nicholas), SZE (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz Wo (Nicholas), SZE updated HDFS-2453:
-

Attachment: h2453_20111017.patch
h2453_20111017_0.20s.patch

h2453_20111017_0.20s.patch
h2453_20111017.patch

- Fixed http response code for partial content.
- Added getDefaultBlockSize() and getDefaultReplication in WebHdfsFileSystem.
- Cleared content type in ExceptionHandler.

> 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: Bug
>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