본문 바로가기

CLOUDERA

CLOUDERA CDH 5.1 -> 5.2 업그레이드 시 에러 해결

CDH 5.1 -> 5.2


참고 : https://sskaje.me/2014/10/manually-upgrade-cdh-5-2-cm-5/#.VFiPRyLkfz0


사용자 환경


ZOO KEEPER

HDFS

HIVE

IMPALA


Cloudera 에서 이야기 하는 5.1 -> 5.2 가이드를 따라 업그레이드 하다 보면

Hive metastore server 의 스키마 업그레이드에서 다음의 에러와 함께 진행이 불가할 때가 있다.


Error: ERROR: language "plpgsql" does not exist


위 경우 다음의 명령어를 통해 해결할 수 있다.


# sudo -u hive createlang plpgsql hive -p 7432


이후 패스워드를 물어보는데, 패스워드는 아래에서 확인할 수 있다.

/var/run/cloudera-scm-agent/process/1145-hive-metastore-upgrade/metastore_db_py.properties