Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 340F117812 for ; Fri, 6 Mar 2015 15:21:43 +0000 (UTC) Received: (qmail 95863 invoked by uid 500); 6 Mar 2015 15:21:40 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 95813 invoked by uid 500); 6 Mar 2015 15:21:39 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 95799 invoked by uid 99); 6 Mar 2015 15:21:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Mar 2015 15:21:39 +0000 Date: Fri, 6 Mar 2015 15:21:39 +0000 (UTC) From: "Hadoop QA (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-7818) DataNode throws NPE if the WebHdfs URL does not contain the offset parameter MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-7818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14350453#comment-14350453 ] Hadoop QA commented on HDFS-7818: --------------------------------- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12703065/HDFS-7818.v5.txt against trunk revision 95bfd08. {color:red}-1 patch{color}. Trunk compilation may be broken. Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/9780//console This message is automatically generated. > DataNode throws NPE if the WebHdfs URL does not contain the offset parameter > ---------------------------------------------------------------------------- > > 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 > Priority: Blocker > Attachments: HDFS-7818.v1.txt, HDFS-7818.v2.txt, HDFS-7818.v3.txt, HDFS-7818.v4.txt, HDFS-7818.v5.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)