Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E46EE9A6B for ; Fri, 1 Jun 2012 19:18:24 +0000 (UTC) Received: (qmail 65725 invoked by uid 500); 1 Jun 2012 19:18:24 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 65587 invoked by uid 500); 1 Jun 2012 19:18:24 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 65341 invoked by uid 99); 1 Jun 2012 19:18:23 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jun 2012 19:18:23 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 9054114285F for ; Fri, 1 Jun 2012 19:18:23 +0000 (UTC) Date: Fri, 1 Jun 2012 19:18:23 +0000 (UTC) From: "Todd Lipcon (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: <1741663844.27785.1338578303593.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Created] (HDFS-3490) DN WebHDFS methods throw NPE if Namenode RPC address param not specified MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Todd Lipcon created HDFS-3490: --------------------------------- Summary: DN WebHDFS methods throw NPE if Namenode RPC address param not specified Key: HDFS-3490 URL: https://issues.apache.org/jira/browse/HDFS-3490 Project: Hadoop HDFS Issue Type: Bug Components: data-node Affects Versions: 2.0.0-alpha Reporter: Todd Lipcon Priority: Minor Currently, there is no validation done on the NamenodeRpcAddressParam. If it is not passed to the datanode webhdfs methods, an NPE will be generated trying to use it. We should instead have some kind of validation on the parameter and throw a more appropriate error message when it is missing. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira