[jira] [Updated] (HDFS-3737) retry support for webhdfs is breaking HttpFS support

2012-07-31 Thread Tsz Wo (Nicholas), SZE (JIRA)

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

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

Fix Version/s: (was: 2.2.0-alpha)

> retry support for webhdfs is breaking HttpFS support
> 
>
> Key: HDFS-3737
> URL: https://issues.apache.org/jira/browse/HDFS-3737
> Project: Hadoop HDFS
>  Issue Type: Bug
>Affects Versions: 2.2.0-alpha
>Reporter: Alejandro Abdelnur
>Assignee: Tsz Wo (Nicholas), SZE
>Priority: Blocker
> Attachments: h3737_20120730.patch
>
>
> HDFS-3667 is breaking HttpFS testcases:
> {code}
> Running org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem
> Tests run: 30, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 14.585 sec 
> <<< FAILURE!
> Results :
> Tests in error: 
>   testOperation[1](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem): 
> Unexpected HTTP response: code=200 != 307, op=OPEN, message=OK
>   
> testOperationDoAs[1](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem): 
> Unexpected HTTP response: code=200 != 307, op=OPEN, message=OK
>   testOperation[2](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem)
>   testOperationDoAs[2](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem)
>   testOperation[3](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem): 
> Unexpected HTTP response: code=400 != 200, op=APPEND, message=Data upload 
> requests must have content-type set to 'application/octet-stream'
>   
> testOperationDoAs[3](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem): 
> Unexpected HTTP response: code=400 != 200, op=APPEND, message=Data upload 
> requests must have content-type set to 'application/octet-stream'
>   testOperation[13](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem): 
> Unexpected HTTP response: code=200 != 307, op=GETFILECHECKSUM, message=OK
>   
> testOperationDoAs[13](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem):
>  Unexpected HTTP response: code=200 != 307, op=GETFILECHECKSUM, message=OK
> Tests run: 30, Failures: 0, Errors: 8, Skipped: 0
> {code}

--
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-3737) retry support for webhdfs is breaking HttpFS support

2012-07-31 Thread Tsz Wo (Nicholas), SZE (JIRA)

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

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

Resolution: Fixed
Status: Resolved  (was: Patch Available)

The problematic patch was reverted and a new patch was committed in HDFS-3667.


> retry support for webhdfs is breaking HttpFS support
> 
>
> Key: HDFS-3737
> URL: https://issues.apache.org/jira/browse/HDFS-3737
> Project: Hadoop HDFS
>  Issue Type: Bug
>Affects Versions: 2.2.0-alpha
>Reporter: Alejandro Abdelnur
>Assignee: Tsz Wo (Nicholas), SZE
>Priority: Blocker
> Fix For: 2.2.0-alpha
>
> Attachments: h3737_20120730.patch
>
>
> HDFS-3667 is breaking HttpFS testcases:
> {code}
> Running org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem
> Tests run: 30, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 14.585 sec 
> <<< FAILURE!
> Results :
> Tests in error: 
>   testOperation[1](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem): 
> Unexpected HTTP response: code=200 != 307, op=OPEN, message=OK
>   
> testOperationDoAs[1](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem): 
> Unexpected HTTP response: code=200 != 307, op=OPEN, message=OK
>   testOperation[2](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem)
>   testOperationDoAs[2](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem)
>   testOperation[3](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem): 
> Unexpected HTTP response: code=400 != 200, op=APPEND, message=Data upload 
> requests must have content-type set to 'application/octet-stream'
>   
> testOperationDoAs[3](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem): 
> Unexpected HTTP response: code=400 != 200, op=APPEND, message=Data upload 
> requests must have content-type set to 'application/octet-stream'
>   testOperation[13](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem): 
> Unexpected HTTP response: code=200 != 307, op=GETFILECHECKSUM, message=OK
>   
> testOperationDoAs[13](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem):
>  Unexpected HTTP response: code=200 != 307, op=GETFILECHECKSUM, message=OK
> Tests run: 30, Failures: 0, Errors: 8, Skipped: 0
> {code}

