zoukankan      html  css  js  c++  java
  • hadoop install

    1.home下建立hadoop

    2.在Downloads下解压hadoop-2.6.0.tar.gz

    3.将解压后的hadoop-2.6.0移动到/home/hadoop

    4.csf@ubuntu:/home$ gedit ~/.bashrc

    ...

    5.   . ~/.bashrc

    6. csf@ubuntu:/home$ sudo gedit /home/hadoop/etc/hadoop/hadoop-env.sh

    ...

    7.csf@ubuntu:/home$ sudo gedit /home/hadoop/etc/hadoop/core-site.xml

    let the content of down insert into :<configuration></configuration>

    <property>
    <name>hadoop.tmp.dir</name>
    <value>/app/hadoop/tmp</value>
    <description>Parent directory for other temporary directories.</description>
    </property>
    <property>
    <name>fs.defaultFS </name>
    <value>hdfs://localhost:54310</value>
    <description>The name of the default file system. </description>
    </property>
     
    8.
    csf@ubuntu:/home$ cd hadoop/etc/hadoop
    csf@ubuntu:/home/hadoop/etc/hadoop$ sudo mkdir -p /app/hadoop/tmp
    csf@ubuntu:/home/hadoop/etc/hadoop$ sudo chmod 750 /app/hadoop/tmp
    9.
    csf@ubuntu:/home/hadoop/etc/hadoop$ sudo gedit /etc/profile.d/hadoop.sh
    ...
    10
    csf@ubuntu:/home/hadoop/etc/hadoop$ sudo chmod +x /etc/profile.d/hadoop.sh

     
  • 相关阅读:
    olcano调度器源代码走读actions篇
    dlv volcano scheduler
    informer
    DeltaFIFO reflector
    第五章 Redis集群
    第四章 Redis主从
    第三章 ACL安全策略
    第二章 Redis数据类型
    第一章 Redis基本原理
    第九章 Confluence集成Jira
  • 原文地址:https://www.cnblogs.com/cdsj/p/4299039.html
Copyright © 2011-2022 走看看