1. create table시 mysql key 에러


   1) 에러 내용 

      An exception was thrown while adding/validating classes) : Specified key was too long; max key length is 767 bytes 


   2) 해결 방안

     해당 에러는 hive에 meta 테이블 생성시 발생하는 오류로 기존 설치되어 있는

     mysql db에 charactset을 latin1으로 변경

     (제 경우는 utf-8로 설정하여 오류가 나는 경우였음)


     alter database meta_db_name character set lation1;



 

'NoSQL > Hive' 카테고리의 다른 글

Hive 구성  (0) 2016.06.13
Hive metastore  (0) 2016.06.13
Hive 구성  (0) 2016.06.10
Hive Data Types  (0) 2016.06.09
Hive 파티션  (0) 2016.06.09

+ Recent posts