l命令:
oad data inpath ‘hdfs://0.0.0.0:8020/data/etl/part-r-00000’ into table etl_data partition(day=‘2014-02-16’);
报错信息:
Loading data to table p_db.etl_data partition (day=2014-02-16)
Failed with exception MetaException(message:For direct MetaStore DB connections, we don’t support retries at the client level.)
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask
报错之后 hdfs 文件被移动了,但是通过etl_data 分区表查询数据为空
网上说修改MySQL字符集,各种方法都试过了,依旧没有解决。