Cluster Installation 진행 중 다음과 같은 문제 발생 시
아래의 절차를 확인
1. /etc/rc.local 파일에 다음 사항을 확인
1 2 3 | echo never > /sys/kernel/mm/transparent_hugepage/defrag echo never > /sys/kernel/mm/transparent_hugepage/enabled | cs |
2.
1 2 3 4 5 6 7 | # pssh -h dept.hosts chmod +x /etc/rc.d/rc.local [1] 18:16:11 [SUCCESS] root@192.168.0.31 [2] 18:16:11 [SUCCESS] root@192.168.0.33 [3] 18:16:12 [SUCCESS] root@192.168.0.32 [4] 18:16:12 [SUCCESS] root@192.168.0.34 [5] 18:16:12 [SUCCESS] root@192.168.0.35 | cs |
3.
3-1.
1 2 3 4 | # cat << EOT >> /etc/default/grub > transparent_hugepage=never > EOT | cs |
3-2.
1 2 3 4 5 6 7 | # pscp -h dept.hosts /etc/default/grub /etc/default/grub [1] 18:19:23 [SUCCESS] root@192.168.0.31 [2] 18:19:23 [SUCCESS] root@192.168.0.33 [3] 18:19:23 [SUCCESS] root@192.168.0.34 [4] 18:19:23 [SUCCESS] root@192.168.0.32 [5] 18:19:23 [SUCCESS] root@192.168.0.35 | cs |
4.
1 2 3 4 5 6 7 | # pssh -h dept.hosts grub2-mkconfig -o /boot/grub2/grub.cfg [1] 18:20:30 [SUCCESS] root@192.168.0.31 [2] 18:20:30 [SUCCESS] root@192.168.0.32 [3] 18:20:30 [SUCCESS] root@192.168.0.35 [4] 18:20:31 [SUCCESS] root@192.168.0.33 [5] 18:20:31 [SUCCESS] root@192.168.0.34 | cs |
5.
1 2 3 4 5 6 7 | # pssh -h dept.hosts systemctl start tuned [1] 18:35:14 [SUCCESS] root@192.168.0.32 [2] 18:35:14 [SUCCESS] root@192.168.0.33 [3] 18:35:14 [SUCCESS] root@192.168.0.35 [4] 18:35:14 [SUCCESS] root@192.168.0.34 [5] 18:35:14 [SUCCESS] root@192.168.0.31 | cs |
6.
1 2 3 4 5 6 7 | # pssh -h dept.hosts tuned-adm off [1] 18:35:31 [SUCCESS] root@192.168.0.31 [2] 18:35:31 [SUCCESS] root@192.168.0.32 [3] 18:35:31 [SUCCESS] root@192.168.0.34 [4] 18:35:31 [SUCCESS] root@192.168.0.33 [5] 18:35:32 [SUCCESS] root@192.168.0.35 | cs |
7.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | # pssh -h dept.hosts -i tuned-adm list [1] 18:35:55 [SUCCESS] root@192.168.0.31 Available profiles: - balanced - General non-specialized tuned profile - desktop - Optimize for the desktop use-case - latency-performance - Optimize for deterministic performance at the cost of increased power consumption - network-latency - Optimize for deterministic performance at the cost of increased power consumption, focused on low latency network performance - network-throughput - Optimize for streaming network throughput, generally only necessary on older CPUs or 40G+ networks - powersave - Optimize for low power consumption - throughput-performance - Broadly applicable tuning that provides excellent performance across a variety of common server workloads - virtual-guest - Optimize for running inside a virtual guest - virtual-host - Optimize for running KVM guests No current active profile. [2] 18:35:55 [SUCCESS] root@192.168.0.32 Available profiles: - balanced - General non-specialized tuned profile - desktop - Optimize for the desktop use-case - latency-performance - Optimize for deterministic performance at the cost of increased power consumption - network-latency - Optimize for deterministic performance at the cost of increased power consumption, focused on low latency network performance - network-throughput - Optimize for streaming network throughput, generally only necessary on older CPUs or 40G+ networks - powersave - Optimize for low power consumption - throughput-performance - Broadly applicable tuning that provides excellent performance across a variety of common server workloads - virtual-guest - Optimize for running inside a virtual guest - virtual-host - Optimize for running KVM guests No current active profile. [3] 18:35:55 [SUCCESS] root@192.168.0.33 Available profiles: - balanced - General non-specialized tuned profile - desktop - Optimize for the desktop use-case - latency-performance - Optimize for deterministic performance at the cost of increased power consumption - network-latency - Optimize for deterministic performance at the cost of increased power consumption, focused on low latency network performance - network-throughput - Optimize for streaming network throughput, generally only necessary on older CPUs or 40G+ networks - powersave - Optimize for low power consumption - throughput-performance - Broadly applicable tuning that provides excellent performance across a variety of common server workloads - virtual-guest - Optimize for running inside a virtual guest - virtual-host - Optimize for running KVM guests No current active profile. [4] 18:35:55 [SUCCESS] root@192.168.0.35 Available profiles: - balanced - General non-specialized tuned profile - desktop - Optimize for the desktop use-case - latency-performance - Optimize for deterministic performance at the cost of increased power consumption - network-latency - Optimize for deterministic performance at the cost of increased power consumption, focused on low latency network performance - network-throughput - Optimize for streaming network throughput, generally only necessary on older CPUs or 40G+ networks - powersave - Optimize for low power consumption - throughput-performance - Broadly applicable tuning that provides excellent performance across a variety of common server workloads - virtual-guest - Optimize for running inside a virtual guest - virtual-host - Optimize for running KVM guests No current active profile. [5] 18:35:55 [SUCCESS] root@192.168.0.34 Available profiles: - balanced - General non-specialized tuned profile - desktop - Optimize for the desktop use-case - latency-performance - Optimize for deterministic performance at the cost of increased power consumption - network-latency - Optimize for deterministic performance at the cost of increased power consumption, focused on low latency network performance - network-throughput - Optimize for streaming network throughput, generally only necessary on older CPUs or 40G+ networks - powersave - Optimize for low power consumption - throughput-performance - Broadly applicable tuning that provides excellent performance across a variety of common server workloads - virtual-guest - Optimize for running inside a virtual guest - virtual-host - Optimize for running KVM guests No current active profile. | cs |
* 위와 같이 마지막 줄에 "No current active profile."라고 출력되는지 확인 필요
8.
1 2 3 4 5 6 7 | # pssh -h dept.hosts systemctl stop tuned [1] 18:36:36 [SUCCESS] root@192.168.0.32 [2] 18:36:36 [SUCCESS] root@192.168.0.33 [3] 18:36:36 [SUCCESS] root@192.168.0.34 [4] 18:36:36 [SUCCESS] root@192.168.0.31 [5] 18:36:36 [SUCCESS] root@192.168.0.35 | cs |
9.
1 2 3 4 5 6 7 | # pssh -h dept.hosts systemctl disable tuned [1] 18:36:50 [SUCCESS] root@192.168.0.32 [2] 18:36:50 [SUCCESS] root@192.168.0.33 [3] 18:36:51 [SUCCESS] root@192.168.0.31 [4] 18:36:51 [SUCCESS] root@192.168.0.34 [5] 18:36:51 [SUCCESS] root@192.168.0.35 | cs |
확인 필요.
'Big Data Platform' 카테고리의 다른 글
[경고] Cloudera supports versions 1.6.0_31 and 1.7.0_55 of Oracle JVM and later. (0) | 2018.06.17 |
---|---|
[에러] No route to host (0) | 2018.06.01 |
CentOS Cloudera Manager 설치 (0) | 2018.05.31 |