首页 > 代码库 > hive

hive

hive的详细使用

FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:For direct MetaStore DB connections, we don‘t support retries at the client level.) 

mysql;编码问题,全部改为utf-8解决

  1. 建表操作

    create table test(id int,name string)
    //行分割符
    row format delimited fields terminated by ‘,‘
    stored as textfile
    

     

hive