| 147 | |
| 148 | == Known Issue == |
| 149 | |
| 150 | * 如果要讓 DRBL Clients 都掛起硬碟來存資料,hadoop-site.xml 必須加入 |
| 151 | {{{ |
| 152 | <property> |
| 153 | <name>dfs.data.dir</name> |
| 154 | <value>預採用的路徑(Ex:/home/jazz/hadoop)</value> |
| 155 | <final>true</final> |
| 156 | </property> |
| 157 | }}} |
| 158 | * 記得 namenode 要 format 否則會無法連接上 namenode |
| 159 | * 有掛載硬碟時,當 datanode 第二次啟動,會出現錯誤訊息 |
| 160 | {{{ |
| 161 | 2009-03-21 01:03:49,814 INFO org.apache.hadoop.dfs.Storage: Cannot lock storage /home/jazz/hadoop. The directory is already locked. |
| 162 | 2009-03-21 01:03:49,915 ERROR org.apache.hadoop.dfs.DataNode: java.io.IOException: Cannot lock storage /home/jazz/hadoop. The directory is already locked. |
| 163 | at org.apache.hadoop.dfs.Storage$StorageDirectory.lock(Storage.java:447) |
| 164 | at org.apache.hadoop.dfs.Storage$StorageDirectory.analyzeStorage(Storage.java:300) |
| 165 | at org.apache.hadoop.dfs.DataStorage.recoverTransitionRead(DataStorage.java:105) |
| 166 | at org.apache.hadoop.dfs.DataNode.startDataNode(DataNode.java:306) |
| 167 | at org.apache.hadoop.dfs.DataNode.<init>(DataNode.java:223) |
| 168 | at org.apache.hadoop.dfs.DataNode.makeInstance(DataNode.java:3071) |
| 169 | at org.apache.hadoop.dfs.DataNode.instantiateDataNode(DataNode.java:3026) |
| 170 | at org.apache.hadoop.dfs.DataNode.createDataNode(DataNode.java:3034) |
| 171 | at org.apache.hadoop.dfs.DataNode.main(DataNode.java:3156) |
| 172 | |
| 173 | 2009-03-21 01:03:49,915 INFO org.apache.hadoop.dfs.DataNode: SHUTDOWN_MSG: |
| 174 | /************************************************************ |
| 175 | SHUTDOWN_MSG: Shutting down DataNode at pc144/192.168.100.44 |
| 176 | ************************************************************/ |
| 177 | }}} |