Local Configuration hadoop

This is my students to share links, very good use. https://www.2cto.com/net/201804/737747.html

Here is my configuration:

  1.  Copy the hadoop-eclipse-plugin-2.6.0.jar to the next eclipse local directory plugins folder

  2. Hadoop download the installation package, extract
  3. Configure the environment variables  
     HADOOP_HOME = D: \ hadoop-2.6.0 path which added:% HADOOP_HOME% / bin
  4. Hadoop modify the configuration file core-site.xml in the virtual machine address this at the command line to see the ifconfig
        <property>
            <name>fs.defaultFS</name>
            <value>hdfs://192.168.230.131:9000</value>
        </property>
    

      hdfs-site.xml

    	<property>
         <name>dfs.permissions</name>
         <value>false</value>
    	</property>
  5. In the eclipse to build a map / reduce,  

     

     

     

  6.  Test the connection on

     

     ! ! ! ! ! Remember virtual machine networking

 

Guess you like

Origin www.cnblogs.com/zmh-980509/p/11771256.html