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 6678A10CBB for ; Tue, 24 Dec 2013 06:15:29 +0000 (UTC) Received: (qmail 43480 invoked by uid 500); 24 Dec 2013 06:14:59 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 43416 invoked by uid 500); 24 Dec 2013 06:14:56 -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 43392 invoked by uid 99); 24 Dec 2013 06:14:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Dec 2013 06:14:51 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of vrsitaramanietflists@gmail.com designates 209.85.217.195 as permitted sender) Received: from [209.85.217.195] (HELO mail-lb0-f195.google.com) (209.85.217.195) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Dec 2013 06:14:47 +0000 Received: by mail-lb0-f195.google.com with SMTP id c11so819758lbj.6 for ; Mon, 23 Dec 2013 22:14:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=8rVQSAE7/bB/M2WQhM8SbGwGOY2hwmQpRovYH6myWc8=; b=IWzxLIliVRgiAR5JKggb1VuW/GVigWE19850lolsMVT/v96CD8yTyJqwV1Sr+0HBQ7 mDK4pFQffMmywVf96ad3MtKKwnZ1YiL0LOEovvSscF2HavSE99DlBAeSBCGpIhFM0O4Y tPSc9IgurnM49+Ar9imJ0we98Bl8XndvsX2q3uyGKBS1W296neNz/3Z8V1AKdJCIqrK6 /CasEzOkdsXCPd5Ivq+/ALzLFJDPYsiM0ZCsjztoFlpNGI1FnTFSQy1z5Useuh0K9FSO NNyBtquPrm2QSvCprioO1VgyxaMZI79//UWuolkAY3h5ZLHa9x4/CcmKp//jgJGkQ2KG YCzw== MIME-Version: 1.0 X-Received: by 10.112.146.134 with SMTP id tc6mr1834874lbb.11.1387865665993; Mon, 23 Dec 2013 22:14:25 -0800 (PST) Received: by 10.114.199.194 with HTTP; Mon, 23 Dec 2013 22:14:25 -0800 (PST) In-Reply-To: References: Date: Tue, 24 Dec 2013 11:44:25 +0530 Message-ID: Subject: Re: Getting error unrecognized option -jvm on starting nodemanager From: Sitaraman Vilayannur To: user@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi Nitin, I moved to the release 2.2.0 on starting node manager it remains silent without errors but nodemanager dosent start....while it does in the earlier 0.23 version ./hadoop-daemon.sh start namenode starting namenode, logging to /usr/local/Software/hadoop-2.2.0/logs/hadoop-sitaraman-namenode-localhost.localdomain.out Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /usr/local/Software/hadoop-2.2.0/lib/native/libhadoop.so.1.0.0 which might have disabled stack guard. The VM will try to fix the stack guard now. It's highly recommended that you fix the library with 'execstack -c ', or link it with '-z noexecstack'. [sitaraman@localhost sbin]$ jps 13444 Jps [sitaraman@localhost sbin]$ vi /usr/local/Software/hadoop-2.2.0/logs/hadoop-sitaraman-namenode-localhost.localdomain.out ulimit -a for user sitaraman core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 135104 max locked memory (kbytes, -l) 32 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 10240 cpu time (seconds, -t) unlimited max user processes (-u) 135104 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited On 12/24/13, Nitin Pawar wrote: > For now you can ignore this warning, > it was your first program so you can try building other things and slowly > run the commands mentioned the log message to fix these small warnings. > > > On Tue, Dec 24, 2013 at 10:07 AM, Sitaraman Vilayannur < > vrsitaramanietflists@gmail.com> wrote: > >> Thanks Nitin, That worked, >> When i run the Pi example, i get the following warning at the end, >> what must i do about this warning....thanks much for your help. >> Sitaraman >> inished in 20.82 seconds >> Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library >> /usr/local/Software/hadoop-0.23.10/lib/native/libhadoop.so.1.0.0 which >> might have disabled stack guard. The VM will try to fix the stack >> guard now. >> It's highly recommended that you fix the library with 'execstack -c >> ', or link it with '-z noexecstack'. >> 13/12/24 10:05:19 WARN util.NativeCodeLoader: Unable to load >> native-hadoop library for your platform... using builtin-java classes >> where applicable >> Estimated value of Pi is 3.14127500000000000000 >> [sitaraman@localhost mapreduce]$ >> >> On 12/23/13, Nitin Pawar wrote: >> > Can you try starting the process as non root user. >> > Give proper permissions to the user and start it as a different user. >> > >> > Thanks, >> > Nitin >> > >> > >> > On Mon, Dec 23, 2013 at 2:15 PM, Sitaraman Vilayannur < >> > vrsitaramanietflists@gmail.com> wrote: >> > >> >> Hi, >> >> When i attempt to start nodemanager i get the following error. Any >> >> help >> >> appreciated. I was able to start resource manager datanode, namenode >> >> and >> >> secondarynamenode, >> >> >> >> >> >> ./yarn-daemon.sh start nodemanager >> >> starting nodemanager, logging to >> >> >> /usr/local/Software/hadoop-0.23.10/logs/yarn-root-nodemanager-localhost.localdomain.out >> >> Unrecognized option: -jvm >> >> Error: Could not create the Java Virtual Machine. >> >> Error: A fatal exception has occurred. Program will exit. >> >> [root@localhost sbin]# emacs >> >> >> /usr/local/Software/hadoop-0.23.10/logs/yarn-root-nodemanager-localhost.localdomain.out >> >> & >> >> [4] 29004 >> >> [root@localhost sbin]# jps >> >> 28402 SecondaryNameNode >> >> 30280 Jps >> >> 28299 DataNode >> >> 6729 Main >> >> 26044 ResourceManager >> >> 28197 NameNode >> >> >> > >> > >> > >> > -- >> > Nitin Pawar >> > >> > > > > -- > Nitin Pawar >