报错如下:
Loading data to table data_da.tmp_wlw_test partition (stat_date=2017-05-11, business_type_name=null)
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
MapReduce Jobs Launched:
原因:
在连接元数据库的过程中,发生了异常;进面导致MoveTask失败
解决方案
business_type_name为中文字段,不能用来做分区。
改用business_type(英文拼音)