Had Oops
Had Oops
Had Oops
0_25
PATH=$PATH:$JAVA_HOME/bin
JRE_HOME=/usr/local/java/jre1.8.0_25
PATH=$PATH:$JRE_HOME/bin
HADOOP_INSTALL=/home/user/hadoop/hadoop-1.2.1
PATH=$PATH:$HADOOP_INSTALL/bin
export JAVA_HOME
export JRE_HOME
export PATH
/home/user/hadoop
/home/user/hadoop/hadoop-1.2.1
/home/user/hadoop/hadoop-1.2.1/bin
bin/hadoop jar hadoop-examples-*.jar grep input output 'dfs[a-z.]+'
/usr/bin/java
sudo update-alternatives
/javac 1
/usr/bin/javac
-install
/usr/bin/javaws
"java"
/usr/local/java/jre1.8.0_25
javac
javaws
/usr/local/java/jdk1.8.0_25/bin
/usr/local/java/jre1.8.0_25/b
</configuration>
<configuration>
<property>
<name>fs.default.name</name>
<value>hdfs://localhost:9000</value>
</property>
</configuration>
======================================
hdfs-site.xml
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!-- Put site-specific property overrides in this file. -->
<configuration>
</configuration>
<configuration>
<property>
<name>dfs.replication</name>
<value>1</value>
</property>
</configuration>
---------------------------------mapped-site.xml
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!-- Put site-specific property overrides in this file. -->
<configuration>
</configuration>
<configuration>
<property>
<name>mapred.job.tracker</name>
<value>localhost:9001</value>
</property>
</configuration>
export JAVA_HOME=/usr/local/java/jdk1.7.0_40
export JAVA_HOME=/usr/local/java/jdk1.8.0_25
java
/usr/local/java/jre1.7.0_40/bi
/us