메뉴 건너뛰기

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 DB별 JDBC 드라이버 2015.10.02 4247
346 console명령과 API비교 2015.12.21 4732
345 mongodb에서 큰데이타 sort시 오류발생에 대한 해결방법 2015.12.22 4469
344 CDH 5.4.4 버전에서 hive on tez (0.7.0)설치하기 2016.01.14 3370
343 Spark Streaming으로 유실 없는 스트림 처리 인프라 구축하기 2016.03.11 3464
342 CentOS의 서버 5대에 yarn(hadoop 2.7.2)설치하기-ResourceManager HA/HDFS HA포함, JobHistory포함 2016.03.29 4640
341 "java.net.NoRouteToHostException: 호스트로 갈 루트가 없음" 오류시 확인및 조치할 사항 2016.04.01 5814
340 namenode오류 복구시 사용하는 명령 2016.04.01 2851
339 Incompatible clusterIDs오류 원인및 해결방법 2016.04.01 2949
338 Cassandra 3.4(3.10) 설치/설정 (5대로 clustering) 2016.04.11 4347
337 bin/cassandra -f -R로 startup할때 NullPointerException오류가 나면 조치할 내용 2016.04.14 3286
336 Hadoop 완벽 가이드 정리된 링크 2016.04.19 4354
335 Spark 2.1.1 clustering(5대) 설치(YARN기반) 2016.04.22 4961
334 kafka 0.9.0.1 for scala 2.1.1 설치및 테스트 2016.05.02 4052
333 kafka broker기동시 brokerId가 달라서 기동에 실패하는 경우 조치방법 2016.05.02 5190
332 Master rejected startup because clock is out of sync 오류 해결방법 2016.05.03 5075
331 spark-shell실행시 "A read-only user or a user in a read-only database is not permitted to disable read-only mode on a connection."오류가 발생하는 경우 해결방법 2016.05.20 2953
330 Spark 1.6.1 설치후 HA구성 2016.05.24 4533
329 spark-env.sh에서 사용할 수있는 항목. 2016.05.24 4380
328 "Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources"오류 발생시 조치사항 2016.05.25 4672
위로