Spark 생태의 Tachyon 학습 6 - - 클러스터 버전 구축 문제의 클러스터를 모두 시작할 수 없음
hadoop@Master:~/cloud/alluxio-0.7.1$ ./bin/tachyon format
Connecting to Mcnode1 as hadoop...
Formatting Tachyon Worker @ Mcnode1
Connection to mcnode1 closed.
Connecting to Mcnode2 as hadoop...
Formatting Tachyon Worker @ Mcnode2
Connection to mcnode2 closed.
Connecting to Mcnode3 as hadoop...
dirname: missing operand
Try 'dirname --help' for more information.
Formatting Tachyon Worker @ Mcnode3
/home/hadoop/cloud/alluxio-0.7.1/bin/tachyon: line 264: /../bin/java: No such file or directory
Connection to mcnode3 closed.
Connecting to Mcnode4 as hadoop...
dirname: missing operand
Try 'dirname --help' for more information.
Formatting Tachyon Worker @ Mcnode4
/home/hadoop/cloud/alluxio-0.7.1/bin/tachyon: line 264: /../bin/java: No such file or directory
Connection to mcnode4 closed.
Connecting to Mcnode5 as hadoop...
dirname: missing operand
Try 'dirname --help' for more information.
Formatting Tachyon Worker @ Mcnode5
/home/hadoop/cloud/alluxio-0.7.1/bin/tachyon: line 264: /../bin/java: No such file or directory
Connection to mcnode5 closed.
Connecting to Mcnode6 as hadoop...
Formatting Tachyon Worker @ Mcnode6
Connection to mcnode6 closed.
Formatting Tachyon Master @ Master
hadoop@Master:~/cloud/alluxio-0.7.1$ ./bin/tachyon-start.sh all Mount
Killed 0 processes on Master
Killed 0 processes on Master
Connecting to Mcnode1 as hadoop...
Killed 0 processes on Mcnode1
Connection to mcnode1 closed.
Connecting to Mcnode2 as hadoop...
Killed 0 processes on Mcnode2
Connection to mcnode2 closed.
Connecting to Mcnode3 as hadoop...
dirname: missing operand
Try 'dirname --help' for more information.
Killed 0 processes on Mcnode3
Connection to mcnode3 closed.
Connecting to Mcnode4 as hadoop...
dirname: missing operand
Try 'dirname --help' for more information.
Killed 0 processes on Mcnode4
Connection to mcnode4 closed.
Connecting to Mcnode5 as hadoop...
dirname: missing operand
Try 'dirname --help' for more information.
Killed 0 processes on Mcnode5
Connection to mcnode5 closed.
Connecting to Mcnode6 as hadoop...
Killed 0 processes on Mcnode6
Connection to mcnode6 closed.
Starting master @ Master
Connecting to Mcnode1 as hadoop...
Formatting RamFS: /mnt/ramdisk (256mb)
umount: only root can do that
ERROR: umount RamFS /mnt/ramdisk failed
Mount failed, not starting worker
Connection to mcnode1 closed.
Connecting to Mcnode2 as hadoop...
Formatting RamFS: /mnt/ramdisk (256mb)
umount: only root can do that
ERROR: umount RamFS /mnt/ramdisk failed
Mount failed, not starting worker
Connection to mcnode2 closed.
Connecting to Mcnode3 as hadoop...
dirname: missing operand
Try 'dirname --help' for more information.
TACHYON_LOGS_DIR: /home/hadoop/cloud/alluxio-0.7.1/logs
Formatting RamFS: /mnt/ramdisk (256mb)
umount: only root can do that
ERROR: umount RamFS /mnt/ramdisk failed
Mount failed, not starting worker
Connection to mcnode3 closed.
Connecting to Mcnode4 as hadoop...
dirname: missing operand
Try 'dirname --help' for more information.
TACHYON_LOGS_DIR: /home/hadoop/cloud/alluxio-0.7.1/logs
Formatting RamFS: /mnt/ramdisk (256mb)
umount: only root can do that
ERROR: umount RamFS /mnt/ramdisk failed
Mount failed, not starting worker
Connection to mcnode4 closed.
Connecting to Mcnode5 as hadoop...
dirname: missing operand
Try 'dirname --help' for more information.
TACHYON_LOGS_DIR: /home/hadoop/cloud/alluxio-0.7.1/logs
Formatting RamFS: /mnt/ramdisk (256mb)
umount: only root can do that
ERROR: umount RamFS /mnt/ramdisk failed
Mount failed, not starting worker
Connection to mcnode5 closed.
Connecting to Mcnode6 as hadoop...
Formatting RamFS: /mnt/ramdisk (256mb)
umount: only root can do that
ERROR: umount RamFS /mnt/ramdisk failed
Mount failed, not starting worker
Connection to mcnode6 closed.
hadoop@Master:~/cloud/alluxio-0.7.1$ ./bin/tachyon-start.sh all SudoMount
Killed 1 processes on Master
Killed 0 processes on Master
Connecting to Mcnode1 as hadoop...
Killed 0 processes on Mcnode1
Connection to mcnode1 closed.
Connecting to Mcnode2 as hadoop...
Killed 0 processes on Mcnode2
Connection to mcnode2 closed.
Connecting to Mcnode3 as hadoop...
dirname: missing operand
Try 'dirname --help' for more information.
Killed 0 processes on Mcnode3
Connection to mcnode3 closed.
Connecting to Mcnode4 as hadoop...
dirname: missing operand
Try 'dirname --help' for more information.
Killed 0 processes on Mcnode4
Connection to mcnode4 closed.
Connecting to Mcnode5 as hadoop...
dirname: missing operand
Try 'dirname --help' for more information.
Killed 0 processes on Mcnode5
Connection to mcnode5 closed.
Connecting to Mcnode6 as hadoop...
Killed 0 processes on Mcnode6
Connection to mcnode6 closed.
Starting master @ Master
Connecting to Mcnode1 as hadoop...
[sudo] password for hadoop:
Formatting RamFS: /mnt/ramdisk (256mb)
Starting worker @ Mcnode1
Connection to mcnode1 closed.
Connecting to Mcnode2 as hadoop...
[sudo] password for hadoop:
Formatting RamFS: /mnt/ramdisk (256mb)
Starting worker @ Mcnode2
Connection to mcnode2 closed.
Connecting to Mcnode3 as hadoop...
dirname: missing operand
Try 'dirname --help' for more information.
[sudo] password for hadoop:
dirname: missing operand
Try 'dirname --help' for more information.
Formatting RamFS: /mnt/ramdisk (256mb)
Starting worker @ Mcnode3
Connection to mcnode3 closed.
Connecting to Mcnode4 as hadoop...
dirname: missing operand
Try 'dirname --help' for more information.
[sudo] password for hadoop:
dirname: missing operand
Try 'dirname --help' for more information.
Formatting RamFS: /mnt/ramdisk (256mb)
Starting worker @ Mcnode4
Connection to mcnode4 closed.
Connecting to Mcnode5 as hadoop...
dirname: missing operand
Try 'dirname --help' for more information.
[sudo] password for hadoop:
dirname: missing operand
Try 'dirname --help' for more information.
Formatting RamFS: /mnt/ramdisk (256mb)
Starting worker @ Mcnode5
Connection to mcnode5 closed.
Connecting to Mcnode6 as hadoop...
[sudo] password for hadoop:
Formatting RamFS: /mnt/ramdisk (256mb)
Starting worker @ Mcnode6
Connection to mcnode6 closed.
hadoop@Master:~/cloud/alluxio-0.7.1$
hadoop@Master:~/cloud/alluxio-0.7.1$ jps
30101 SparkSubmit
17541 ResourceManager
2526 TachyonMaster
17389 SecondaryNameNode
27677 CoarseGrainedExecutorBackend
2610 Jps
17173 NameNode
17935 Master
18125 Worker
1450 SparkSubmit
27574 SparkSubmit
3528 HistoryServer
해결 방법:
각 노드에서 각각 시작하면 모든 노드를 시작할 수 있으며 마스터의 19999에서 볼 수 있다.
Last login: Thu May 5 20:26:04 2016 from mcnode4
hadoop@Mcnode5:~$ cd cloud/alluxio-0.7.1/bin/
hadoop@Mcnode5:~/cloud/alluxio-0.7.1/bin$ ./tachyon-start.sh local
Killed 0 processes on Mcnode5
Killed 0 processes on Mcnode5
Connecting to Mcnode1 as hadoop...
Killed 1 processes on Mcnode1
Connection to mcnode1 closed.
Connecting to Mcnode2 as hadoop...
Killed 1 processes on Mcnode2
Connection to mcnode2 closed.
Connecting to Mcnode3 as hadoop...
Warning: Permanently added 'mcnode3,219.219.220.131' (ECDSA) to the list of known hosts.
dirname: missing operand
Try 'dirname --help' for more information.
Killed 0 processes on Mcnode3
Connection to mcnode3 closed.
Connecting to Mcnode4 as hadoop...
dirname: missing operand
Try 'dirname --help' for more information.
Killed 1 processes on Mcnode4
Connection to mcnode4 closed.
Connecting to Mcnode5 as hadoop...
Warning: Permanently added 'mcnode5,219.219.220.215' (ECDSA) to the list of known hosts.
dirname: missing operand
Try 'dirname --help' for more information.
Killed 0 processes on Mcnode5
Connection to mcnode5 closed.
Connecting to Mcnode6 as hadoop...
Killed 1 processes on Mcnode6
Connection to mcnode6 closed.
[sudo] password for hadoop:
dirname: missing operand
Try 'dirname --help' for more information.
Formatting RamFS: /mnt/ramdisk (256mb)
Starting master @ Master
Starting worker @ Mcnode5
그러나 파일을 업로드한 후 오류가 발생했습니다.
hadoop@Mcnode3:~/cloud/tachyon-0.7.1-hadoop2.6-bin$ jps
Error occurred during initialization of VM
java.lang.Error: Properties init: Could not determine current working directory.
at java.lang.System.initProperties(Native Method)
at java.lang.System.initializeSystemClass(System.java:1119)
클러스터 닫기:
hadoop@Master:~/cloud/tachyon-0.7.1-hadoop2.6-bin$ ./bin/tachyon-stop.sh
Killed 1 processes on Master
Killed 0 processes on Master
Connecting to Mcnode1 as hadoop...
Killed 1 processes on Mcnode1
Connection to mcnode1 closed.
Connecting to Mcnode2 as hadoop...
Killed 1 processes on Mcnode2
Connection to mcnode2 closed.
Connecting to Mcnode3 as hadoop...
dirname: missing operand
Try 'dirname --help' for more information.
Killed 0 processes on Mcnode3
Connection to mcnode3 closed.
Connecting to Mcnode4 as hadoop...
dirname: missing operand
Try 'dirname --help' for more information.
Killed 0 processes on Mcnode4
Connection to mcnode4 closed.
Connecting to Mcnode5 as hadoop...
dirname: missing operand
Try 'dirname --help' for more information.
Killed 1 processes on Mcnode5
Connection to mcnode5 closed.
Connecting to Mcnode6 as hadoop...
Killed 1 processes on Mcnode6
Connection to mcnode6 closed.
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
다양한 언어의 JSONJSON은 Javascript 표기법을 사용하여 데이터 구조를 레이아웃하는 데이터 형식입니다. 그러나 Javascript가 코드에서 이러한 구조를 나타낼 수 있는 유일한 언어는 아닙니다. 저는 일반적으로 '객체'{}...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.