You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Alejandro Abdelnur (JIRA)" <ji...@apache.org> on 2012/04/24 05:36:39 UTC
[jira] [Created] (HDFS-3314) HttpFS operation for getHomeDirectory
is incorrect
Alejandro Abdelnur created HDFS-3314:
----------------------------------------
Summary: HttpFS operation for getHomeDirectory is incorrect
Key: HDFS-3314
URL: https://issues.apache.org/jira/browse/HDFS-3314
Project: Hadoop HDFS
Issue Type: Bug
Affects Versions: 2.0.0, 3.0.0
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
Fix For: 2.0.0
HttpFS is using GETHOMEDIR when it should be using GETHOMEDIRECTORY based on the WebHdfs HTTP API spec
--
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-3314) HttpFS operation for
getHomeDirectory is incorrect
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13261608#comment-13261608 ]
Hudson commented on HDFS-3314:
------------------------------
Integrated in Hadoop-Hdfs-trunk #1025 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1025/])
HDFS-3314. HttpFS operation for getHomeDirectory is incorrect. (tucu) (Revision 1329715)
Result = FAILURE
tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1329715
Files :
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/client/HttpFSFileSystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSServer.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/test/java/org/apache/hadoop/fs/http/server/TestCheckUploadContentTypeFilter.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
> HttpFS operation for getHomeDirectory is incorrect
> --------------------------------------------------
>
> Key: HDFS-3314
> URL: https://issues.apache.org/jira/browse/HDFS-3314
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 2.0.0, 3.0.0
> Reporter: Alejandro Abdelnur
> Assignee: Alejandro Abdelnur
> Fix For: 2.0.0
>
> Attachments: HDFS-3314.patch
>
>
> HttpFS is using GETHOMEDIR when it should be using GETHOMEDIRECTORY based on the WebHdfs HTTP API spec
--
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-3314) HttpFS operation for
getHomeDirectory is incorrect
Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260191#comment-13260191 ]
Eli Collins commented on HDFS-3314:
-----------------------------------
Change looks good, but better to define this problem away via code sharing right? Also, shouldn't the compat test have caught this?
> HttpFS operation for getHomeDirectory is incorrect
> --------------------------------------------------
>
> Key: HDFS-3314
> URL: https://issues.apache.org/jira/browse/HDFS-3314
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 2.0.0, 3.0.0
> Reporter: Alejandro Abdelnur
> Assignee: Alejandro Abdelnur
> Fix For: 2.0.0
>
> Attachments: HDFS-3314.patch
>
>
> HttpFS is using GETHOMEDIR when it should be using GETHOMEDIRECTORY based on the WebHdfs HTTP API spec
--
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-3314) HttpFS operation for
getHomeDirectory is incorrect
Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260210#comment-13260210 ]
Eli Collins commented on HDFS-3314:
-----------------------------------
Sounds good. +1 pending jenkins
> HttpFS operation for getHomeDirectory is incorrect
> --------------------------------------------------
>
> Key: HDFS-3314
> URL: https://issues.apache.org/jira/browse/HDFS-3314
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 2.0.0, 3.0.0
> Reporter: Alejandro Abdelnur
> Assignee: Alejandro Abdelnur
> Fix For: 2.0.0
>
> Attachments: HDFS-3314.patch
>
>
> HttpFS is using GETHOMEDIR when it should be using GETHOMEDIRECTORY based on the WebHdfs HTTP API spec
--
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-3314) HttpFS operation for
getHomeDirectory is incorrect
Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260200#comment-13260200 ]
Alejandro Abdelnur commented on HDFS-3314:
------------------------------------------
This was not caught by the compat test in HttpFS because the WebHdfsFileSystem implementation of getHomeDirectory() does not make web service call but resolves the value locally -via the default implementation of FileSystem.getHomeDirectory().
After adding support for delegation tokens to HttpFS (HDFS-3113, patch coming soon), we'll have function parity between HttpFS and WebHdfs, then it will be easier to tackle code sharing (HDFS-2645).
> HttpFS operation for getHomeDirectory is incorrect
> --------------------------------------------------
>
> Key: HDFS-3314
> URL: https://issues.apache.org/jira/browse/HDFS-3314
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 2.0.0, 3.0.0
> Reporter: Alejandro Abdelnur
> Assignee: Alejandro Abdelnur
> Fix For: 2.0.0
>
> Attachments: HDFS-3314.patch
>
>
> HttpFS is using GETHOMEDIR when it should be using GETHOMEDIRECTORY based on the WebHdfs HTTP API spec
--
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-3314) HttpFS operation for getHomeDirectory
is incorrect
Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alejandro Abdelnur updated HDFS-3314:
-------------------------------------
Attachment: HDFS-3314.patch
> HttpFS operation for getHomeDirectory is incorrect
> --------------------------------------------------
>
> Key: HDFS-3314
> URL: https://issues.apache.org/jira/browse/HDFS-3314
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 2.0.0, 3.0.0
> Reporter: Alejandro Abdelnur
> Assignee: Alejandro Abdelnur
> Fix For: 2.0.0
>
> Attachments: HDFS-3314.patch
>
>
> HttpFS is using GETHOMEDIR when it should be using GETHOMEDIRECTORY based on the WebHdfs HTTP API spec
--
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-3314) HttpFS operation for
getHomeDirectory is incorrect
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260580#comment-13260580 ]
Hudson commented on HDFS-3314:
------------------------------
Integrated in Hadoop-Mapreduce-trunk-Commit #2141 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2141/])
HDFS-3314. HttpFS operation for getHomeDirectory is incorrect. (tucu) (Revision 1329715)
Result = SUCCESS
tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1329715
Files :
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/client/HttpFSFileSystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSServer.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/test/java/org/apache/hadoop/fs/http/server/TestCheckUploadContentTypeFilter.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
> HttpFS operation for getHomeDirectory is incorrect
> --------------------------------------------------
>
> Key: HDFS-3314
> URL: https://issues.apache.org/jira/browse/HDFS-3314
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 2.0.0, 3.0.0
> Reporter: Alejandro Abdelnur
> Assignee: Alejandro Abdelnur
> Fix For: 2.0.0
>
> Attachments: HDFS-3314.patch
>
>
> HttpFS is using GETHOMEDIR when it should be using GETHOMEDIRECTORY based on the WebHdfs HTTP API spec
--
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-3314) HttpFS operation for
getHomeDirectory is incorrect
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260218#comment-13260218 ]
Hadoop QA commented on HDFS-3314:
---------------------------------
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12523913/HDFS-3314.patch
against trunk revision .
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 1 new or modified test files.
+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 eclipse:eclipse. The patch built with eclipse:eclipse.
+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/2317//testReport/
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/2317//console
This message is automatically generated.
> HttpFS operation for getHomeDirectory is incorrect
> --------------------------------------------------
>
> Key: HDFS-3314
> URL: https://issues.apache.org/jira/browse/HDFS-3314
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 2.0.0, 3.0.0
> Reporter: Alejandro Abdelnur
> Assignee: Alejandro Abdelnur
> Fix For: 2.0.0
>
> Attachments: HDFS-3314.patch
>
>
> HttpFS is using GETHOMEDIR when it should be using GETHOMEDIRECTORY based on the WebHdfs HTTP API spec
--
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-3314) HttpFS operation for
getHomeDirectory is incorrect
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260558#comment-13260558 ]
Hudson commented on HDFS-3314:
------------------------------
Integrated in Hadoop-Hdfs-trunk-Commit #2199 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2199/])
HDFS-3314. HttpFS operation for getHomeDirectory is incorrect. (tucu) (Revision 1329715)
Result = SUCCESS
tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1329715
Files :
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/client/HttpFSFileSystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSServer.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/test/java/org/apache/hadoop/fs/http/server/TestCheckUploadContentTypeFilter.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
> HttpFS operation for getHomeDirectory is incorrect
> --------------------------------------------------
>
> Key: HDFS-3314
> URL: https://issues.apache.org/jira/browse/HDFS-3314
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 2.0.0, 3.0.0
> Reporter: Alejandro Abdelnur
> Assignee: Alejandro Abdelnur
> Fix For: 2.0.0
>
> Attachments: HDFS-3314.patch
>
>
> HttpFS is using GETHOMEDIR when it should be using GETHOMEDIRECTORY based on the WebHdfs HTTP API spec
--
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-3314) HttpFS operation for getHomeDirectory
is incorrect
Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alejandro Abdelnur updated HDFS-3314:
-------------------------------------
Status: Patch Available (was: Open)
> HttpFS operation for getHomeDirectory is incorrect
> --------------------------------------------------
>
> Key: HDFS-3314
> URL: https://issues.apache.org/jira/browse/HDFS-3314
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 2.0.0, 3.0.0
> Reporter: Alejandro Abdelnur
> Assignee: Alejandro Abdelnur
> Fix For: 2.0.0
>
> Attachments: HDFS-3314.patch
>
>
> HttpFS is using GETHOMEDIR when it should be using GETHOMEDIRECTORY based on the WebHdfs HTTP API spec
--
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-3314) HttpFS operation for
getHomeDirectory is incorrect
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260560#comment-13260560 ]
Hudson commented on HDFS-3314:
------------------------------
Integrated in Hadoop-Common-trunk-Commit #2125 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2125/])
HDFS-3314. HttpFS operation for getHomeDirectory is incorrect. (tucu) (Revision 1329715)
Result = SUCCESS
tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1329715
Files :
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/client/HttpFSFileSystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSServer.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/test/java/org/apache/hadoop/fs/http/server/TestCheckUploadContentTypeFilter.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
> HttpFS operation for getHomeDirectory is incorrect
> --------------------------------------------------
>
> Key: HDFS-3314
> URL: https://issues.apache.org/jira/browse/HDFS-3314
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 2.0.0, 3.0.0
> Reporter: Alejandro Abdelnur
> Assignee: Alejandro Abdelnur
> Fix For: 2.0.0
>
> Attachments: HDFS-3314.patch
>
>
> HttpFS is using GETHOMEDIR when it should be using GETHOMEDIRECTORY based on the WebHdfs HTTP API spec
--
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-3314) HttpFS operation for getHomeDirectory
is incorrect
Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alejandro Abdelnur updated HDFS-3314:
-------------------------------------
Resolution: Fixed
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
committed to trunk and branch-2
> HttpFS operation for getHomeDirectory is incorrect
> --------------------------------------------------
>
> Key: HDFS-3314
> URL: https://issues.apache.org/jira/browse/HDFS-3314
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 2.0.0, 3.0.0
> Reporter: Alejandro Abdelnur
> Assignee: Alejandro Abdelnur
> Fix For: 2.0.0
>
> Attachments: HDFS-3314.patch
>
>
> HttpFS is using GETHOMEDIR when it should be using GETHOMEDIRECTORY based on the WebHdfs HTTP API spec
--
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-3314) HttpFS operation for
getHomeDirectory is incorrect
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13261622#comment-13261622 ]
Hudson commented on HDFS-3314:
------------------------------
Integrated in Hadoop-Mapreduce-trunk #1060 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1060/])
HDFS-3314. HttpFS operation for getHomeDirectory is incorrect. (tucu) (Revision 1329715)
Result = FAILURE
tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1329715
Files :
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/client/HttpFSFileSystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSServer.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/test/java/org/apache/hadoop/fs/http/server/TestCheckUploadContentTypeFilter.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
> HttpFS operation for getHomeDirectory is incorrect
> --------------------------------------------------
>
> Key: HDFS-3314
> URL: https://issues.apache.org/jira/browse/HDFS-3314
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 2.0.0, 3.0.0
> Reporter: Alejandro Abdelnur
> Assignee: Alejandro Abdelnur
> Fix For: 2.0.0
>
> Attachments: HDFS-3314.patch
>
>
> HttpFS is using GETHOMEDIR when it should be using GETHOMEDIRECTORY based on the WebHdfs HTTP API spec
--
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