Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 AB5F910BB3 for ; Tue, 24 Dec 2013 05:37:25 +0000 (UTC) Received: (qmail 95549 invoked by uid 500); 24 Dec 2013 05:37:02 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 95271 invoked by uid 500); 24 Dec 2013 05:36:57 -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 95217 invoked by uid 99); 24 Dec 2013 05:36:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Dec 2013 05:36:54 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of nitinpawar432@gmail.com designates 209.85.216.171 as permitted sender) Received: from [209.85.216.171] (HELO mail-qc0-f171.google.com) (209.85.216.171) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Dec 2013 05:36:47 +0000 Received: by mail-qc0-f171.google.com with SMTP id c9so5774827qcz.30 for ; Mon, 23 Dec 2013 21:36: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=4yTOAZTv8LonpqO8zWAEuP31ISMJU6WEWZJhNxfV0SE=; b=Ns6aTS73atNbnvg1Z9C1yH8MJ/5QjH3YvG3eGdBbatgS7KJoF0LBs5rKolxsnAqLuZ djNSMwfELyxr/HxYB2jWnrP/nFPSwkByVhIph0wNi1JO41OLZPfCcMYtwRmLJp2/kk5r bnVIHKrbv4OgsTX1dvlgwK+MAvVi25YDxSeh/NycRIC+TVeHUsZ3UgfbotMH0eyHFX7/ G0NNIjspgvBtNdjDpFNPlV7JhftBqEYgiHS/ElzKwsRtqaDG/JNwbVzIw7YR/01KopLh 5O8p6eDa0eqdAYjruKwFATirDmtUowozTYgDwis1WTee2bGFmtlWpjvU8FhvunXfvZFN yAeA== MIME-Version: 1.0 X-Received: by 10.49.27.234 with SMTP id w10mr49493277qeg.22.1387863386905; Mon, 23 Dec 2013 21:36:26 -0800 (PST) Received: by 10.224.194.5 with HTTP; Mon, 23 Dec 2013 21:36:26 -0800 (PST) In-Reply-To: References: Date: Tue, 24 Dec 2013 11:06:26 +0530 Message-ID: Subject: Re: Getting error unrecognized option -jvm on starting nodemanager From: Nitin Pawar To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=047d7bd6a8d42c65c904ee4120a5 X-Virus-Checked: Checked by ClamAV on apache.org --047d7bd6a8d42c65c904ee4120a5 Content-Type: text/plain; charset=ISO-8859-1 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 --047d7bd6a8d42c65c904ee4120a5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
For now you can ignore this warning,=A0
it was your fi= rst program so you can try building other things and slowly run the command= s mentioned the log message to fix these small warnings.=A0


On Tue, Dec 24, 2013 at 10:07 AM, Sitara= man 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=
<libfile>', 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 <nit= inpawar432@gmail.com> wrote:
> Can you try starting the process as non root user.
> Give proper permissions to the user and start it as a different user.<= br> >
> Thanks,
> Nitin
>
>
> On Mon, Dec 23, 2013 at 2:15 PM, Sitaraman Vilayannur <
> vrsitaramanietflists= @gmail.com> wrote:
>
>> Hi,
>> =A0When i attempt to start nodemanager i get the following error. = Any help
>> appreciated. =A0 I was able to start resource manager datanode, na= menode
>> and
>> secondarynamenode,
>>
>>
>> =A0 =A0./yarn-daemon.sh start nodemanager
>> starting nodemanager, logging to
>> /usr/local/Software/hadoop-0.23.10/logs/yarn-root-nodemanager-loca= lhost.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-loca= lhost.localdomain.out
>> &
>> [4] 29004
>> [root@localhost sbin]# jps
>> 28402 SecondaryNameNode
>> 30280 Jps
>> 28299 DataNode
>> 6729 Main
>> 26044 ResourceManager
>> 28197 NameNode
>>
>
>
>
> --
> Nitin Pawar
>



--
= Nitin Pawar
--047d7bd6a8d42c65c904ee4120a5--