[ https://issues.apache.org/jira/browse/HDFS-7818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14331968#comment-14331968 ]
Hadoop QA commented on HDFS-7818: --------------------------------- {color:green}+1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12700059/HDFS-7818.v2.txt against trunk revision 709ff99. {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 1 new or modified test files. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 javadoc{color}. There were no new javadoc 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 2.0.3) warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 core tests{color}. The patch passed unit tests in hadoop-hdfs-project/hadoop-hdfs. Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/9638//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/9638//console This message is automatically generated. > FsShell -text over webhdfs fails with NPE in DN > ----------------------------------------------- > > Key: HDFS-7818 > URL: https://issues.apache.org/jira/browse/HDFS-7818 > Project: Hadoop HDFS > Issue Type: Bug > Components: webhdfs > Affects Versions: 2.7.0 > Reporter: Eric Payne > Assignee: Eric Payne > Attachments: HDFS-7818.v1.txt, HDFS-7818.v2.txt > > > This is a regression in 2.7 and later. > {{hadoop fs -cat}} over webhdfs works, but {{hadoop fs -text}} does not: > {code} > $ hadoop fs -cat webhdfs://myhost.com/tmp/test.1 > ... output ... > $ hadoop fs -text webhdfs://myhost.com/tmp/test.1 > text: org.apache.hadoop.ipc.RemoteException(java.lang.NullPointerException): > null > at > org.apache.hadoop.hdfs.web.JsonUtil.toRemoteException(JsonUtil.java:165) > at > org.apache.hadoop.hdfs.web.WebHdfsFileSystem.validateResponse(WebHdfsFileSystem.java:358) > at > org.apache.hadoop.hdfs.web.WebHdfsFileSystem.access$200(WebHdfsFileSystem.java:91) > at > org.apache.hadoop.hdfs.web.WebHdfsFileSystem$AbstractRunner.runWithRetry(WebHdfsFileSystem.java:615) > at > org.apache.hadoop.hdfs.web.WebHdfsFileSystem$AbstractRunner.access$100(WebHdfsFileSystem.java:463) > at > org.apache.hadoop.hdfs.web.WebHdfsFileSystem$AbstractRunner$1.run(WebHdfsFileSystem.java:492) > ... > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)