Hadoop installation issue on fedora 24

0 votes

 have been following this tutorial thttp://www.tecmint.com/install-configure-apache-hadoop-centos-7/ to set up hadoop on a virtual machine. However, when i try to start hadoop I am getting the follow error:

start-dfs.sh 

Java HotSpot(TM) Client VM warning: You have loaded library /opt/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'. 16/11/09 08:20:06 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable Starting namenodes on [master.hadoop.lan]

my Java JDK directory is JAVA_HOME=/usr/local/jdk1.8.0_111

below is my configuration information in the .bash_profile file:

## JAVA env variables
export JAVA_HOME=/usr/local/jdk1.8.0_111
export PATH=$PATH:$JAVA_HOME/bin
export CLASSPATH=.:$JAVA_HOME/jre/lib:$JAVA_HOME/lib:$JAVA_HOME/lib/tools.jar
## HADOOP env variables
export HADOOP_HOME=/opt/hadoop
export HADOOP_COMMON_HOME=$HADOOP_HOME
export HADOOP_HDFS_HOME=$HADOOP_HOME
export HADOOP_MAPRED_HOME=$HADOOP_HOME
export HADOOP_YARN_HOME=$HADOOP_HOME
export HADOOP_OPTS="-Djava.library.path=$HADOOP_HOME/lib/native"
export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/native
export PATH=$PATH:$HADOOP_HOME/sbin:$HADOOP_HOME/bin

my java home path in the hadoop-env.sh file is :

export JAVA_HOME=/usr/local/jdk1.8.0_111
Am I missing a configuration step?
Jan 24 in Big Data Hadoop by Neha
• 6,280 points
46 views

1 answer to this question.

0 votes

type jps and check whether namenode and datanode is running.

If you want to eliminate the warning, replace export HADOOP_OPTS="-Djava.library.path=$HADOOP_HOME/lib/native" with

export HADOOP_OPTS="-Djava.library.path=$HADOOP_HOME/lib"
export HADOOP_OPTS="$HADOOP_OPTS -XX:-PrintWarnings -Djava.net.preferIPv4Stack=true"

and execute bash

answered Jan 24 by Frankie
• 9,810 points

Related Questions In Big Data Hadoop

+1 vote
1 answer

Hadoop Installation Issue on Windows

Below is the main error you are ...READ MORE

answered Mar 26, 2018 in Big Data Hadoop by nitinrawat895
• 10,690 points
792 views
0 votes
1 answer

Hadoop installation on Ubuntu.

I have the perfect solution for you, ...READ MORE

answered Mar 7 in Big Data Hadoop by nitinrawat895
• 10,690 points
93 views
0 votes
1 answer

Can someone help with Hadoop installation Setup on Ubuntu?

I have understood your query, I have ...READ MORE

answered May 15 in Big Data Hadoop by ravikiran
• 4,560 points
31 views
0 votes
1 answer

Issue with GPG Key retrieval which failed Hadoop Bigtop installation process.

 I understood your problem, I hope you can ...READ MORE

answered May 24 in Big Data Hadoop by ravikiran
• 4,560 points
30 views
0 votes
1 answer

How do I set variable if a specific package version is installed in CFEngine?

Here is what you can do.Just use packagesmatching to ...READ MORE

answered Jul 12, 2018 in Other DevOps Questions by Atul
• 10,240 points
87 views
0 votes
1 answer
0 votes
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,690 points
3,024 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,690 points
337 views
0 votes
1 answer

Want to have an idea on Hadoop Machine Learning and Data Mining project.

You haven't written anything about your interest. ...READ MORE

answered Aug 13, 2018 in Big Data Hadoop by Frankie
• 9,810 points
179 views
0 votes
1 answer

What are the options for hadoop on scala?

Definitely check out Scalding. Speaking as a user ...READ MORE

answered Aug 21, 2018 in Big Data Hadoop by Frankie
• 9,810 points
40 views