문제

hive> CREATE TABLE page_view(viewTime INT, userid BIGINT,
>                 page_url STRING, referrer_url STRING,
>                 ip STRING COMMENT 'IP Address of the User')
> COMMENT 'This is the page view table'
> PARTITIONED BY(dt STRING, country STRING)
> STORED AS SEQUENCEFILE;

FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient

도움이 되었습니까?

해결책

I got the solution for my question, I follow the below method

Set hive.metastore.schema.verification property in hive-site.xml to true, by default it is false.

For further details check this Hive Schema Tool

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top