跑批问题:
Caused by: java.io.IOException: Added a key not lexically larger than previous.
Current cell = 10000000414/aml_custinfo:address/1594509705240/Put/vlen=42/seqid=0, lastCell = 10000000414/aml_custinfo:watchcustflag/1594509705240/Put/vlen=1/seqid=0
报错显示表aml_custinfo数据有重复,该表以custid为HBase的主键
查询一下数据库:
select custid,count(*) from aml_custinfo group by custid having count(*) > 1;
果然有两条重复的custid