|
Anh Nguyen
2011-05-20, 17:32
Marcos Ortiz
2011-05-20, 20:15
Anh Nguyen
2011-05-20, 20:16
Anh Nguyen
2011-05-20, 20:36
Marcos Ortiz
2011-05-20, 20:57
Marcos Ortiz
2011-05-20, 21:33
Kumar Kandasami
2011-05-20, 21:47
Anh Nguyen
2011-05-20, 22:55
Anh Nguyen
2011-05-20, 22:57
|
-
Starting DatanodeAnh Nguyen 2011-05-20, 17:32
Hi,
I just upgraded to hadoop-0.20.203.0, and am having problem starting the datanode: # hadoop datanode Unrecognized option: -jvm Could not create the Java virtual machine. It looks like it has something to do with daemon.sh, particularly the setting of HADOOP_OPTS: if [[ $EUID -eq 0 ]]; then HADOOP_OPTS="$HADOOP_OPTS -jvm server $HADOOP_DATANODE_OPTS" else HADOOP_OPTS="$HADOOP_OPTS -server $HADOOP_DATANODE_OPTS" fi Am I missing something? Thanks in advance. Anh-
-
Re: Starting DatanodeMarcos Ortiz 2011-05-20, 20:15
On 05/20/2011 01:02 PM, Anh Nguyen wrote:
> Hi, > > I just upgraded to hadoop-0.20.203.0, and am having problem starting the > datanode: > # hadoop datanode > Unrecognized option: -jvm > Could not create the Java virtual machine. > > It looks like it has something to do with daemon.sh, particularly the > setting of HADOOP_OPTS: > if [[ $EUID -eq 0 ]]; then > HADOOP_OPTS="$HADOOP_OPTS -jvm server $HADOOP_DATANODE_OPTS" > else > HADOOP_OPTS="$HADOOP_OPTS -server $HADOOP_DATANODE_OPTS" > fi > > Am I missing something? > > Thanks in advance. > > Anh- > Which Java's version are you using? -- Marcos Lu�s Ort�z Valmaseda Software Engineer (Large-Scaled Distributed Systems) University of Information Sciences, La Habana, Cuba Linux User # 418229 http://about.me/marcosortiz
-
Re: Starting DatanodeAnh Nguyen 2011-05-20, 20:16
On 05/20/2011 01:15 PM, Marcos Ortiz wrote:
> On 05/20/2011 01:02 PM, Anh Nguyen wrote: >> Hi, >> >> I just upgraded to hadoop-0.20.203.0, and am having problem starting the >> datanode: >> # hadoop datanode >> Unrecognized option: -jvm >> Could not create the Java virtual machine. >> >> It looks like it has something to do with daemon.sh, particularly the >> setting of HADOOP_OPTS: >> if [[ $EUID -eq 0 ]]; then >> HADOOP_OPTS="$HADOOP_OPTS -jvm server $HADOOP_DATANODE_OPTS" >> else >> HADOOP_OPTS="$HADOOP_OPTS -server $HADOOP_DATANODE_OPTS" >> fi >> >> Am I missing something? >> >> Thanks in advance. >> >> Anh- >> > Which Java's version are you using? > > # java -version java version "1.6.0_20" Java(TM) SE Runtime Environment (build 1.6.0_20-b02) Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode) It worked with hadoop-0.20.2. Anh-
-
Re: Starting DatanodeAnh Nguyen 2011-05-20, 20:36
On 05/20/2011 01:57 PM, Marcos Ortiz wrote:
> On 05/20/2011 03:46 PM, Anh Nguyen wrote: >> On 05/20/2011 01:15 PM, Marcos Ortiz wrote: >>> On 05/20/2011 01:02 PM, Anh Nguyen wrote: >>>> Hi, >>>> >>>> I just upgraded to hadoop-0.20.203.0, and am having problem >>>> starting the >>>> datanode: >>>> # hadoop datanode >>>> Unrecognized option: -jvm >>>> Could not create the Java virtual machine. >>>> >>>> It looks like it has something to do with daemon.sh, particularly the >>>> setting of HADOOP_OPTS: >>>> if [[ $EUID -eq 0 ]]; then >>>> HADOOP_OPTS="$HADOOP_OPTS -jvm server $HADOOP_DATANODE_OPTS" >>>> else >>>> HADOOP_OPTS="$HADOOP_OPTS -server $HADOOP_DATANODE_OPTS" >>>> fi >>>> >>>> Am I missing something? >>>> >>>> Thanks in advance. >>>> >>>> Anh- >>>> >>> Which Java's version are you using? >>> >>> >> # java -version >> java version "1.6.0_20" >> Java(TM) SE Runtime Environment (build 1.6.0_20-b02) >> Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode) >> >> It worked with hadoop-0.20.2. >> Anh- > How do you are starting the services? using bin/start-all.sh o simply > the datanode? > > It failed in both cases. Anh-
-
Re: Starting DatanodeMarcos Ortiz 2011-05-20, 20:57
On 05/20/2011 03:46 PM, Anh Nguyen wrote:
> On 05/20/2011 01:15 PM, Marcos Ortiz wrote: >> On 05/20/2011 01:02 PM, Anh Nguyen wrote: >>> Hi, >>> >>> I just upgraded to hadoop-0.20.203.0, and am having problem starting >>> the >>> datanode: >>> # hadoop datanode >>> Unrecognized option: -jvm >>> Could not create the Java virtual machine. >>> >>> It looks like it has something to do with daemon.sh, particularly the >>> setting of HADOOP_OPTS: >>> if [[ $EUID -eq 0 ]]; then >>> HADOOP_OPTS="$HADOOP_OPTS -jvm server $HADOOP_DATANODE_OPTS" >>> else >>> HADOOP_OPTS="$HADOOP_OPTS -server $HADOOP_DATANODE_OPTS" >>> fi >>> >>> Am I missing something? >>> >>> Thanks in advance. >>> >>> Anh- >>> >> Which Java's version are you using? >> >> > # java -version > java version "1.6.0_20" > Java(TM) SE Runtime Environment (build 1.6.0_20-b02) > Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode) > > It worked with hadoop-0.20.2. > Anh- How do you are starting the services? using bin/start-all.sh o simply the datanode? -- Marcos Lu�s Ort�z Valmaseda Software Engineer (Large-Scaled Distributed Systems) University of Information Sciences, La Habana, Cuba Linux User # 418229 http://about.me/marcosortiz
-
Re: Starting DatanodeMarcos Ortiz 2011-05-20, 21:33
On 05/20/2011 04:08 PM, Anh Nguyen wrote:
> On 05/20/2011 02:06 PM, Marcos Ortiz wrote: >> On 05/20/2011 04:27 PM, Marcos Ortiz wrote: >>> On 05/20/2011 03:46 PM, Anh Nguyen wrote: >>>> On 05/20/2011 01:15 PM, Marcos Ortiz wrote: >>>>> On 05/20/2011 01:02 PM, Anh Nguyen wrote: >>>>>> Hi, >>>>>> >>>>>> I just upgraded to hadoop-0.20.203.0, and am having problem >>>>>> starting the >>>>>> datanode: >>>>>> # hadoop datanode >>>>>> Unrecognized option: -jvm >>>>>> Could not create the Java virtual machine. >>>>>> >>>>>> It looks like it has something to do with daemon.sh, particularly >>>>>> the >>>>>> setting of HADOOP_OPTS: >>>>>> if [[ $EUID -eq 0 ]]; then >>>>>> HADOOP_OPTS="$HADOOP_OPTS -jvm server $HADOOP_DATANODE_OPTS" >>>>>> else >>>>>> HADOOP_OPTS="$HADOOP_OPTS -server $HADOOP_DATANODE_OPTS" >>>>>> fi >>>>>> >>>>>> Am I missing something? >>>>>> >>>>>> Thanks in advance. >>>>>> >>>>>> Anh- >>>>>> >>>>> Which Java's version are you using? >>>>> >>>>> >>>> # java -version >>>> java version "1.6.0_20" >>>> Java(TM) SE Runtime Environment (build 1.6.0_20-b02) >>>> Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode) >>>> >>>> It worked with hadoop-0.20.2. >>>> Anh- >>> How do you are starting the services? using bin/start-all.sh o >>> simply the datanode? >>> >>> >> Anh, test first that this option (-jvm is included in that Java >> version). >> >> > Tested earlier: > # java -jvm > Unrecognized option: -jvm > Could not create the Java virtual machine. > Did you check the requirements for that release? I don�t know if this version require at least a mayor version to 1.6.20. Did you test with the 1.6.24? I think that can be a bug. Take a time to review the last issues for Hadoop on the JIRA of the project. Regards -- Marcos Lu�s Ort�z Valmaseda Software Engineer (Large-Scaled Distributed Systems) University of Information Sciences, La Habana, Cuba Linux User # 418229 http://about.me/marcosortiz
-
Re: Starting DatanodeKumar Kandasami 2011-05-20, 21:47
What is the error in the datanode log file ?
Kumar _/|\_ www.saisk.com [EMAIL PROTECTED] "making a profound difference with knowledge and creativity..." On Fri, May 20, 2011 at 4:33 PM, Marcos Ortiz <[EMAIL PROTECTED]> wrote: > On 05/20/2011 04:08 PM, Anh Nguyen wrote: > >> On 05/20/2011 02:06 PM, Marcos Ortiz wrote: >> >>> On 05/20/2011 04:27 PM, Marcos Ortiz wrote: >>> >>>> On 05/20/2011 03:46 PM, Anh Nguyen wrote: >>>> >>>>> On 05/20/2011 01:15 PM, Marcos Ortiz wrote: >>>>> >>>>>> On 05/20/2011 01:02 PM, Anh Nguyen wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> I just upgraded to hadoop-0.20.203.0, and am having problem starting >>>>>>> the >>>>>>> datanode: >>>>>>> # hadoop datanode >>>>>>> Unrecognized option: -jvm >>>>>>> Could not create the Java virtual machine. >>>>>>> >>>>>>> It looks like it has something to do with daemon.sh, particularly the >>>>>>> setting of HADOOP_OPTS: >>>>>>> if [[ $EUID -eq 0 ]]; then >>>>>>> HADOOP_OPTS="$HADOOP_OPTS -jvm server $HADOOP_DATANODE_OPTS" >>>>>>> else >>>>>>> HADOOP_OPTS="$HADOOP_OPTS -server $HADOOP_DATANODE_OPTS" >>>>>>> fi >>>>>>> >>>>>>> Am I missing something? >>>>>>> >>>>>>> Thanks in advance. >>>>>>> >>>>>>> Anh- >>>>>>> >>>>>>> Which Java's version are you using? >>>>>> >>>>>> >>>>>> # java -version >>>>> java version "1.6.0_20" >>>>> Java(TM) SE Runtime Environment (build 1.6.0_20-b02) >>>>> Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode) >>>>> >>>>> It worked with hadoop-0.20.2. >>>>> Anh- >>>>> >>>> How do you are starting the services? using bin/start-all.sh o simply >>>> the datanode? >>>> >>>> >>>> Anh, test first that this option (-jvm is included in that Java >>> version). >>> >>> >>> Tested earlier: >> # java -jvm >> >> Unrecognized option: -jvm >> Could not create the Java virtual machine. >> >> Did you check the requirements for that release? I don´t know if this > version require at least a mayor version to 1.6.20. > Did you test with the 1.6.24? > > I think that can be a bug. > Take a time to review the last issues for Hadoop on the JIRA of the > project. > > Regards > > > -- > Marcos Luís Ortíz Valmaseda > Software Engineer (Large-Scaled Distributed Systems) > University of Information Sciences, > La Habana, Cuba > Linux User # 418229 > http://about.me/marcosortiz > >
-
Re: Starting DatanodeAnh Nguyen 2011-05-20, 22:55
On 05/20/2011 02:47 PM, Kumar Kandasami wrote:
> What is the error in the datanode log file ? > Unrecognized option: -jvm > Could not create the Java virtual machine. > > Kumar _/|\_ > www.saisk.com <http://www.saisk.com> > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > "making a profound difference with knowledge and creativity..." > > > On Fri, May 20, 2011 at 4:33 PM, Marcos Ortiz <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > On 05/20/2011 04:08 PM, Anh Nguyen wrote: > > On 05/20/2011 02:06 PM, Marcos Ortiz wrote: > > On 05/20/2011 04:27 PM, Marcos Ortiz wrote: > > On 05/20/2011 03:46 PM, Anh Nguyen wrote: > > On 05/20/2011 01:15 PM, Marcos Ortiz wrote: > > On 05/20/2011 01:02 PM, Anh Nguyen wrote: > > Hi, > > I just upgraded to hadoop-0.20.203.0, and > am having problem starting the > datanode: > # hadoop datanode > Unrecognized option: -jvm > Could not create the Java virtual machine. > > It looks like it has something to do with > daemon.sh, particularly the > setting of HADOOP_OPTS: > if [[ $EUID -eq 0 ]]; then > HADOOP_OPTS="$HADOOP_OPTS -jvm server > $HADOOP_DATANODE_OPTS" > else > HADOOP_OPTS="$HADOOP_OPTS -server > $HADOOP_DATANODE_OPTS" > fi > > Am I missing something? > > Thanks in advance. > > Anh- > > Which Java's version are you using? > > > # java -version > java version "1.6.0_20" > Java(TM) SE Runtime Environment (build 1.6.0_20-b02) > Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, > mixed mode) > > It worked with hadoop-0.20.2. > Anh- > > How do you are starting the services? using > bin/start-all.sh o simply the datanode? > > > Anh, test first that this option (-jvm is included in that > Java version). > > > Tested earlier: > # java -jvm > > Unrecognized option: -jvm > Could not create the Java virtual machine. > > Did you check the requirements for that release? I don�t know if > this version require at least a mayor version to 1.6.20. > Did you test with the 1.6.24? > > I think that can be a bug. > Take a time to review the last issues for Hadoop on the JIRA of > the project. > > Regards > > > -- > Marcos Lu�s Ort�z Valmaseda > Software Engineer (Large-Scaled Distributed Systems) > University of Information Sciences, > La Habana, Cuba > Linux User # 418229 > http://about.me/marcosortiz > >
-
Re: Starting DatanodeAnh Nguyen 2011-05-20, 22:57
On 05/20/2011 02:33 PM, Marcos Ortiz wrote:
> On 05/20/2011 04:08 PM, Anh Nguyen wrote: >> On 05/20/2011 02:06 PM, Marcos Ortiz wrote: >>> On 05/20/2011 04:27 PM, Marcos Ortiz wrote: >>>> On 05/20/2011 03:46 PM, Anh Nguyen wrote: >>>>> On 05/20/2011 01:15 PM, Marcos Ortiz wrote: >>>>>> On 05/20/2011 01:02 PM, Anh Nguyen wrote: >>>>>>> Hi, >>>>>>> >>>>>>> I just upgraded to hadoop-0.20.203.0, and am having problem >>>>>>> starting the >>>>>>> datanode: >>>>>>> # hadoop datanode >>>>>>> Unrecognized option: -jvm >>>>>>> Could not create the Java virtual machine. >>>>>>> >>>>>>> It looks like it has something to do with daemon.sh, >>>>>>> particularly the >>>>>>> setting of HADOOP_OPTS: >>>>>>> if [[ $EUID -eq 0 ]]; then >>>>>>> HADOOP_OPTS="$HADOOP_OPTS -jvm server $HADOOP_DATANODE_OPTS" >>>>>>> else >>>>>>> HADOOP_OPTS="$HADOOP_OPTS -server $HADOOP_DATANODE_OPTS" >>>>>>> fi >>>>>>> >>>>>>> Am I missing something? >>>>>>> >>>>>>> Thanks in advance. >>>>>>> >>>>>>> Anh- >>>>>>> >>>>>> Which Java's version are you using? >>>>>> >>>>>> >>>>> # java -version >>>>> java version "1.6.0_20" >>>>> Java(TM) SE Runtime Environment (build 1.6.0_20-b02) >>>>> Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode) >>>>> >>>>> It worked with hadoop-0.20.2. >>>>> Anh- >>>> How do you are starting the services? using bin/start-all.sh o >>>> simply the datanode? >>>> >>>> >>> Anh, test first that this option (-jvm is included in that Java >>> version). >>> >>> >> Tested earlier: >> # java -jvm >> Unrecognized option: -jvm >> Could not create the Java virtual machine. >> > Did you check the requirements for that release? I don�t know if this > version require at least a mayor version to 1.6.20. > Did you test with the 1.6.24? Frankly, I have seen/used -jvm. What is it? Anh- > > I think that can be a bug. > Take a time to review the last issues for Hadoop on the JIRA of the > project. > > Regards > |