--
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-3737) retry support for webhdfs is breaking HttpFS support

2012-07-30 Thread Tsz Wo (Nicholas), SZE (JIRA)

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

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

Status: Patch Available  (was: Open)

> retry support for webhdfs is breaking HttpFS support
> 
>
> Key: HDFS-3737
> URL: https://issues.apache.org/jira/browse/HDFS-3737
> Project: Hadoop HDFS
>  Issue Type: Bug
>Affects Versions: 2.2.0-alpha
>Reporter: Alejandro Abdelnur
>Assignee: Tsz Wo (Nicholas), SZE
>Priority: Blocker
> Fix For: 2.2.0-alpha
>
> Attachments: h3737_20120730.patch
>
>
> HDFS-3667 is breaking HttpFS testcases:
> {code}
> Running org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem
> Tests run: 30, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 14.585 sec 
> <<< FAILURE!
> Results :
> Tests in error: 
>   testOperation[1](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem): 
> Unexpected HTTP response: code=200 != 307, op=OPEN, message=OK
>   
> testOperationDoAs[1](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem): 
> Unexpected HTTP response: code=200 != 307, op=OPEN, message=OK
>   testOperation[2](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem)
>   testOperationDoAs[2](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem)
>   testOperation[3](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem): 
> Unexpected HTTP response: code=400 != 200, op=APPEND, message=Data upload 
> requests must have content-type set to 'application/octet-stream'
>   
> testOperationDoAs[3](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem): 
> Unexpected HTTP response: code=400 != 200, op=APPEND, message=Data upload 
> requests must have content-type set to 'application/octet-stream'
>   testOperation[13](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem): 
> Unexpected HTTP response: code=200 != 307, op=GETFILECHECKSUM, message=OK
>   
> testOperationDoAs[13](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem):
>  Unexpected HTTP response: code=200 != 307, op=GETFILECHECKSUM, message=OK
> Tests run: 30, Failures: 0, Errors: 8, Skipped: 0
> {code}

--
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-3737) retry support for webhdfs is breaking HttpFS support

2012-07-30 Thread Tsz Wo (Nicholas), SZE (JIRA)

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

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

Attachment: h3737_20120730.patch

h3737_20120730.patch: fixes the bug.

I probably should revert HDFS-3667.

> retry support for webhdfs is breaking HttpFS support
> 
>
> Key: HDFS-3737
> URL: https://issues.apache.org/jira/browse/HDFS-3737
> Project: Hadoop HDFS
>  Issue Type: Bug
>Affects Versions: 2.2.0-alpha
>Reporter: Alejandro Abdelnur
>Assignee: Tsz Wo (Nicholas), SZE
>Priority: Blocker
> Fix For: 2.2.0-alpha
>
> Attachments: h3737_20120730.patch
>
>
> HDFS-3667 is breaking HttpFS testcases:
> {code}
> Running org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem
> Tests run: 30, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 14.585 sec 
> <<< FAILURE!
> Results :
> Tests in error: 
>   testOperation[1](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem): 
> Unexpected HTTP response: code=200 != 307, op=OPEN, message=OK
>   
> testOperationDoAs[1](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem): 
> Unexpected HTTP response: code=200 != 307, op=OPEN, message=OK
>   testOperation[2](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem)
>   testOperationDoAs[2](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem)
>   testOperation[3](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem): 
> Unexpected HTTP response: code=400 != 200, op=APPEND, message=Data upload 
> requests must have content-type set to 'application/octet-stream'
>   
> testOperationDoAs[3](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem): 
> Unexpected HTTP response: code=400 != 200, op=APPEND, message=Data upload 
> requests must have content-type set to 'application/octet-stream'
>   testOperation[13](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem): 
> Unexpected HTTP response: code=200 != 307, op=GETFILECHECKSUM, message=OK
>   
> testOperationDoAs[13](org.apache.hadoop.fs.http.client.TestWebhdfsFileSystem):
>  Unexpected HTTP response: code=200 != 307, op=GETFILECHECKSUM, message=OK
> Tests run: 30, Failures: 0, Errors: 8, Skipped: 0
> {code}

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