Changes between Version 5 and Version 6 of NCHCCloudCourse100802/Lab1
- Timestamp:
- Aug 4, 2010, 9:58:58 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NCHCCloudCourse100802/Lab1
v5 v6 77 77 == Step 4: Configure hadoop-env.sh == 78 78 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: 80 80 81 81 {{{ … … 84 84 }}} 85 85 86 貼上以下資訊 86 貼上以下資訊[[BR]]and paste following settings after last command. 87 87 88 88 {{{ … … 95 95 96 96 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: 100 101 101 102 {{{ … … 103 104 }}} 104 105 105 貼上以下內容 106 貼上以下內容[[BR]]Then paste following settings after last command. 106 107 107 108 {{{ … … 125 126 }}} 126 127 127 貼上以下內容 128 貼上以下內容[[BR]]Paste following settings after last command. 128 129 129 130 {{{ … … 143 144 }}} 144 145 145 貼上以下內容 146 貼上以下內容[[BR]]Paste following settings after last command. 146 147 147 148 {{{ … … 156 157 }}} 157 158 158 == step 6. 格式化HDFS == 159 == Step 6: 格式化 HDFS == 160 == Step 6: Format HDFS == 159 161 160 162 * 以上我們已經設定好 Hadoop 單機測試的環境,接著讓我們來啟動 Hadoop 相關服務,格式化 namenode, secondarynamenode, tasktracker