Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7C066D4EC for ; Thu, 8 Nov 2012 18:06:42 +0000 (UTC) Received: (qmail 51875 invoked by uid 500); 8 Nov 2012 18:06:37 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 51748 invoked by uid 500); 8 Nov 2012 18:06:37 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 51741 invoked by uid 99); 8 Nov 2012 18:06:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2012 18:06:37 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of oleg.zhurakousky@gmail.com designates 209.85.213.48 as permitted sender) Received: from [209.85.213.48] (HELO mail-yh0-f48.google.com) (209.85.213.48) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2012 18:06:32 +0000 Received: by mail-yh0-f48.google.com with SMTP id q46so660990yhf.35 for ; Thu, 08 Nov 2012 10:06:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to:x-mailer; bh=G5bqy2ytIwNxNcJuHY1Rtui392vz/O9lFir9LcpEzOQ=; b=wxpX5vRAc/P6ifcO2eyOnNT/HFY+1NOMLYK8DDQB5FJ5gtB+ZX06fi+6xph+6YHNvJ XkcZeavjdTxEO3rlPj6MStWyTsBhR16T1W3TJD9O1Rb/Yfv9v78MXaX9IHrowdWJVoD/ TbKrZk07D6OajGNj1mwd8TC9fATdE+pPMYxctHVf51Q80BaLpB/FgzVsKHs8FYT6ozqE KEvCu9HiTjoqqXYCkMq9zM1pj7sSXtvfRMIY/nsYtjhhEvLdmo9ztZbbZiUWoH4JIfdF e9k1rhI2dFIlxsd1DWw15RKUYVkGsAZQ5IRO+AgV6CRuiH/nrlFnTw1zTr9VXULhvIuA ETgw== Received: by 10.236.81.242 with SMTP id m78mr9186137yhe.36.1352397971286; Thu, 08 Nov 2012 10:06:11 -0800 (PST) Received: from [192.168.15.115] (h62.138.101.208.dynamic.ip.windstream.net. [208.101.138.62]) by mx.google.com with ESMTPS id m26sm27517793yhc.17.2012.11.08.10.06.09 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 08 Nov 2012 10:06:10 -0800 (PST) From: Oleg Zhurakousky Content-Type: multipart/alternative; boundary="Apple-Mail=_36ABD6D6-1B3F-4ED5-A013-524BB25731A2" Message-Id: <999C28E9-341E-4285-AD2D-CBDA316EE42B@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\)) Subject: Re: start-dfs.sh requesting password for user used to start daemon Date: Thu, 8 Nov 2012 13:06:07 -0500 References: <565B75ACD9C9964EA087653C7D7A65B70B2901@xmb-aln-x14.cisco.com> To: user@hadoop.apache.org In-Reply-To: <565B75ACD9C9964EA087653C7D7A65B70B2901@xmb-aln-x14.cisco.com> X-Mailer: Apple Mail (2.1485) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_36ABD6D6-1B3F-4ED5-A013-524BB25731A2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Have you setup passworless ssh to localhost? In other words if when logged on as 'hdfs' can you do 'ssh localhost' = and/or 'ssh ldsg-hadoop-master01'? Oleg On Nov 8, 2012, at 1:00 PM, "John Beaulaurier -X (jbeaulau - ADVANCED = NETWORK INFORMATION INC at Cisco)" wrote: > Hello, > =20 > Apache Hadoop 0.20.203.0 (tarball) > Java HotSpot (build 1.6.0_21-b07) > =20 > I have a 4 datanode cluster sandbox I=92m trying to startup, but when = I initiate start.dfs.sh as the local user I created, , and after the = namenode and all the datanodes > start, the output stops and asks for the password for the local = account that I=92m using to run start-dfs.sh The same happens when I = run stop.dfs.sh with all datanode > daemons stopping except the namenode daemon. It does not stop due to = the password requirement. SSH passphrase-less logon is functioning for = the user from > the namenode to all the datanodes. I did not alter start-dfs.sh or = Hadoop-config.sh > =20 > [hdfs@ldsg-hadoop-master01 bin]$ ./start-dfs.sh > starting namenode, logging to = /var/log/hadoop/hadoop-hdfs-namenode-ldsg-hadoop-master01.out > ldsg-hadoop02: starting datanode, logging to = /var/log/hadoop/hadoop-hdfs-datanode-ldsg-hadoop02.out > ldsg-hadoop01: starting datanode, logging to = /var/log/hadoop/hadoop-hdfs-datanode-ldsg-hadoop01.out > ldsg-hadoop03: starting datanode, logging to = /var/log/hadoop/hadoop-hdfs-datanode-ldsg-hadoop03.out > ldsg-hadoop04: starting datanode, logging to = /var/log/hadoop/hadoop-hdfs-datanode-ldsg-hadoop04.out > hdfs@ldsg-hadoop-master01's password: > =20 > Thank you > -John --Apple-Mail=_36ABD6D6-1B3F-4ED5-A013-524BB25731A2 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 Have you setup passworless ssh = to localhost?
In other words if when logged on as 'hdfs'  can = you do 'ssh localhost' and/or 'ssh jbeaulau@cisco.com> = wrote:

Hello,
Apache Hadoop = 0.20.203.0 (tarball)
Java = HotSpot (build 1.6.0_21-b07)
I have a 4 datanode = cluster sandbox I=92m trying to startup, but when I initiate = start.dfs.sh as the local user I created, , and after the namenode and = all the datanodes
start, = the output stops and asks for the password for the local account that = I=92m using to run start-dfs.sh  The same happens when I run = stop.dfs.sh with all datanode
the namenode to all = the datanodes. I did not alter start-dfs.sh or = Hadoop-config.sh
starting namenode, logging to = /var/log/hadoop/hadoop-hdfs-namenode-ldsg-hadoop-master01.out
ldsg-hadoop02: starting datanode, = logging to = /var/log/hadoop/hadoop-hdfs-datanode-ldsg-hadoop02.out
ldsg-hadoop01: starting datanode, logging to = /var/log/hadoop/hadoop-hdfs-datanode-ldsg-hadoop01.out
ldsg-hadoop03: starting datanode, logging to = /var/log/hadoop/hadoop-hdfs-datanode-ldsg-hadoop03.out
ldsg-hadoop04: starting datanode, logging to = /var/log/hadoop/hadoop-hdfs-datanode-ldsg-hadoop04.outhdfs@ldsg-hadoop-master01's = password:
Thank = you