메뉴 건너뛰기

Bigdata, Semantic IoT, Hadoop, NoSQL

Bigdata, 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


번호 제목 글쓴이 날짜 조회 수
419 Hive java connection 설정 file 구퍼 2013.04.01 2013
418 hbase에 필요한 jar들 구퍼 2013.04.01 2100
417 hadoop설치시 오류 총관리자 2013.12.18 2313
416 Hive Query Examples from test code (1 of 2) 총관리자 2014.03.26 1050
415 Hive Query Examples from test code (2 of 2) 총관리자 2014.03.26 5017
414 의사분산모드에서 presto설치하기 총관리자 2014.03.31 3050
413 동일서버에서 LA와 LC동시에 기동하여 테스트 총관리자 2014.04.01 928
412 external partition table생성및 data확인 총관리자 2014.04.03 1072
411 다수의 로그 에이전트로 부터 로그를 받아 각각의 파일로 저장하는 방법(interceptor및 multiplexing) 총관리자 2014.04.04 4089
410 Oozie 설치, 환경설정 및 테스트 총관리자 2014.04.08 1292
409 hive에서 생성된 external table에서 hbase의 table에 값 insert하기 총관리자 2014.04.11 1748
408 column family삭제시 Column family 'delete' does not exist오류 발생하는 경우 총관리자 2014.04.14 932
407 json 값 다루기 총관리자 2014.04.17 1222
406 json serde사용법 총관리자 2014.04.17 1140
405 oozie에서 share lib설정시 action type별로 구분하여 넣을것 총관리자 2014.04.18 1195
404 sqoop 1.4.4 설치및 테스트 총관리자 2014.04.21 3134
403 sequence한 번호 생성방법 총관리자 2014.04.25 1123
402 unique한 값 생성 총관리자 2014.04.25 888
401 hbase shell에서 컬럼값 검색하기(SingleColumnValueFilter이용) 총관리자 2014.04.25 2448
400 index생성, 삭제, 활용 총관리자 2014.04.25 1702

A personal place to organize information learned during the development of such Hadoop, Hive, Hbase, Semantic IoT, etc.
We are open to the required minutes. Please send inquiries to gooper@gooper.com.

위로