Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-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 EE7449738 for ; Mon, 3 Oct 2011 21:47:58 +0000 (UTC) Received: (qmail 41656 invoked by uid 500); 3 Oct 2011 21:47:58 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 41615 invoked by uid 500); 3 Oct 2011 21:47:58 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 41607 invoked by uid 99); 3 Oct 2011 21:47:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2011 21:47:58 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2011 21:47:56 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0D7D62A7683 for ; Mon, 3 Oct 2011 21:47:35 +0000 (UTC) Date: Mon, 3 Oct 2011 21:47:35 +0000 (UTC) From: "Eric Yang (Updated) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1220453513.4820.1317678455057.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2023342492.3101.1317131712020.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HADOOP-7685) Issues with hadoop-common-project\hadoop-common\src\main\packages\hadoop-setup-conf.sh file MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-7685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Yang updated HADOOP-7685: ------------------------------ Target Version/s: 0.20.205.0, 0.23.0 (was: 0.23.0, 0.20.205.0) Status: Patch Available (was: Open) > Issues with hadoop-common-project\hadoop-common\src\main\packages\hadoop-setup-conf.sh file > -------------------------------------------------------------------------------------------- > > Key: HADOOP-7685 > URL: https://issues.apache.org/jira/browse/HADOOP-7685 > Project: Hadoop Common > Issue Type: Bug > Components: scripts > Affects Versions: 0.20.205.0, 0.23.0 > Reporter: Devaraj K > Assignee: Eric Yang > Attachments: HADOOP-7685-0.20-security.patch, HADOOP-7685-trunk.patch, HADOOP-7685.patch, HADOOP-7685.patch > > > hadoop-common-project\hadoop-common\src\main\packages\hadoop-setup-conf.sh has following issues > 1. check_permission does not work as expected if there are two folders with $NAME as part of their name inside $PARENT > e.g. /home/hadoop/conf, /home/hadoop/someconf, > The result of `ls -ln $PARENT | grep -w $NAME| awk '{print $3}'` is non zero..it is 0 0 and hence the following if check becomes true. > {code:xml} > if [ "$OWNER" != "0" ]; then > RESULT=1 > break > fi > {code} > 2. Spelling mistake > {code:xml} > HADDOP_DN_ADDR="0.0.0.0:50010" > {code} > it should be > {code:xml} > HADOOP_DN_ADDR="0.0.0.0:50010" > {code} > 3. HADOOP_SNN_HOST is not set due to which the hdfs-site.xml contains following configuration > {code:xml} > > dfs.namenode.http-address > :50070 > > The address and the base port where the dfs namenode web ui will listen on. > If the port is 0 then the server will start on a free port. > > > {code} -- 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