My question is if you could reproduce this issue by "Sample Data". The "Sample Data" is released together with Apache Kylin. It seems you have followed the steps of http://kylin.apache.org/blog/2016/08/01/count-distinct-in-kylin/ But we do not know what's your actual data set?
2017-01-05 15:53 GMT+08:00 446463...@qq.com <446463...@qq.com>: > Yes . the problem maybe in here > .1) In Kylin Measures Settings. I select a column as a count_distinct > cloumn and return type is bitmap like this > Name Expression Parameters > Return Type > distinct_key count_distinct value:rowkey,type:column > bitmap > ps:rowkey is a column in my fact table. > > .2)In kylin Advanced Settings > I select this cloumn as global dictionary .like this: > Advanced Dictionaries > Column Builder Class > rowkey org.apache.kylin.dict. > GlobalDictionaryBuilder > > > I do this beacuse in my query sql "select count(distinct(rowkey)) from > user_info group by xxxx ".\ > I don't kown I Whether or not it clearly with my problem ? > > > > > > 446463...@qq.com > > From: Billy Liu > Date: 2017-01-05 15:11 > To: dev > Subject: Re: Re: java.lang.IllegalStateException: GlobalDict > /dict/tableName/column should have 0 or 1 append dict but 2! - in Step 4 - > Build Dimension Dictionary > So could you reproduce your issue step by steps with sample data? > > 2017-01-05 14:53 GMT+08:00 446463...@qq.com <446463...@qq.com>: > > > Yes,but it is not work.In kylin webUI console it still throw this error > > On Build Dimension Dictionary in Step 4. > > > > > > > > 446463...@qq.com > > > > From: Billy Liu > > Date: 2017-01-05 14:45 > > To: dev > > Subject: Re: java.lang.IllegalStateException: GlobalDict > > /dict/tableName/column should have 0 or 1 append dict but 2! - in Step 4 > - > > Build Dimension Dictionary > > When you describe some problem, make sure you have all steps to reproduce > > the issue. Otherwise no one would know what happened. I remembered you > > mention that you deleted some files manually on HDFS by yourself in some > > JIRA. > > > > 2017-01-05 13:12 GMT+08:00 446463...@qq.com <446463...@qq.com>: > > > > > Hi all: > > > I Meet a problem when I build a cube > > > java.lang.IllegalStateException: GlobalDict /dict/tableName/column > > > should have 0 or 1 append dict but 2! - in Step 4 - Build Dimension > > > Dictionary > > > > > > it seems that in Globel Dict have more than one same object In Trie > > > Dictionary .How can I slove this problem. > > > I had perplexd with this problem :( > > > > > > > > > > > > > > > 446463...@qq.com > > > > > >