Changes between Version 19 and Version 20 of jazz/Hadoop_Lab1
- Timestamp:
- Mar 23, 2009, 9:13:25 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
jazz/Hadoop_Lab1
v19 v20 73 73 /opt/hadoop$ cat >> conf/hadoop-env.sh << EOF 74 74 }}} 75 75 76 貼上以下資訊 77 76 78 {{{ 77 79 #!sh … … 118 120 == step 6. 格式化HDFS == 119 121 120 * 6.以上我們已經設定好 Hadoop 單機測試的環境,接著讓我們來啟動 Hadoop 相關服務,格式化 namenode, secondarynamenode, tasktracker122 * 以上我們已經設定好 Hadoop 單機測試的環境,接著讓我們來啟動 Hadoop 相關服務,格式化 namenode, secondarynamenode, tasktracker 121 123 {{{ 122 124 /opt/hadoop# bin/hadoop namenode -format … … 125 127 執行畫面如: 126 128 {{{ 127 128 129 09/03/23 20:19:47 INFO dfs.NameNode: STARTUP_MSG: 129 130 130 /************************************************************ 131 132 131 STARTUP_MSG: Starting NameNode 133 134 132 STARTUP_MSG: host = /localhost 135 136 133 STARTUP_MSG: args = [-format] 137 138 134 STARTUP_MSG: version = 0.18.3 139 140 135 STARTUP_MSG: build = https://svn.apache.org/repos/asf/hadoop/core/branches/branch-0.18 -r 736250; compiled by 'ndaley' on Thu Jan 22 23:12:08 UTC 2009 141 142 136 ************************************************************/ 143 144 137 09/03/23 20:19:47 INFO fs.FSNamesystem: fsOwner=hadooper,hadooper 145 146 138 09/03/23 20:19:47 INFO fs.FSNamesystem: supergroup=supergroup 147 148 139 09/03/23 20:19:47 INFO fs.FSNamesystem: isPermissionEnabled=true 149 150 140 09/03/23 20:19:47 INFO dfs.Storage: Image file of size 82 saved in 0 seconds. 151 152 141 09/03/23 20:19:47 INFO dfs.Storage: Storage directory /tmp/hadoop-hadooper/dfs/name has been successfully formatted. 153 154 142 09/03/23 20:19:47 INFO dfs.NameNode: SHUTDOWN_MSG: 155 156 143 /************************************************************ 157 158 144 SHUTDOWN_MSG: Shutting down NameNode at /localhost 159 160 145 ************************************************************/ 161 162 163 146 }}} 164 147 … … 172 155 {{{ 173 156 starting namenode, logging to /opt/hadoop/logs/hadoop-hadooper-namenode-vPro.out 174 175 157 localhost: starting datanode, logging to /opt/hadoop/logs/hadoop-hadooper-datanode-vPro.out 176 177 158 localhost: starting secondarynamenode, logging to /opt/hadoop/logs/hadoop-hadooper-secondarynamenode-vPro.out 178 179 159 starting jobtracker, logging to /opt/hadoop/logs/hadoop-hadooper-jobtracker-vPro.out 180 160 }}}