Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS >> mail # user >> no namenode


Hi Michael/Mohamed,

Thanks for your explanation. How about if I got this on my master node
jobtracker logs?

http://pastie.org/3211911

what does it means? and I used hadoop to do map/reduce on MongoDB database.

Thanks.

On Thu, Jan 19, 2012 at 10:17 AM, Michael Lok <[EMAIL PROTECTED]> wrote:

> Hi Martinus,
>
> While you can run the two instances of Hadoop on the same machine,
> you'll need to reconfigure the listening ports for MR/HDFS and the
> webapps to run on different ports.
>
> The easier way to Hadoop as a different user is:
>
> - stop current Hadoop instance
> - su as the intended user
> - re-install Hadoop and reformat a namenode under the same user.
>
> I've tried to perform chown to my existing Hadoop installation.  It
> had some permission problems; but didn't really bother to troubleshoot
> as I didn't have data in the data nodes.  So I did a fresh install
> like above.
>
>
> Thanks.
>
> On Thu, Jan 19, 2012 at 10:06 AM, Martinus Martinus
> <[EMAIL PROTECTED]> wrote:
> > Hi Mohamed,
> >
> > Thanks for your suggestion, but how do we moved the ownership of our
> hadoop
> > installation from root to another user account? and can we install two
> > different versions of hadoop on the same machine?
> >
> > Thanks.
> >
> >
> > On Wed, Jan 18, 2012 at 8:30 PM, Mohamed Elsayed
> > <[EMAIL PROTECTED]> wrote:
> >>
> >> Run hadoop using Martinus account, not root account. It will work well
> >> with you. If there is anything wrong with you, don't hesitate to write
> it
> >> here. Thank you.
> >>
> >> Mohamed Elsayed
> >> Bibliotheca Alexandrina
> >>
> >>
> >> On 01/18/2012 01:16 PM, Martinus Martinus wrote:
> >>
> >> Hi Mohamed,
> >>
> >> Please find attached the namenode log.
> >>
> >> Thanks.
> >>
> >> On Wed, Jan 18, 2012 at 7:02 PM, Mohamed Elsayed
> >> <[EMAIL PROTECTED]> wrote:
> >>>
> >>> Hi Martinus,
> >>>
> >>> Do you think you could attach namenode's log file to find out where is
> >>> the problem? Thank you.
> >>>
> >>> Mohamed Elsayed
> >>> Bibliotheca Alexandrina
> >>>
> >>>
> >>> On 01/18/2012 11:14 AM, Martinus Martinus wrote:
> >>>
> >>> Hi Mohamed,
> >>>
> >>> Thanks for your explanation. I still have the same problem as before.
> do
> >>> you have any other suggestion?
> >>>
> >>> Thanks.
> >>>
> >>> On Wed, Jan 18, 2012 at 4:52 PM, Mohamed Elsayed
> >>> <[EMAIL PROTECTED]> wrote:
> >>>>
> >>>> The core is locating bin/java. If you execute ls -l
> >>>> /usr/lib/jvm/java-6-sun/bin, you will notice bin/java is a symbolic
> link to
> >>>> jre/bin/java. So both of them are the same. Don't worry about that.
> >>>>
> >>>> Mohamed Elsayed
> >>>> Bibliotheca Alexandrina
> >>>>
> >>>>
> >>>> On 01/18/2012 10:25 AM, Martinus Martinus wrote:
> >>>>
> >>>> Hi Mohamed,
> >>>>
> >>>> Thanks for your answer. I have setup it before into something like
> this
> >>>> :
> >>>>
> >>>> JAVA_HOME=/usr/lib/jvm/java-6-sun
> >>>>
> >>>> I don't know if that's should be the same or will it gave a different
> >>>> result. I'll try it first.
> >>>>
> >>>> Thanks.
> >>>>
> >>>> On Wed, Jan 18, 2012 at 3:53 PM, Mohamed Elsayed
> >>>> <[EMAIL PROTECTED]> wrote:
> >>>>>
> >>>>> Hi Martinus,
> >>>>>
> >>>>> As I remember, I started again from scratch and erased everything
> >>>>> related to hadoop in my machine. In my first run, there was an error
> message
> >>>>> (related to java) displayed after executing bin/hadoop namenode
> -format.
> >>>>> This message didn't appear in my second run. So I believe your
> problem is in
> >>>>> this point. Keep you eyes on what is happening after executing this
> command.
> >>>>> FYI, you must set JAVA_HOME in conf/hadoop-env.sh by doing the
> following:
> >>>>>
> >>>>> file `which java`
> >>>>> file /etc/alternatives/java
> >>>>> JAVA_HOME=/usr/lib/jvm/java-6-openjdk/jre
> >>>>>
> >>>>> If you still can't run the example, try to set HADOOP_CLASSPATH in
> >>>>> conf/hadoop-env.sh to the example's path e.g.
> >>>>>
> HADOOP_CLASSPATH=../hadoop-0.20.203.0/hadoop-examples-0.20.203.0.jar. But