it's a UT, i tried your provided commit id and run InvertedIndexLocalTest locally, seems ok. what happens when you run it locally?
On Mon, Jan 25, 2016 at 3:14 PM, 王晓雨 <[email protected]> wrote: > I’m running test_all_against_hdp_2_2_4_2_2.sh on sandbox and got the > exception in InvertedIndexLocalTest > 2.x.staging, commit id:95918af703f967683c05d57fcf6e3929ad5647b4 > > exception: > L4J [2016-01-24 > 14:59:42,997][DEBUG][org.apache.kylin.dict.DictionaryGenerator] - > Dictionary cardinality 23 > L4J [2016-01-24 > 14:59:42,997][DEBUG][org.apache.kylin.dict.DictionaryGenerator] - > Dictionary value samples: 2010-09-13 07:13:34=>10, 2009-01-12 07:05:17=>3, > 2010-02-08 10:51:44=>5, 2011-04-05 08:25:25=>11, 2012-09-11 20:27:22=>17 > L4J [2016-01-24 > 14:59:42,997][DEBUG][org.apache.kylin.dict.DictionaryGenerator] - > Dictionary cardinality 23 > L4J [2016-01-24 > 14:59:42,997][DEBUG][org.apache.kylin.dict.DictionaryGenerator] - > Dictionary value samples: 2010-09-13 07:13:34=>10, 2009-01-12 07:05:17=>3, > 2010-02-08 10:51:44=>5, 2011-04-05 08:25:25=>11, 2012-09-11 20:27:22=>17 > L4J [2016-01-24 > 14:59:42,997][DEBUG][org.apache.kylin.dict.DictionaryGenerator] - > Dictionary cardinality 23 > L4J [2016-01-24 > 14:59:42,997][DEBUG][org.apache.kylin.dict.DictionaryGenerator] - > Dictionary value samples: 13=>3, 14=>4, 11=>1, 5=>0, 12=>2 > L4J [2016-01-24 > 14:59:42,997][DEBUG][org.apache.kylin.dict.DictionaryGenerator] - > Dictionary cardinality 5 > L4J [2016-01-24 > 14:59:42,997][DEBUG][org.apache.kylin.dict.DictionaryGenerator] - > Dictionary value samples: 13=>3, 14=>4, 11=>1, 5=>0, 12=>2 > L4J [2016-01-24 > 14:59:42,997][DEBUG][org.apache.kylin.dict.DictionaryGenerator] - > Dictionary cardinality 5 > L4J [2016-01-24 > 14:59:42,997][DEBUG][org.apache.kylin.dict.DictionaryGenerator] - > Dictionary value samples: 13=>3, 14=>4, 11=>1, 5=>0, 12=>2 > L4J [2016-01-24 > 14:59:42,997][DEBUG][org.apache.kylin.dict.DictionaryGenerator] - > Dictionary cardinality 5 > L4J [2016-01-24 > 14:59:42,998][DEBUG][org.apache.kylin.dict.DictionaryGenerator] - > Dictionary value samples: 13=>3, 14=>4, 11=>1, 5=>0, 12=>2 > L4J [2016-01-24 > 14:59:42,998][DEBUG][org.apache.kylin.dict.DictionaryGenerator] - > Dictionary cardinality 5 > L4J [2016-01-24 > 14:59:42,998][DEBUG][org.apache.kylin.dict.DictionaryGenerator] - > Dictionary value samples: 13=>3, 14=>4, 11=>1, 5=>0, 12=>2 > L4J [2016-01-24 > 14:59:42,998][DEBUG][org.apache.kylin.dict.DictionaryGenerator] - > Dictionary cardinality 5 > L4J [2016-01-24 14:59:43,001][ERROR][org.apache.kylin.dict.TrieDictionary] > - Not a valid value: ?? > Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.539 sec > <<< FAILURE! - in org.apache.kylin.invertedindex.InvertedIndexLocalTest > testCodec(org.apache.kylin.invertedindex.InvertedIndexLocalTest) Time > elapsed: 0.498 sec <<< ERROR! > java.lang.IllegalArgumentException: Value not exists! > at > org.apache.kylin.common.util.Dictionary.getIdFromValueBytes(Dictionary.java:161) > at > org.apache.kylin.dict.TrieDictionary.getIdFromValueImpl(TrieDictionary.java:158) > at > org.apache.kylin.common.util.Dictionary.getIdFromValue(Dictionary.java:97) > at > org.apache.kylin.common.util.Dictionary.getIdFromValue(Dictionary.java:77) > at > org.apache.kylin.invertedindex.index.TableRecord.setValueString(TableRecord.java:116) > at > org.apache.kylin.invertedindex.InvertedIndexLocalTest.loadRecordsSorted(InvertedIndexLocalTest.java:187) > at > org.apache.kylin.invertedindex.InvertedIndexLocalTest.testCodec(InvertedIndexLocalTest.java:133) > > Running org.apache.kylin.invertedindex.IIDescManagerTest > L4J [2016-01-24 14:59:43,045][INFO][org.apache.kylin.common.KylinConfig] - > Use KYLIN_CONF=../examples/test_metadata > > > > [INFO] Kylin:HadoopOLAPEngine ............................. SUCCESS [ > 0.992 s] > [INFO] Kylin:AtopCalcite .................................. SUCCESS [ > 0.706 s] > [INFO] Kylin:Core-Common .................................. SUCCESS [ > 12.743 s] > [INFO] Kylin:Core-Metadata ................................ SUCCESS [ > 1.089 s] > [INFO] Kylin:Core-Dictionary .............................. SUCCESS [ > 2.725 s] > [INFO] Kylin:Core-Cube .................................... SUCCESS [02:38 > min] > [INFO] Kylin:Core-Job ..................................... SUCCESS [04:16 > min] > [INFO] Kylin:Core-Storage ................................. SUCCESS [ > 1.665 s] > [INFO] Kylin:InvertedIndex ................................ FAILURE [ > 5.087 s] > [INFO] Kylin:Engine-MR .................................... SKIPPED > [INFO] Kylin:Engine-Streaming ............................. SKIPPED > [INFO] Kylin:Storage-HBase ................................ SKIPPED > [INFO] Kylin:Spark ........................................ SKIPPED > [INFO] Kylin:Source-Hive .................................. SKIPPED > [INFO] Kylin:Source-Kafka ................................. SKIPPED > [INFO] Kylin:Query ........................................ SKIPPED > [INFO] Kylin:JDBC ......................................... SUCCESS [ > 2.662 s] > [INFO] Kylin:RESTServer ................................... SKIPPED > [INFO] Kylin:Assembly ..................................... SKIPPED > > > 在 2016年1月24日,14:46,hongbin ma <[email protected]<mailto: > [email protected]>> 写道: > > yeah, i suppose you'll succeed running on sandbox this time. > however it's still necessary to fix the "fail to run on local machine" > issue, i'll drive this > > > On Sun, Jan 24, 2016 at 2:38 PM, 王晓雨 <[email protected]<mailto: > [email protected]>> wrote: > > Thanks hongbin’s reply on holiday! > My commit id is same to you,and I’m running it on my local machine! and > connect to HDP cluster on my VMWare. > I will have a try to run it on sandbox and feedback! > > 在 2016年1月24日,12:24,hongbin ma <[email protected]<mailto: > [email protected]>> 写道: > > did you run the test_all_against_hdp_2_2_4_2_2.sh on sandbox or > locally? > it is suggested to run it on sandbox, so did our CI. > > last time my CI succeed was on 95918af703f967683c05d57fcf6e3929ad5647b4, > what is your commit id? > > > > -- > Regards, > > *Bin Mahone | 马洪宾* > Apache Kylin: http://kylin.io > Github: https://github.com/binmahone > > > > > -- > Regards, > > *Bin Mahone | 马洪宾* > Apache Kylin: http://kylin.io > Github: https://github.com/binmahone > > -- Regards, *Bin Mahone | 马洪宾* Apache Kylin: http://kylin.io Github: https://github.com/binmahone
