在hive与hbase整合中,将数据导入hibase中,发现错误如下:
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. java.lang.RuntimeException: MetaException(message:org.apache.hadoop.hive.serde2.SerDeException org.apache.hadoop.hive.hbase.HBaseSerDe: columns has 3 elements while hbase.columns.mapping has 4 elements (counting the key if implicit))
经过仔细检查发现:hive中字段个数与hbase列簇中的字段个数不一样
改正后: