메뉴 건너뛰기

Cloudera, BigData, Semantic IoT, Hadoop, NoSQL

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


1. jdbc:impala://xxx.xxx.xxx.xxx:21050;AuthMech=0

java.sql.SQLException: [Cloudera][ImpalaJDBCDriver](500605) Error occured while opening a session with the server. No Additional detail from the server regarding this error is available. Please ensure that the driver configuration is compatible with the server configuration. This type of error can also occur when the server is too busy to handle the request. Please try again later.

   at. com.cloudera.impala.hivecommon.api.HS2Client.openSession(Unknown Source)

   at. com.cloudera.impala.hivecommon.api.HS2Client.<init>(Unknown Source)

   at. com.cloudera.impala.hivecommon.api.HiveServer2ClientFactory.createClient(Unknown Source)

   .....


2. jdbc:impala://xxx.xxx.xxx.xxx:21050;AuthMech=3;UID=test_user;PWD=test_password;

java.sql.SQLException: [Cloudera][ImpalaJDBCDriver](500164) Error initialized or created transport for authentication: Peer indicated failure: Unspported mechanism type PLAIN.

   at.com.cloudera.impala.hivecommon.api.HiveServer2ClientFactory.createTransport((Unknown Source)

   at.com.cloudera.impala.hivecommon.api.HiveServer2ClientFactory.createClient((Unknown Source)

   at.com.cloudera.impala.hivecommon.core.HiveJDBCCommonConnection.establishConnection((Unknown Source)

  ......


3. jdbc:impala://xxx.xxx.xxx.xxx:21050;AuthMech=1;krbRealm=GOOPER.COM;krbServiceName=impala;KrbHostFQDN=ldbserver.gooper.com

  는 kinit한 OS user로 인증이된다.

  Kerberos client 설치를 하지 못하는 경우 JDBC를 통해서 들어오는 사용자에 대한 인증은 LDAP를 이용하도록 하기 위해서 CM의 구성정보의 명령줄 인수 고급 구성 스니펫(안전 밸브)에 아래와 같이 설정한다.

--enable_ldap_auth=true

--ldap_uri=ldap://xxx.xxx.xxx.xxx

--ldap_domain=xxxxxxxxxxxxxxx

--ldap_passwords_in_clear_ok=true


번호 제목 날짜 조회 수
347 hadoop 어플리케이션을 사용하는 사용자 변경시 바꿔줘야 하는 부분 2016.09.23 3711
346 kafka로 부터 메세지를 stream으로 받아 처리하는 spark샘플소스(spark의 producer와 consumer를 sbt로 컴파일 하고 서버에서 spark-submit하는 방법) 2016.07.13 3719
345 cloudera의 hue에서 사용자가 사용한 쿼리 목록 2020.02.07 3720
344 Hive JDBC Connection과 유형별 에러및 필요한 jar파일 2021.05.24 3724
343 cassandra cluster 문제가 있는 node제거 하기(DN상태의 노드가 있으면 cassandra cluster 전체에 문제가 발생하므로 반드시 제거할것) 2017.06.21 3727
342 root계정으로 MariaDB설치후 mysql -u root -p로 db에 접근하여 바로 해줘야 하는일..(케릭터셑은 utf8) 2015.10.02 3731
341 Hadoop의 Datanode를 Decommission하고 나서 HBase의 regionservers파일에 해당 노드명을 지웠는데 여전히 "Dead regionser"로 표시되는 경우 처리 2018.01.25 3734
340 impala테이블 쿼리시 max_row_size 관련 오류가 발생할때 조치사항 2020.02.12 3736
339 small file 한개 파일로 만들기(text file 혹은 parquet file의 테이블) 2022.07.04 3740
338 mysql sqoop작업을 위해서 mysql-connector-java.jar을 추가하는 경우 확실하게 인식시키는 방법 2020.05.11 3747
337 Caused by: java.lang.ClassNotFoundException: org.apache.spark.Logging 발생시 조치사항 2017.04.19 3751
336 tablet별 disk사용량 확인하는 방법 2021.08.27 3754
335 kafka에서 메세지 중복 consume이 발생할 수 있는 상황 2018.10.23 3756
334 oracle 12에 sqoop해서 데이터 import하기 (console에서 sqoop import하는 방법) 2021.12.31 3758
333 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 3763
332 Query 1234:1234 expired due to client inactivity(timeout is 5m)및 invalid query handle 2022.06.10 3773
331 Hbase API를 이용하여 scan시 페이징을 고려하여 목록을 가져올때 사용할 수 있는 로직의 예시를 보여줌 2017.04.26 3784
330 new Gson().toJson(new ObjectId())을 사용하면 값이 다르게 나오는 경우가 있음 2016.12.23 3785
329 [oozie] oozie shell action에서 shellscript수행결과의 2개 변수를 decision 액션에서 사용하기 2020.06.05 3789
328 spark에서 hive table을 읽어 출력하는 예제 소스 2017.03.09 3791
위로