[
https://issues.apache.org/jira/browse/HDFS-4943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13695981#comment-13695981
]
Hadoop QA commented on HDFS-4943:
---------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12590107/HDFS-4943-trunk.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
{color:red}-1 tests included{color}. The patch doesn't appear to include
any new or modified tests.
Please justify why no new tests are needed for this
patch.
Also please list what manual steps were performed to
verify this patch.
{color:green}+1 javac{color}. The applied patch does not increase the
total number of javac compiler warnings.
{color:green}+1 javadoc{color}. The javadoc tool did not generate any
warning messages.
{color:green}+1 eclipse:eclipse{color}. The patch built with
eclipse:eclipse.
{color:green}+1 findbugs{color}. The patch does not introduce any new
Findbugs (version 1.3.9) warnings.
{color:green}+1 release audit{color}. The applied patch does not increase
the total number of release audit warnings.
{color:red}-1 core tests{color}. The patch failed these unit tests in
hadoop-hdfs-project/hadoop-hdfs:
org.apache.hadoop.hdfs.server.balancer.TestBalancerWithNodeGroup
{color:green}+1 contrib tests{color}. The patch passed contrib unit tests.
Test results:
https://builds.apache.org/job/PreCommit-HDFS-Build/4577//testReport/
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/4577//console
This message is automatically generated.
> WebHdfsFileSystem does not work when original file path has encoded chars
> --------------------------------------------------------------------------
>
> Key: HDFS-4943
> URL: https://issues.apache.org/jira/browse/HDFS-4943
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: webhdfs
> Affects Versions: 1.2.0, 1.1.2, 2.0.4-alpha
> Reporter: Jerry He
> Priority: Minor
> Fix For: 2.1.0-beta
>
> Attachments: HDFS-4943-trunk.patch
>
>
> In HBase, the WAL (hlog) file name on hdfs is URL encoded. For example,
> hdtest010%2C60020%2C1371000602151.1371058984668
> When we use webhdfs client to access the hlog file via httpfs, it does not
> work in this case.
> $ hadoop fs -ls hdfs:///user/biadmin/hbase_hlogs
>
> Found 1 items
> -rw-r--r-- 3 biadmin supergroup 15049470 2013-06-12 10:45
> /user/biadmin/hbase_hlogs/hdtest010%2C60020%2C1371000602151.1371058984668
> $ hadoop fs -ls
> hdfs:///user/biadmin/hbase_hlogs/hdtest010%2C60020%2C1371000602151.1371058984668
> Found 1 items
> -rw-r--r-- 3 biadmin supergroup 15049470 2013-06-12 10:45
> /user/biadmin/hbase_hlogs/hdtest010%2C60020%2C1371000602151.1371058984668
> $ hadoop fs -ls webhdfs://hdtest010:14000/user/biadmin/hbase_hlogs
> Found 1 items
> -rw-r--r-- 3 biadmin supergroup 15049470 2013-06-12 10:45
> /user/biadmin/hbase_hlogs/hdtest010%2C60020%2C1371000602151.1371058984668
> $
> $ hadoop fs -ls
> webhdfs://hdtest010:14000/user/biadmin/hbase_hlogs/hdtest010%2C60020%2C1371000602151.1371058984668
> 13/06/27 18:36:08 DEBUG web.WebHdfsFileSystem: Original exception is
> org.apache.hadoop.ipc.RemoteException:java.io.FileNotFoundException:File does
> not exist:
> /user/biadmin/hbase_hlogs/hdtest010,60020,1371000602151.1371058984668
> at
> org.apache.hadoop.hdfs.web.JsonUtil.toRemoteException(JsonUtil.java:114)
> at
> org.apache.hadoop.hdfs.web.WebHdfsFileSystem.validateResponse(WebHdfsFileSystem.java:299)
> at
> org.apache.hadoop.hdfs.web.WebHdfsFileSystem.access$500(WebHdfsFileSystem.java:104)
> at
> org.apache.hadoop.hdfs.web.WebHdfsFileSystem$Runner.getResponse(WebHdfsFileSystem.java:641)
> at
> org.apache.hadoop.hdfs.web.WebHdfsFileSystem$Runner.run(WebHdfsFileSystem.java:538)
> at
> org.apache.hadoop.hdfs.web.WebHdfsFileSystem.run(WebHdfsFileSystem.java:468)
> at
> org.apache.hadoop.hdfs.web.WebHdfsFileSystem.getHdfsFileStatus(WebHdfsFileSystem.java:662)
> at
> org.apache.hadoop.hdfs.web.WebHdfsFileSystem.getFileStatus(WebHdfsFileSystem.java:673)
> at org.apache.hadoop.fs.FileSystem.getFileStatus(FileSystem.java:1365)
> at
> org.apache.hadoop.fs.FileSystem.globStatusInternal(FileSystem.java:1048)
> at org.apache.hadoop.fs.FileSystem.globStatus(FileSystem.java:987)
> at org.apache.hadoop.fs.FileSystem.globStatus(FileSystem.java:965)
> at org.apache.hadoop.fs.FsShell.ls(FsShell.java:573)
> at org.apache.hadoop.fs.FsShell.doall(FsShell.java:1571)
> at org.apache.hadoop.fs.FsShell.run(FsShell.java:1789)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> at org.apache.hadoop.fs.FsShell.main(FsShell.java:1895)
> ls: Cannot access
> webhdfs://hdtest010:14000/user/biadmin/hbase_hlogs/hdtest010%2C60020%2C1371000602151.1371058984668:
> No such file or directory.
--
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