hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4865) Remove sub resource warning from httpfs log at startup time
Date Thu, 30 May 2013 13:15:30 GMT

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

Hudson commented on HDFS-4865:
------------------------------

Integrated in Hadoop-Hdfs-trunk #1415 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1415/])
    HDFS-4865. Remove sub resource warning from httpfs log at startup time. (ywskycn via tucu)
(Revision 1487616)

     Result = FAILURE
tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1487616
Files : 
* /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/CHANGES.txt

                
> Remove sub resource warning from httpfs log at startup time
> -----------------------------------------------------------
>
>                 Key: HDFS-4865
>                 URL: https://issues.apache.org/jira/browse/HDFS-4865
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.0.4-alpha
>            Reporter: Wei Yan
>            Assignee: Wei Yan
>             Fix For: 2.0.5-beta
>
>         Attachments: HDFS-4865.patch
>
>
> When httpfs starts, the httpfs-catalina log shows the following warning.
> {code}
> WARNING: A sub-resource method, public javax.ws.rs.core.Response org.apache.hadoop.fs.http.server.HttpFSServer.getRoot(java.security.Principal,org.apache.hadoop.fs.http.server.HttpFSParametersProvider$OperationParam,org.apache.hadoop.lib.wsrs.Parameters)
throws java.io.IOException,org.apache.hadoop.lib.service.FileSystemAccessException, with URI
template, "/", is treated as a resource method
> {code}
>  
> This is happening because the method annotated for default resource path has the {{@Path("/")}}
annotation, removing this annotation eliminates the warning.

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

Mime
View raw message