메뉴 건너뛰기

Cloudera, BigData, Semantic IoT, Hadoop, NoSQL

Cloudera CDH/CDP 및 Hadoop EcoSystem, Semantic IoT등의 개발/운영 기술을 정리합니다. gooper@gooper.com로 문의 주세요.


datanode03노드의 DataNode서비스 restart시 org.apache.hadoop.security.KerberosAuthException: failure to login: for principal: hdfs/datanode03@GOOPER.COM from keytab hdfs.keytab와 Caused by: javax.security.auth.login.LoginException: Unable to obtain password from user같은 오류가 발생되면서 start에 실패하는 경우가 있다.

이는 OS에서 "hostname -f"이 보이는 값이 FQDN이 아닌 datanode03로 나오기 때문인데 이경우는 /etc/hosts파일에 동일한 ip에 "xxx.xxx.xxx.xxx datanode03"와 "xxx.xxx.xxx.xxx datanode03.gooper.com"가 등록되어 있으며 "xxx.xxx.xxx.xxx datanode03"먼저 등장하기 때문에 이것을 먼저 인식해서 keytab에 들어있는 principal과 달라서 kerberos인증을 못하고 오류가 발생하는것이다. 

그래서 DataNode서비스가 기동하지 못하게 되는것이다.  

이러한 경우는 /etc/hosts파일에서 "xxx.xxx.xxx.xxx datanode03"라인을 삭제한다. 

번호 제목 날짜 조회 수
720 org.apache.hadoop.hdfs.server.common.InconsistentFSStateException: Directory /tmp/hadoop-root/dfs/name is in an inconsistent state: storage directory does not exist or is not accessible. 2013.03.11 29765
719 HBase 설정 최적화하기(VCNC) file 2017.07.18 29649
718 Error: IO_ERROR : java.io.IOException: Error while connecting Oozie server 2022.05.02 29564
717 Container killed by the ApplicationMaster. Container killed on request. Exit code is 143 Container exited with a non-zero exit code 143 TaskAttempt killed because it ran on unusable node 오류시 조치방법 2017.04.06 29513
716 [CDP7.1.7]Hive Replication수행시 Target Cluster에서 Specified catalog.database.table does not exist 오류 2024.05.08 29295
715 컬럼및 라인의 구분자를 지정하여 sqoop으로 데이타를 가져오고 hive테이블을 생성하는 명령문 2018.08.03 29293
714 kudu의 내부 table명 변경하는 방법 2022.11.10 29066
713 [TLS/SSL]Kudu Tablet Server설정 2022.05.13 28992
712 hive metastore ERD file 2018.09.20 28918
711 HBase shell로 작업하기 2013.03.15 28790
710 hive에서 insert overwrite directory.. 로 하면 default column구분자는 'SOH'혹은 't'가 됨 2014.05.20 28781
709 Apache Kudu에서 동일한 이름의 테이블을 반복적으로 DROP → CREATE → INSERT하는 로직을 2분 간격으로 10회 수행할 때 발생할 수 있는 주요 이슈 2025.01.26 28721
708 [TLS/SSL]Cloudera CDH6.3.4기준 Hue TLS설정 항목 2022.05.13 28611
707 spark-shell을 실행하면 "Attempted to request executors before the AM has registered!"라는 오류가 발생하면 2018.06.08 28503
706 hue db에서 사용자가 가지는 정보 확인 2020.02.10 28377
705 Failed to resolve 'acme-v02.api.letsencrypt.org' ([Errno -3] Temporary failure in name resolution)" 2024.11.27 28168
704 [HA구성 이슈]oozie 2대를 L4로 HA구성했을때 발생하는 이슈 2023.01.17 28155
703 이클립스에서 생성한 jar 파일 hadoop 으로 실행하기 file 2013.03.06 28097
702 Cloudera Hadoop and Spark Developer Certification 준비(참고) 2018.05.16 27982
701 [Kerberos]Kerberos authentication cache를 FILE로 지정해도 KCM으로 저장되는 경우 조치방법 2024.11.03 27841
위로