You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Wei Yan (JIRA)" <ji...@apache.org> on 2013/05/29 21:10:20 UTC
[jira] [Created] (HDFS-4865) Remove sub resource warning from
httpfs log at startup time
Wei Yan created HDFS-4865:
-----------------------------
Summary: 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
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