• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Issue while setting up hadoop single node setup on local machine

 
mishug Goyal
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am new to hadoop and trying to set up single node cluster on my machine.
I am following one of the tutorial, downloaded hadoop and installed on it but while starting node I am getting a log exception stack trace.

hduser@7LH28R1:/usr/local/hadoop/sbin$ ./start-dfs.sh
14/05/22 19:45:29 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Starting namenodes on [Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /usr/local/hadoop/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'.
localhost]
sed: -e expression #1, char 6: unknown option to `s'
-c: Unknown cipher type 'cd'
localhost:
localhost: ------------------------------------------------------------------------------------
localhost: These computer resources, specifically Internet access and E-mail, are
localhost: provided for authorized users only. For legal, security and cost
localhost: reasons, utilization and access of resources are monitored and recorded
localhost: in log files. All information (whether business or personal) that is
localhost: created, received, downloaded, stored, sent or otherwise processed can
localhost: be accessed, reviewed, copied, recorded or deleted by Ericsson, in
localhost: accordance with approved internal procedures, at any time if deemed
localhost: necessary or appropriate, and without advance notice. Any evidence of
localhost: unauthorized access or misuse of Ericsson resources may result in
localhost: disciplinary actions, including termination of employment or assignment,
localhost: and could subject a user to criminal prosecution. Your use of Ericsson's
localhost: computer resources constitutes your consent to Ericsson's Policies and
localhost: Directives, including the provisions stated above.
localhost:
localhost: IF YOU ARE NOT AN AUTHORIZED USER, PLEASE EXIT IMMEDIATELY.
localhost: ------------------------------------------------------------------------------------
noexecstack'.: ssh: Could not resolve hostname noexecstack'.: Name or service not known
64-Bit: ssh: Could not resolve hostname 64-Bit: Name or service not known
might: ssh: Could not resolve hostname might: Name or service not known
You: ssh: Could not resolve hostname You: Name or service not known
you: ssh: Could not resolve hostname you: Name or service not known
the: ssh: Could not resolve hostname the: Name or service not known
stack: ssh: Could not resolve hostname stack: Name or service not known
stack: ssh: Could not resolve hostname stack: Name or service not known
warning:: ssh: Could not resolve hostname warning:: Name or service not known
Java: ssh: Could not resolve hostname Java: Name or service not known
the: ssh: Could not resolve hostname the: Name or service not known
have: ssh: Could not resolve hostname have: Name or service not known
now.: ssh: Could not resolve hostname now.: Name or service not known
have: ssh: Could not resolve hostname have: Name or service not known
The: ssh: Could not resolve hostname The: Name or service not known
It's: ssh: Could not resolve hostname It's: Name or service not known
guard: ssh: Could not resolve hostname guard: Name or service not known
that: ssh: Could not resolve hostname that: Name or service not known
guard.: ssh: Could not resolve hostname guard.: Name or service not known
try: ssh: Could not resolve hostname try: Name or service not known
will: ssh: Could not resolve hostname will: Name or service not known
VM: ssh: Could not resolve hostname VM: Name or service not known
with: ssh: Could not resolve hostname with: Name or service not known
with: ssh: Could not resolve hostname with: Name or service not known
recommended: ssh: Could not resolve hostname recommended: Name or service not known
<libfile>',: ssh: Could not resolve hostname <libfile>',: Name or service not known
disabled: ssh: Could not resolve hostname disabled: Name or service not known
or: ssh: Could not resolve hostname or: Name or service not known
fix: ssh: Could not resolve hostname fix: Name or service not known
highly: ssh: Could not resolve hostname highly: Name or service not known
which: ssh: Could not resolve hostname which: Name or service not known
library: ssh: Could not resolve hostname library: Name or service not known
Server: ssh: Could not resolve hostname Server: Name or service not known
library: ssh: Could not resolve hostname library: Name or service not known
loaded: ssh: Could not resolve hostname loaded: Name or service not known
HotSpot(TM): ssh: Could not resolve hostname HotSpot(TM): Name or service not known
fix: ssh: Could not resolve hostname fix: Name or service not known
'execstack: ssh: Could not resolve hostname 'execstack: Name or service not known
'-z: ssh: Could not resolve hostname '-z: Name or service not known
VM: ssh: Could not resolve hostname VM: Name or service not known
link: ssh: Could not resolve hostname link: Name or service not known
it: ssh: Could not resolve hostname it: Name or service not known


Please help me to resolve out this issue.

Thanks
 
mishug Goyal
Ranch Hand
Posts: 57
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I resolved this issue myself, actually on my machine it was not able to find some java native library files. I re-installed jdk and it reolved this issue.

I am now able to set hadoop 2.4 version on my local machine.

Thanks.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for posting the solution. It might help others when they run into similar problem.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic