Kylin does requires primary keys on look table to be unique.
In your case, the column which holds the value "352571034729600" is not
unique. please clean up your lookup table if possible

On Fri, Mar 20, 2015 at 11:16 PM, Luke Han <[email protected]> wrote:

> Forward to dev mailing list
>
> 在 2015年3月20日星期五 UTC-7下午10:54:02,[email protected]写道:
>>
>> [ERROR][com.kylinolap.job.hadoop.dict.CreateDictionaryJob.run(CreateDictionaryJob.java:55)]
>> - Dup key found, key=[352571034729600], value1=[2012-11-20,1010029,
>> 88192991552515,352571034729600,01,8314,01,779.00,0],
>> value2=[2012-11-20,1020002,88192991552515,352571034729600,01,8314,01,
>> 779.00,0]
>> java.lang.IllegalStateException: Dup key found, key=[352571034729600],
>> value1=[2012-11-20,1010029,88192991552515,352571034729600,01,8314,01,779.00,0],
>> value2=[2012-11-20,1020002,88192991552515,352571034729600,01,8314,01,
>> 779.00,0]
>>         at com.kylinolap.dict.lookup.LookupTable.initRow(
>> LookupTable.java:79)
>>         at com.kylinolap.dict.lookup.LookupTable.init(LookupTable.
>> java:62)
>>         at com.kylinolap.dict.lookup.LookupTable.<init>(
>> LookupTable.java:50)
>>         at com.kylinolap.dict.lookup.LookupStringTable.<init>(
>> LookupStringTable.java:30)
>>
>>


-- 
Regards,

*Bin Mahone | 马洪宾*
Apache Kylin: http://kylin.io
Github: https://github.com/binmahone

Reply via email to