LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-02-2013, 02:46 PM   #1
tahani
LQ Newbie
 
Registered: Jan 2013
Posts: 9

Rep: Reputation: Disabled
hadoop on ubuntu 10.04


Dear all,
I have an error ehen I try to install Hadoop-1.0.3 on ubuntu 10.04

I wrote:
cd /usr/local
then
tahani@ubuntu:/usr/local$ sudo tar xzf hadoop-1.0.3.tar.gz

the error:

tar: hadoop-1.0.3.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors

what i can do to fix this problem??
 
Old 01-02-2013, 03:32 PM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,661
Blog Entries: 1

Rep: Reputation: 242Reputation: 242Reputation: 242
Hi where did you download the tarball to?
Have you looked in /home/user/Downloads

Also it is better to untar as user not root
 
1 members found this post helpful.
Old 01-03-2013, 01:30 AM   #3
tahani
LQ Newbie
 
Registered: Jan 2013
Posts: 9

Original Poster
Rep: Reputation: Disabled
Dear spiky0011;
What do you mean about "untar as user not root"
and also when I follow home/user/download.. i do not have this directory

so what can I do?
 
Old 01-03-2013, 03:54 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,946

Rep: Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602
$HOME/Downloads is probably not /home/user/Downloads ,
but /home/<user-name>/Downloads/ , like : /home/tahani/Downloads/


And : root is for administrative tasks only.
It is not recommended to work as root, unless absolute necessary.
And : The default build directory is e.g. /home/tahani/tmp/


Building in /home/tahani/tmp/, the commands would be :
1) cd tmp/
2) tar xvf ../Downloads/hadoop-1.0.3.tar.gz


.

Last edited by knudfl; 01-03-2013 at 04:00 AM.
 
Old 01-03-2013, 05:02 AM   #5
tahani
LQ Newbie
 
Registered: Jan 2013
Posts: 9

Original Poster
Rep: Reputation: Disabled
starting single node cluster

Dear;
Thanks for reply I fixed the previous error.


I have another error when I starting a single node cluster on Hadoop..

hduser@ubuntu:/home/tahani$ hadoop/bin/start-all.sh
namenode running as process 3738. Stop it first.
localhost: ssh: connect to host localhost port 22: Connection refused
localhost: ssh: connect to host localhost port 22: Connection refused
jobtracker running as process 3879. Stop it first.
localhost: ssh: connect to host localhost port 22: Connection refused

how I can fix it??
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Who Loves Hadoop? LXer Syndicated Linux News 0 08-07-2012 03:00 PM
LXer: Dell: ARM Server Partnerships Promote Ubuntu, Hadoop LXer Syndicated Linux News 0 05-30-2012 12:50 AM
LXer: Scheduling in Hadoop LXer Syndicated Linux News 0 12-06-2011 05:41 PM
LXer: Ubuntu takes hadoop to the cloud LXer Syndicated Linux News 0 08-10-2011 07:10 PM
LXer: Cloudera Distribution of Hadoop Available, Makes Hadoop Easy LXer Syndicated Linux News 0 03-16-2009 08:10 PM


All times are GMT -5. The time now is 11:07 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration