wiki:waue/2010/0106

Version 8 (modified by waue, 13 years ago) (diff)

--

cloudera 0.18 -> 0.20

  • hadoop install
    $ sudo su -
    # apt-get install hadoop-0.18 hadoop-0.18-namenode  hadoop-conf-pseudo
    # apt-get install hadoop-0.18-datanode hadoop-0.18-jobtracker hadoop-0.18-tasktracker
    
  • hadoop namenode format
    # su -s /bin/bash - hadoop -c 'hadoop namenode -format'
    
    • use instruction
      # su -s /bin/bash - hadoop -c " COMMAND "
      
  • startup
    # /etc/init.d/hadoop-namenode start
    
  • setup the conf files

...

(hadoop-env.sh, core-site.xml, hdfs-site.xml, mapred-site.xml)

....

  • upgrade cloudera-hadoop-0.18 ---> official-hadoop 0.20
    # su -s /bin/bash - hadoop -c " /opt/hadoop/bin/hadoop namenode -upgrade "
    

[image(2010-01-06-181048_959x723_scrot.png)]

Attachments (3)

Download all attachments as: .zip