| 362 | |
| 363 | == Windows 7 常見問題 == |
| 364 | |
| 365 | * 若您在 Windows 7 底下無法看到 jps 的結果,欲啟動 Hadoop 請執行以下指令: |
| 366 | {{{ |
| 367 | taskkill /f /im java.exe |
| 368 | /opt/hadoop/bin/hadoop-daemon.sh start namenode |
| 369 | /opt/hadoop/bin/hadoop-daemon.sh start secondarynamenode |
| 370 | /opt/hadoop/bin/hadoop-daemon.sh start datanode |
| 371 | /opt/hadoop/bin/hadoop-daemon.sh start jobtracker |
| 372 | /opt/hadoop/bin/hadoop-daemon.sh start tasktracker |
| 373 | }}} |
| 374 | |
| 375 | * 若您在 Windows 7 底下要關閉 Hadoop 的所有服務,請使用以下指令 |
| 376 | {{{ |
| 377 | /opt/hadoop/bin/hadoop-daemon.sh stop tasktracker |
| 378 | /opt/hadoop/bin/hadoop-daemon.sh stop datanode |
| 379 | /opt/hadoop/bin/hadoop-daemon.sh stop secondarynamenode |
| 380 | /opt/hadoop/bin/hadoop-daemon.sh stop jobtracker |
| 381 | /opt/hadoop/bin/hadoop-daemon.sh stop namenode |
| 382 | }}} |