Yes.so in order to run classic mode , you need to have classic hadoop
binaries.
Download hadoop 0.20 and point your HADOOP_MAPRED_HOME to this new download
in hadoop-env.sh

Hope this helps.

Thanks
Deepak
www.bigdatabig.com


On Tue, Mar 4, 2014 at 10:40 PM, hwpstorage <hwpstor...@gmail.com> wrote:

> Deepak,
>
> Thanks for the help!
>
> I downloaded the hadoop2.3 binary from
> http://www.apache.org/dyn/closer.cgi/hadoop/common/
>
> There is no such directory /usr/lib/hadoop-0.20-mapreduce.
> I guess you are referring to a CDH or HDP installation.
>
> The error message is from /hadoop/hadoop-2.3.0/bin/mapred
>
>
>
>
>
>
> *elif [ "$COMMAND" = "mradmin" ] \    || [ "$COMMAND" = "jobtracker" ] \
> || [ "$COMMAND" = "tasktracker" ] \    || [ "$COMMAND" = "groups" ] ; then
> echo "Sorry, the $COMMAND command is no longer supported."  echo "You may
> find similar functionality with the \"yarn\" shell command."*
>
>
>
> The only jar files location I can find is at
>
>
>
>
> *# ls
>
> /hadoop/hadoop-2.3.0/share/hadoop/mapreduce/hadoop-mapreduce-client-app-2.3.0.jar
> hadoop-mapreduce-client-hs-2.3.0.jar
> hadoop-mapreduce-client-jobclient-2.3.0-tests.jar
> libhadoop-mapreduce-client-common-2.3.0.jar
> hadoop-mapreduce-client-hs-plugins-2.3.0.jar
> hadoop-mapreduce-client-shuffle-2.3.0.jar
> lib-exampleshadoop-mapreduce-client-core-2.3.0.jar
> hadoop-mapreduce-client-jobclient-2.3.0.jar
> hadoop-mapreduce-examples-2.3.0.jar                sources*
> Thanks again.
>
> On Tue, Mar 4, 2014 at 11:44 AM, Deepak Sharma <deepakmc...@gmail.com
> >wrote:
>
> > It seems your HADOOP_MAPRED_HOME is pointing to the MRV2 configurations.
> > Make sure that in hadoop-env.sh, you change "export
> > HADOOP_MAPRED_HOME=/usr/lib/hadoop-mapreduce" to " export
> > HADOOP_MAPRED_HOME=/usr/lib/hadoop-0.20-mapreduce".
> >
> >
> > Thanks
> > Deepak
> >
> >
> > On Tue, Mar 4, 2014 at 9:23 PM, hwpstorage <hwpstor...@gmail.com> wrote:
> >
> > > Thanks for the reply.
> > > I got this error message when I tried to start the jobtracker node.
> > >  the jobtracker command is no longer supported.
> > >
> > > Here are the details.
> > >
> > > #  /hadoop/hadoop-2.3.0/sbin/hadoop-daemon.sh --config
> > > /hadoop/hadoop-2.3.0/etc/hadoop start jobtracker
> > > starting jobtracker, logging to
> > > /hadoop/hadoop-2.3.0/logs/hadoop-root-jobtracker-whecdh5a.out
> > > DEPRECATED: Use of this script to execute mapred command is deprecated.
> > > Instead use the mapred command for it.
> > > Sorry, the jobtracker command is no longer supported.
> > > You may find similar functionality with the "yarn" shell command.
> > > Usage: mapred [--config confdir] COMMAND
> > >        where COMMAND is one of:
> > >   pipes                run a Pipes job
> > >   job                  manipulate MapReduce jobs
> > >   queue                get information regarding JobQueues
> > >
> > > or
> > > # su mapred - -c "/hadoop/hadoop-2.3.0/sbin/hadoop-daemon.sh --config
> > > /hadoop/hadoop-2.3.0/etc/hadoop start jobtracker; sleep 25"
> > > starting jobtracker, logging to
> > > /hadoop/hadoop-2.3.0/logs/hadoop-mapred-jobtracker-whecdh5a.out
> > > DEPRECATED: Use of this script to execute mapred command is deprecated.
> > > Instead use the mapred command for it.
> > > Sorry, the jobtracker command is no longer supported.
> > > You may find similar functionality with the "yarn" shell command.
> > > Usage: mapred [--config confdir] COMMAND
> > >        where COMMAND is one of:
> > >   pipes                run a Pipes job
> > >   job                  manipulate MapReduce jobs
> > >   queue                get information regarding JobQueues
> > >
> > > # cat mapred-site.xml
> > > <configuration>
> > > <property>
> > >  <name>mapred.job.tracker</name>
> > >  <value>jobtrackerhost:6021</value>
> > > </property>
> > > <property>
> > >  <name>mapred.local.dir</name>
> > >  <value>/hadoop/data23/mapred/local</value>
> > > </property>
> > >  <property>
> > >     <name>mapreduce.framework.name</name>
> > >     <value>classic</value>
> > >   </property>
> > > </configuration>
> > >
> > >
> > >
> > >
> > > On Tue, Mar 4, 2014 at 10:46 AM, Deepak Sharma <deepakmc...@gmail.com
> > > >wrote:
> > >
> > > > Yes.You can still run MR without enabling YARN
> > > >
> > > >
> > > > On Tue, Mar 4, 2014 at 9:13 PM, hwpstorage <hwpstor...@gmail.com>
> > wrote:
> > > >
> > > > > I want to run some test with MapReduce but not in YARN in the
> latest
> > > > Hadoop
> > > > > version 2.3.
> > > > > Is it possible?
> > > > > Thanks a lot!
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Thanks
> > > > Deepak
> > > > www.bigdatabig.com
> > > > www.keosha.net
> > > >
> > >
> >
> >
> >
> > --
> > Thanks
> > Deepak
> > www.bigdatabig.com
> > www.keosha.net
> >
>



-- 
Thanks
Deepak
www.bigdatabig.com
www.keosha.net

Reply via email to