Cloudera CDH/CDP 및 Hadoop EcoSystem, Semantic IoT등의 개발/운영 기술을 정리합니다. gooper@gooper.com로 문의 주세요.
cm_guid파일에 등록된 ID와 CM server가 보내주는 ID가 다르게 설정되어 있어서 발생하는 문제이므로 cm_guid파일을 삭제후 agent를 재시작한다
1. rm /var/lib/cloudera-scm-agent/cm_guid
2. service cloudera-scm-agent restart
--agent로그파일(/var/log/cloudera-scm-agent/cloudera-scm-agent.log) 내용-------------------
[29/Mar/2018 10:36:36 +0000] 11002 MainThread agent INFO CM server guid: ef23e55e-06a5-4a11-b9e9-74b5159141f4
[29/Mar/2018 10:36:36 +0000] 11002 MainThread agent INFO Using parcels directory from server provided value: /opt/cloudera/parcels
[29/Mar/2018 10:36:36 +0000] 11002 MainThread parcel INFO Agent does create users/groups and apply file permissions
[29/Mar/2018 10:36:36 +0000] 11002 MainThread parcel_cache INFO Using /opt/cloudera/parcel-cache for parcel cache
[29/Mar/2018 10:36:36 +0000] 11002 MainThread agent ERROR Error, CM server guid updated, expected ef23e55e-06a5-4a11-b9e9-74b5159141f4, received c3817124-23fd-4594-ac6b-f824f0d4a297
[29/Mar/2018 10:36:41 +0000] 11002 MainThread agent INFO CM server guid: ef23e55e-06a5-4a11-b9e9-74b5159141f4
[29/Mar/2018 10:36:41 +0000] 11002 MainThread agent INFO Using parcels directory from server provided value: /opt/cloudera/parcels
[29/Mar/2018 10:36:41 +0000] 11002 MainThread parcel INFO Agent does create users/groups and apply file permissions
[29/Mar/2018 10:36:41 +0000] 11002 MainThread parcel_cache INFO Using /opt/cloudera/parcel-cache for parcel cache
[29/Mar/2018 10:36:41 +0000] 11002 MainThread agent ERROR Error, CM server guid updated, expected ef23e55e-06a5-4a11-b9e9-74b5159141f4, received c3817124-23fd-4594-ac6b-f824f0d4a297
[29/Mar/2018 10:36:46 +0000] 11002 MainThread agent INFO CM server guid: ef23e55e-06a5-4a11-b9e9-74b5159141f4
[29/Mar/2018 10:36:46 +0000] 11002 MainThread agent INFO Using parcels directory from server provided value: /opt/cloudera/parcels
[29/Mar/2018 10:36:46 +0000] 11002 MainThread parcel INFO Agent does create users/groups and apply file permissions
[29/Mar/2018 10:36:46 +0000] 11002 MainThread parcel_cache INFO Using /opt/cloudera/parcel-cache for parcel cache
[29/Mar/2018 10:36:46 +0000] 11002 MainThread agent ERROR Error, CM server guid updated, expected ef23e55e-06a5-4a11-b9e9-74b5159141f4, received c3817124-23fd-4594-ac6b-f824f0d4a297