티스토리 뷰
빅데이터/hive
[hive] hive3의 mr 엔진에서 java.lang.IncompatibleClassChangeError 오류 처리
hs_seo 2021. 5. 27. 22:58하이브3에서 mr 엔진을 이용할 때 java.lang.IncompatibleClassChangeError 오류가 발생할 수 있습니다. 라이브러리가 맞지 않아서 발생하는 문제입니다. jersey-json-1.19.jar 라이브러리를 하이브 홈으로 복사합니다.
- jersey-json 라이브러리를 확인
- {HADOOP_HOME}/share/hadoop/common/lib/jersey-json-1.19.jar
- {HIVE_HOME}/lib 로 복사
hive (default)> show databases;
FAILED: Hive Internal Error: java.lang.IncompatibleClassChangeError(com.sun.jersey.json.impl.provider.entity.JSONRootElementProvider and com.sun.jersey.json.impl.provider.entity.JSONRootElementProvider$Wadl disagree on InnerClasses attribute)
java.lang.IncompatibleClassChangeError: com.sun.jersey.json.impl.provider.entity.JSONRootElementProvider and com.sun.jersey.json.impl.provider.entity.JSONRootElementProvider$Wadl disagree on InnerClasses attribute
at java.lang.Class.getDeclaringClass0(Native Method)
at java.lang.Class.getDeclaringClass(Class.java:1235)
at java.lang.Class.getEnclosingClass(Class.java:1277)
at com.sun.jersey.core.spi.component.ComponentConstructor.getInstance(ComponentConstructor.java:170)
반응형
'빅데이터 > hive' 카테고리의 다른 글
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 하이브
- AWS
- nodejs
- yarn
- Tez
- 오류
- airflow
- emr
- SQL
- oozie
- build
- S3
- Hadoop
- 정올
- 백준
- HIVE
- mysql
- 하둡
- Linux
- 파이썬
- java
- 알고리즘
- hbase
- error
- ubuntu
- HDFS
- SPARK
- 다이나믹
- Python
- bash
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함