메뉴 건너뛰기

Cloudera, BigData, Semantic IoT, Hadoop, NoSQL

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


bin/beeline -n $(whoami) -u jdbc:hive2://localhost:10000와 같이 -n을 지정해서 beeline을 실행해준다.

-----------------------오류 내용------------------------------
gooper@gsda1:~/hive/bin$ beeline -u jdbc:hive2://gsda1:10000
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/svc/apps/gsda/bin/hadoop/apache-hive-2.1.1-bin/lib/log4j-slf4j-impl-2.4.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/svc/apps/gsda/bin/hadoop/hadoop-2.8.0/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
Connecting to jdbc:hive2://gsda1:10000
18/04/15 15:58:34 [main]: WARN jdbc.HiveConnection: Failed to connect to gsda1:10000
Error: Could not open client transport with JDBC Uri: jdbc:hive2://gsda1:10000: Failed to open new session: java.lang.RuntimeException: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException): User: gooper is not allowed to impersonate anonymous (state=08S01,code=0)
Beeline version 2.1.1 by Apache Hive
beeline> 
beeline> 
beeline> 
beeline> show databases;
No current connection
번호 제목 날짜 조회 수
27 lateral view 예제 2014.09.18 775
26 hive 0.13.1 설치 + meta정보는 postgresql 9.3에 저장 2015.04.30 604
25 java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error: Unable to deserialize reduce input key from...오류해결방법 2015.06.16 1968
24 Tracking URL = N/A 가발생하는 경우 - 환경설정값을 잘못설정하는 경우에 발생함 2015.06.17 691
23 CDH 5.4.4 버전에서 hive on tez (0.7.0)설치하기 2016.01.14 297
22 hive 2.0.1 설치및 mariadb로 metastore 설정 2016.06.03 5294
21 Caused by: java.net.URISyntaxException: Relative path in absolute URI: ${system:java.io.tmpdir%7D/$%7Bsystem:user.name%7D오류발생시 조치사항 2016.06.03 1246
20 beeline실행시 User: root is not allowed to impersonate오류 발생시 조치사항 2016.06.03 852
19 schema설정없이 hive를 최초에 실행했을때 발생하는 오류메세지및 처리방법 2016.09.25 1299
18 hive기동시 Caused by: java.net.URISyntaxException: Relative path in absolute URI: ${system:java.io.tmpdir%7D/$%7Bsystem:user.name%7D 오류 발생시 조치사항 2016.09.25 613
17 AIX 7.1에서 hive실행시 "hive: line 86: readlink: command not found" 오류가 발생시 임시 조치사항 2016.09.25 519
16 Ubuntu 16.04 LTS에 Hive 2.1.1설치하면서 "Version information not found in metastore"발생하는 오류원인및 조치사항 2017.05.03 566
15 Hive MetaStore Server기동시 Could not create "increment"/"table" value-generation container SEQUENCE_TABLE since autoCreate flags do not allow it. 오류발생시 조치사항 2017.05.03 606
» beeline으로 접근시 "User: gooper is not allowed to impersonate anonymous (state=08S01,code=0)"가 발생하면서 "No current connection"이 발생하는 경우 조치 2018.04.15 487
13 upsert구현방법(년-월-일 파티션을 기준으로) 및 테스트 script file 2018.07.03 1604
12 oracle to hive data type정리표 2018.08.22 937
11 hive metastore ERD file 2018.09.20 875
10 [sentry]role부여후 테이블명이 변경되어 오류가 발생할때 조치방법 2018.10.16 425
9 json으로 존재하는 데이터 parsing하기 2019.03.25 1256
8 hive테이블의 물리적인 위치인 HDFS에 여러개의 데이터 파일이 존재할때 한개의 파일로 merge하여 동일한 테이블에 입력하는 방법 2019.05.23 894
위로