You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2011/08/30 12:57:38 UTC
[jira] [Created] (HADOOP-7594) Support HTTP REST in HttpServer
Support HTTP REST in HttpServer
-------------------------------
Key: HADOOP-7594
URL: https://issues.apache.org/jira/browse/HADOOP-7594
Project: Hadoop Common
Issue Type: New Feature
Reporter: Tsz Wo (Nicholas), SZE
Assignee: Tsz Wo (Nicholas), SZE
Provide an API in HttpServer for supporting HTTP REST.
This is a part of HDFS-2284.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7594) Support HTTP REST in HttpServer
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HADOOP-7594:
-------------------------------------------
Attachment: c7594_20110831_0.20s.patch
c7594_20110831_0.20s.patch: for 0.20s.
> Support HTTP REST in HttpServer
> -------------------------------
>
> Key: HADOOP-7594
> URL: https://issues.apache.org/jira/browse/HADOOP-7594
> Project: Hadoop Common
> Issue Type: New Feature
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 0.23.0, 0.24.0
>
> Attachments: c7594_20110830.patch, c7594_20110830b.patch, c7594_20110831.patch, c7594_20110831_0.20s.patch
>
>
> Provide an API in HttpServer for supporting HTTP REST.
> This is a part of HDFS-2284.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7594) Support HTTP REST in HttpServer
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HADOOP-7594:
-------------------------------------------
Attachment: c7594_20110830b.patch
c7594_20110830b.patch: updated with trunk.
> Support HTTP REST in HttpServer
> -------------------------------
>
> Key: HADOOP-7594
> URL: https://issues.apache.org/jira/browse/HADOOP-7594
> Project: Hadoop Common
> Issue Type: New Feature
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: c7594_20110830.patch, c7594_20110830b.patch
>
>
> Provide an API in HttpServer for supporting HTTP REST.
> This is a part of HDFS-2284.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7594) Support HTTP REST in HttpServer
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093747#comment-13093747 ]
Tsz Wo (Nicholas), SZE commented on HADOOP-7594:
------------------------------------------------
The findbugs warnings were from hadoop-auth. The failed tests were not related to the patch. They were Avro related or failed with NoSuchMethodError/NoSuchClassError.
> Support HTTP REST in HttpServer
> -------------------------------
>
> Key: HADOOP-7594
> URL: https://issues.apache.org/jira/browse/HADOOP-7594
> Project: Hadoop Common
> Issue Type: New Feature
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: c7594_20110830.patch
>
>
> Provide an API in HttpServer for supporting HTTP REST.
> This is a part of HDFS-2284.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7594) Support HTTP REST in HttpServer
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13095274#comment-13095274 ]
Hudson commented on HADOOP-7594:
--------------------------------
Integrated in Hadoop-Hdfs-trunk #779 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/779/])
HADOOP-7594. Support HTTP REST in HttpServer.
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1163858
Files :
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/pom.xml
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/http/HttpServer.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/TestHttpServer.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/resource
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/resource/JerseyResource.java
* /hadoop/common/trunk/hadoop-project/pom.xml
> Support HTTP REST in HttpServer
> -------------------------------
>
> Key: HADOOP-7594
> URL: https://issues.apache.org/jira/browse/HADOOP-7594
> Project: Hadoop Common
> Issue Type: New Feature
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 0.23.0, 0.24.0
>
> Attachments: c7594_20110830.patch, c7594_20110830b.patch, c7594_20110831.patch
>
>
> Provide an API in HttpServer for supporting HTTP REST.
> This is a part of HDFS-2284.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7594) Support HTTP REST in HttpServer
Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094942#comment-13094942 ]
Alejandro Abdelnur commented on HADOOP-7594:
--------------------------------------------
from POM side looks good.
> Support HTTP REST in HttpServer
> -------------------------------
>
> Key: HADOOP-7594
> URL: https://issues.apache.org/jira/browse/HADOOP-7594
> Project: Hadoop Common
> Issue Type: New Feature
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: c7594_20110830.patch, c7594_20110830b.patch, c7594_20110831.patch
>
>
> Provide an API in HttpServer for supporting HTTP REST.
> This is a part of HDFS-2284.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7594) Support HTTP REST in HttpServer
Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094807#comment-13094807 ]
Suresh Srinivas commented on HADOOP-7594:
-----------------------------------------
Minor comments:
# Add javadoc to JerseyResource.
# More comments to addResourcePackage related to the arguments will be nice.
+1 for the patch.
> Support HTTP REST in HttpServer
> -------------------------------
>
> Key: HADOOP-7594
> URL: https://issues.apache.org/jira/browse/HADOOP-7594
> Project: Hadoop Common
> Issue Type: New Feature
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: c7594_20110830.patch, c7594_20110830b.patch
>
>
> Provide an API in HttpServer for supporting HTTP REST.
> This is a part of HDFS-2284.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7594) Support HTTP REST in HttpServer
Posted by "Luke Lu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13095002#comment-13095002 ]
Luke Lu commented on HADOOP-7594:
---------------------------------
It's unfortunate that hadoop-common becomes a kitchen sink. o.a.h.fs.s3, o.a.h.fs.kfs, o.a.h.fs.ftp and now o.a.h.fs.http should really be in their own modules (it's easy now thanks to the mavenization effort).
Jersey dependencies in HttpServer (and hadoop-common) is not necessary and the new method violates the HttpServer abstraction which is to hide the actual server implementations (note, there is no jetty stuff leaked out of HttpServer). We just need a more generalized form of addServlet so init parameters can be set.
Opening a JIRA to address this.
> Support HTTP REST in HttpServer
> -------------------------------
>
> Key: HADOOP-7594
> URL: https://issues.apache.org/jira/browse/HADOOP-7594
> Project: Hadoop Common
> Issue Type: New Feature
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 0.23.0, 0.24.0
>
> Attachments: c7594_20110830.patch, c7594_20110830b.patch, c7594_20110831.patch
>
>
> Provide an API in HttpServer for supporting HTTP REST.
> This is a part of HDFS-2284.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7594) Support HTTP REST in HttpServer
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094977#comment-13094977 ]
Tsz Wo (Nicholas), SZE commented on HADOOP-7594:
------------------------------------------------
> -1 patch. The patch command could not apply the patch.
It was due to HADOOP-7598. The patch is fine.
> Support HTTP REST in HttpServer
> -------------------------------
>
> Key: HADOOP-7594
> URL: https://issues.apache.org/jira/browse/HADOOP-7594
> Project: Hadoop Common
> Issue Type: New Feature
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: c7594_20110830.patch, c7594_20110830b.patch, c7594_20110831.patch
>
>
> Provide an API in HttpServer for supporting HTTP REST.
> This is a part of HDFS-2284.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7594) Support HTTP REST in HttpServer
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13095282#comment-13095282 ]
Hudson commented on HADOOP-7594:
--------------------------------
Integrated in Hadoop-Mapreduce-trunk #803 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/803/])
HADOOP-7594. Support HTTP REST in HttpServer.
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1163858
Files :
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/pom.xml
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/http/HttpServer.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/TestHttpServer.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/resource
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/resource/JerseyResource.java
* /hadoop/common/trunk/hadoop-project/pom.xml
> Support HTTP REST in HttpServer
> -------------------------------
>
> Key: HADOOP-7594
> URL: https://issues.apache.org/jira/browse/HADOOP-7594
> Project: Hadoop Common
> Issue Type: New Feature
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 0.23.0, 0.24.0
>
> Attachments: c7594_20110830.patch, c7594_20110830b.patch, c7594_20110831.patch
>
>
> Provide an API in HttpServer for supporting HTTP REST.
> This is a part of HDFS-2284.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7594) Support HTTP REST in HttpServer
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094244#comment-13094244 ]
Hadoop QA commented on HADOOP-7594:
-----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12492226/c7594_20110830.patch
against trunk revision .
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 6 new or modified tests.
-1 patch. The patch command could not apply the patch.
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/106//console
This message is automatically generated.
> Support HTTP REST in HttpServer
> -------------------------------
>
> Key: HADOOP-7594
> URL: https://issues.apache.org/jira/browse/HADOOP-7594
> Project: Hadoop Common
> Issue Type: New Feature
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: c7594_20110830.patch
>
>
> Provide an API in HttpServer for supporting HTTP REST.
> This is a part of HDFS-2284.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7594) Support HTTP REST in HttpServer
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HADOOP-7594:
-------------------------------------------
Resolution: Fixed
Fix Version/s: 0.24.0
0.23.0
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
I have committed this.
> Support HTTP REST in HttpServer
> -------------------------------
>
> Key: HADOOP-7594
> URL: https://issues.apache.org/jira/browse/HADOOP-7594
> Project: Hadoop Common
> Issue Type: New Feature
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 0.23.0, 0.24.0
>
> Attachments: c7594_20110830.patch, c7594_20110830b.patch, c7594_20110831.patch
>
>
> Provide an API in HttpServer for supporting HTTP REST.
> This is a part of HDFS-2284.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7594) Support HTTP REST in HttpServer
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13095158#comment-13095158 ]
Hudson commented on HADOOP-7594:
--------------------------------
Integrated in Hadoop-Mapreduce-trunk-Commit #827 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/827/])
HADOOP-7594. Support HTTP REST in HttpServer.
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1163858
Files :
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/pom.xml
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/http/HttpServer.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/TestHttpServer.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/resource
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/resource/JerseyResource.java
* /hadoop/common/trunk/hadoop-project/pom.xml
> Support HTTP REST in HttpServer
> -------------------------------
>
> Key: HADOOP-7594
> URL: https://issues.apache.org/jira/browse/HADOOP-7594
> Project: Hadoop Common
> Issue Type: New Feature
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 0.23.0, 0.24.0
>
> Attachments: c7594_20110830.patch, c7594_20110830b.patch, c7594_20110831.patch
>
>
> Provide an API in HttpServer for supporting HTTP REST.
> This is a part of HDFS-2284.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7594) Support HTTP REST in HttpServer
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13095150#comment-13095150 ]
Hudson commented on HADOOP-7594:
--------------------------------
Integrated in Hadoop-Common-trunk-Commit #817 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/817/])
HADOOP-7594. Support HTTP REST in HttpServer.
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1163858
Files :
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/pom.xml
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/http/HttpServer.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/TestHttpServer.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/resource
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/resource/JerseyResource.java
* /hadoop/common/trunk/hadoop-project/pom.xml
> Support HTTP REST in HttpServer
> -------------------------------
>
> Key: HADOOP-7594
> URL: https://issues.apache.org/jira/browse/HADOOP-7594
> Project: Hadoop Common
> Issue Type: New Feature
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 0.23.0, 0.24.0
>
> Attachments: c7594_20110830.patch, c7594_20110830b.patch, c7594_20110831.patch
>
>
> Provide an API in HttpServer for supporting HTTP REST.
> This is a part of HDFS-2284.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7594) Support HTTP REST in HttpServer
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HADOOP-7594:
-------------------------------------------
Fix Version/s: 0.20.205.0
Committed this to 0.20s.
> Support HTTP REST in HttpServer
> -------------------------------
>
> Key: HADOOP-7594
> URL: https://issues.apache.org/jira/browse/HADOOP-7594
> Project: Hadoop Common
> Issue Type: New Feature
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 0.20.205.0, 0.23.0, 0.24.0
>
> Attachments: c7594_20110830.patch, c7594_20110830b.patch, c7594_20110831.patch, c7594_20110831_0.20s.patch
>
>
> Provide an API in HttpServer for supporting HTTP REST.
> This is a part of HDFS-2284.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7594) Support HTTP REST in HttpServer
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13095153#comment-13095153 ]
Hudson commented on HADOOP-7594:
--------------------------------
Integrated in Hadoop-Hdfs-trunk-Commit #894 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/894/])
HADOOP-7594. Support HTTP REST in HttpServer.
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1163858
Files :
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/pom.xml
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/http/HttpServer.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/TestHttpServer.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/resource
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/resource/JerseyResource.java
* /hadoop/common/trunk/hadoop-project/pom.xml
> Support HTTP REST in HttpServer
> -------------------------------
>
> Key: HADOOP-7594
> URL: https://issues.apache.org/jira/browse/HADOOP-7594
> Project: Hadoop Common
> Issue Type: New Feature
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 0.23.0, 0.24.0
>
> Attachments: c7594_20110830.patch, c7594_20110830b.patch, c7594_20110831.patch
>
>
> Provide an API in HttpServer for supporting HTTP REST.
> This is a part of HDFS-2284.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7594) Support HTTP REST in HttpServer
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094947#comment-13094947 ]
Hadoop QA commented on HADOOP-7594:
-----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12492532/c7594_20110831.patch
against trunk revision .
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 6 new or modified tests.
-1 patch. The patch command could not apply the patch.
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/114//console
This message is automatically generated.
> Support HTTP REST in HttpServer
> -------------------------------
>
> Key: HADOOP-7594
> URL: https://issues.apache.org/jira/browse/HADOOP-7594
> Project: Hadoop Common
> Issue Type: New Feature
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: c7594_20110830.patch, c7594_20110830b.patch, c7594_20110831.patch
>
>
> Provide an API in HttpServer for supporting HTTP REST.
> This is a part of HDFS-2284.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7594) Support HTTP REST in HttpServer
Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094839#comment-13094839 ]
Alejandro Abdelnur commented on HADOOP-7594:
--------------------------------------------
The Jersey artifacts with version should be added to the hadoop-project/pom.xml in the dependency management section.
In the hadoop-common-project/hadoop-common/pom.xml they should be without version tag.
By doing this, all dependencies versions are tracked/managed from one location for the whole project.
> Support HTTP REST in HttpServer
> -------------------------------
>
> Key: HADOOP-7594
> URL: https://issues.apache.org/jira/browse/HADOOP-7594
> Project: Hadoop Common
> Issue Type: New Feature
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: c7594_20110830.patch, c7594_20110830b.patch
>
>
> Provide an API in HttpServer for supporting HTTP REST.
> This is a part of HDFS-2284.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7594) Support HTTP REST in HttpServer
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HADOOP-7594:
-------------------------------------------
Status: Patch Available (was: Open)
> Support HTTP REST in HttpServer
> -------------------------------
>
> Key: HADOOP-7594
> URL: https://issues.apache.org/jira/browse/HADOOP-7594
> Project: Hadoop Common
> Issue Type: New Feature
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: c7594_20110830.patch
>
>
> Provide an API in HttpServer for supporting HTTP REST.
> This is a part of HDFS-2284.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7594) Support HTTP REST in HttpServer
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13095057#comment-13095057 ]
Tsz Wo (Nicholas), SZE commented on HADOOP-7594:
------------------------------------------------
> ... new method violates the HttpServer abstraction which is to hide the actual server implementations (note, there is no jetty stuff leaked out of HttpServer). ...
I don't agree that. Firstly, the new method requires packageName and pathSpec as parameters. They are strings but not Jetty specific. Secondly, there are existing public methods requiring Jetty class as a parameter, e.g. the ctxt parameter in {{public void addContext(Context ctxt, boolean isFiltered)}}. So the abstraction is not as clear as suggested.
Anyway, it would be great if you would like to improve it.
> Support HTTP REST in HttpServer
> -------------------------------
>
> Key: HADOOP-7594
> URL: https://issues.apache.org/jira/browse/HADOOP-7594
> Project: Hadoop Common
> Issue Type: New Feature
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 0.23.0, 0.24.0
>
> Attachments: c7594_20110830.patch, c7594_20110830b.patch, c7594_20110831.patch
>
>
> Provide an API in HttpServer for supporting HTTP REST.
> This is a part of HDFS-2284.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7594) Support HTTP REST in HttpServer
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HADOOP-7594:
-------------------------------------------
Attachment: c7594_20110830.patch
c7594_20110830.patch: added HttpServer.addJerseyResourcePackage(..).
> Support HTTP REST in HttpServer
> -------------------------------
>
> Key: HADOOP-7594
> URL: https://issues.apache.org/jira/browse/HADOOP-7594
> Project: Hadoop Common
> Issue Type: New Feature
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: c7594_20110830.patch
>
>
> Provide an API in HttpServer for supporting HTTP REST.
> This is a part of HDFS-2284.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7594) Support HTTP REST in HttpServer
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093660#comment-13093660 ]
Hadoop QA commented on HADOOP-7594:
-----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12492226/c7594_20110830.patch
against trunk revision .
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 6 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 4 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.ipc.TestAvroRpc
org.apache.hadoop.fs.TestPath
org.apache.hadoop.conf.TestConfiguration
org.apache.hadoop.io.serializer.avro.TestAvroSerialization
org.apache.hadoop.io.TestEnumSetWritable
org.apache.hadoop.io.TestText
+1 contrib tests. The patch passed contrib unit tests.
Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/100//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HADOOP-Build/100//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-auth.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HADOOP-Build/100//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-common.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HADOOP-Build/100//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-annotations.html
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/100//console
This message is automatically generated.
> Support HTTP REST in HttpServer
> -------------------------------
>
> Key: HADOOP-7594
> URL: https://issues.apache.org/jira/browse/HADOOP-7594
> Project: Hadoop Common
> Issue Type: New Feature
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: c7594_20110830.patch
>
>
> Provide an API in HttpServer for supporting HTTP REST.
> This is a part of HDFS-2284.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7594) Support HTTP REST in HttpServer
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13095058#comment-13095058 ]
Tsz Wo (Nicholas), SZE commented on HADOOP-7594:
------------------------------------------------
> ... new method violates the HttpServer abstraction which is to hide the actual server implementations (note, there is no jetty stuff leaked out of HttpServer). ...
I don't agree that. Firstly, the new method requires packageName and pathSpec as parameters. They are strings but not Jetty specific. Secondly, there are existing public methods requiring Jetty class as a parameter, e.g. the ctxt parameter in {{public void addContext(Context ctxt, boolean isFiltered)}}. So the abstraction is not as clear as suggested.
Anyway, it would be great if you would like to improve it.
> Support HTTP REST in HttpServer
> -------------------------------
>
> Key: HADOOP-7594
> URL: https://issues.apache.org/jira/browse/HADOOP-7594
> Project: Hadoop Common
> Issue Type: New Feature
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 0.23.0, 0.24.0
>
> Attachments: c7594_20110830.patch, c7594_20110830b.patch, c7594_20110831.patch
>
>
> Provide an API in HttpServer for supporting HTTP REST.
> This is a part of HDFS-2284.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7594) Support HTTP REST in HttpServer
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HADOOP-7594:
-------------------------------------------
Attachment: c7594_20110831.patch
Thanks Suresh and Alejandro for the reviews.
c7594_20110831.patch: added javadoc and fixed pom.xml.
> Support HTTP REST in HttpServer
> -------------------------------
>
> Key: HADOOP-7594
> URL: https://issues.apache.org/jira/browse/HADOOP-7594
> Project: Hadoop Common
> Issue Type: New Feature
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: c7594_20110830.patch, c7594_20110830b.patch, c7594_20110831.patch
>
>
> Provide an API in HttpServer for supporting HTTP REST.
> This is a part of HDFS-2284.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7594) Support HTTP REST in HttpServer
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094255#comment-13094255 ]
Hadoop QA commented on HADOOP-7594:
-----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12492405/c7594_20110830b.patch
against trunk revision .
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 6 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.ipc.TestAvroRpc
org.apache.hadoop.fs.TestPath
org.apache.hadoop.conf.TestConfiguration
org.apache.hadoop.io.serializer.avro.TestAvroSerialization
org.apache.hadoop.io.TestEnumSetWritable
org.apache.hadoop.io.TestText
+1 contrib tests. The patch passed contrib unit tests.
Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/107//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HADOOP-Build/107//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-auth.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HADOOP-Build/107//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-common.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HADOOP-Build/107//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-annotations.html
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/107//console
This message is automatically generated.
> Support HTTP REST in HttpServer
> -------------------------------
>
> Key: HADOOP-7594
> URL: https://issues.apache.org/jira/browse/HADOOP-7594
> Project: Hadoop Common
> Issue Type: New Feature
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: c7594_20110830.patch, c7594_20110830b.patch
>
>
> Provide an API in HttpServer for supporting HTTP REST.
> This is a part of HDFS-2284.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira