close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_repos.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
May 26, 2010, 11:21:58 PM (15 years ago)
- Author:
-
jazz
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v49
|
v50
|
|
| 180 | 180 | * [[BR]][[Image(hadoop4win_18.jpg,width=600)]] |
| 181 | 181 | |
| 182 | | * 由於 Cygwin 的路徑並無法正常被 Hadoop 解析,亦即 Hadoop 經過 Windows OS 告知路徑為 C:\hadoop4win\opt\hadoop\ 但在 Cygwin 中卻為 \opt\hadoop。因此倘若您看到 Path not found 的問題,可用 cygpath 解決。例如: |
| | 182 | * 由於 Cygwin 的路徑並無法正常被 Hadoop 解析,亦即 Hadoop 經過 Windows OS 告知路徑為 C:\hadoop4win\opt\hadoop\ 但在 Cygwin 中卻為 \opt\hadoop。因此倘若您看到 File XXXX does not exist 的問題,可用 cygpath 解決。例如: |
| | 183 | {{{ |
| | 184 | hadoop@JAZZ ~ |
| | 185 | $ cd /opt/hadoop |
| | 186 | |
| | 187 | hadoop@JAZZ /opt/hadoop |
| | 188 | $ bin/hadoop fs -put conf input2 |
| | 189 | put: File conf does not exist. |
| | 190 | |
| | 191 | hadoop@JAZZ /opt/hadoop |
| | 192 | $ cygpath -w /opt/hadoop/conf |
| | 193 | C:\hadoop4win\opt\hadoop-0.20.2\conf-examples\ |
| | 194 | |
| | 195 | hadoop@JAZZ /opt/hadoop |
| | 196 | $ bin/hadoop fs -put $(cygpath -w conf) input2 |
| | 197 | }}} |
| | 198 | * [[BR]][[Image(hadoop4win_28.jpg,width=600)]] |
| 183 | 199 | |
| 184 | 200 | * [備註] 若需要重新啟動 Cygwin 環境,請至 C:\hadoop4win 目錄執行 cygwin.bat 批次檔 |