Changes between Version 5 and Version 6 of NCHCCloudCourse100802/Lab1


Ignore:
Timestamp:
Aug 4, 2010, 9:58:58 AM (14 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NCHCCloudCourse100802/Lab1

    v5 v6  
    7777== Step 4: Configure hadoop-env.sh ==
    7878 
    79  * 進入 hadoop 目錄,做進一步的設定。我們需要修改兩個檔案,第一個是 '''hadoop-env.sh''',需要設定 JAVA_HOME, HADOOP_HOME, HADOOP_CONF_DIR 三個環境變數。 [[BR]] Change directory to hadoop source folder to configure the basic configuration. We will need to modify two configuration files. The first one is '''hadoop-env.sh'''. We will configure three environment variables : '''JAVA_HOME''', '''HADOOP_HOME''', and '''HADOOP_CONF_DIR'''.
     79 * 進入 hadoop 目錄,做進一步的設定。我們需要修改四個檔案,第一個是 '''hadoop-env.sh''',需要設定 JAVA_HOME, HADOOP_HOME, HADOOP_CONF_DIR 三個環境變數。 [[BR]] Change directory to hadoop source folder to configure the basic configuration. We will need to modify four configuration files. The first one is '''hadoop-env.sh'''. We will configure three environment variables : '''JAVA_HOME''', '''HADOOP_HOME''', and '''HADOOP_CONF_DIR'''. Following the steps listed here:
    8080
    8181{{{
     
    8484}}}
    8585
    86  貼上以下資訊
     86 貼上以下資訊[[BR]]and paste following settings after last command.
    8787
    8888{{{
     
    9595
    9696
    97  == step 5. 設定 *-site.xml ==
    98  
    99  * 接下來的設定檔共有3個 '''core-site.xml, hdfs-site.xml, mapred-site.xml''',
     97== Step 5: 設定 *-site.xml ==
     98== Step 5: Configure *-site.xml ==
     99 
     100 * 接下來的設定檔共有3個 '''core-site.xml, hdfs-site.xml, mapred-site.xml''',[[BR]] Next, let's configure three configuration files including '''core-site.xml, hdfs-site.xml, mapred-site.xml'''. Please copy and paste the command:
    100101
    101102{{{
     
    103104}}}
    104105
    105  貼上以下內容
     106 貼上以下內容[[BR]]Then paste following settings after last command.
    106107
    107108{{{
     
    125126}}}
    126127
    127  貼上以下內容
     128 貼上以下內容[[BR]]Paste following settings after last command.
    128129
    129130{{{
     
    143144}}}
    144145
    145  貼上以下內容
     146 貼上以下內容[[BR]]Paste following settings after last command.
    146147
    147148{{{
     
    156157}}}
    157158
    158 == step 6. 格式化HDFS ==
     159== Step 6: 格式化 HDFS ==
     160== Step 6: Format HDFS ==
    159161
    160162 * 以上我們已經設定好 Hadoop 單機測試的環境,接著讓我們來啟動 Hadoop 相關服務,格式化 namenode, secondarynamenode, tasktracker