I see in examples/test_case_data/localmeta/data/flatten_data_for_ii.csv file has Chinese garbled! I copy the code from local to sandbox VMWare machine! and in local it is good. I will have a try to convert the file encoding.
> 在 2016年1月25日,15:51,Xiaoyu Wang <[email protected]> 写道: > > The same error when run in sandbox KYLIN_HOME: > L4J [2016-01-25 07:49:01,566][ERROR][org.apache.kylin.dict.TrieDictionary] - > Not a valid value: ?? > Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.585 sec <<< > FAILURE! - in org.apache.kylin.invertedindex.InvertedIndexLocalTest > testCodec(org.apache.kylin.invertedindex.InvertedIndexLocalTest) Time > elapsed: 0.727 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) > > > Results : > > Tests in error: > InvertedIndexLocalTest.testCodec:133->loadRecordsSorted:187 ? > IllegalArgument ... > > Tests run: 2, Failures: 0, Errors: 1, Skipped: 0 > > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Kylin:HadoopOLAPEngine ............................. SUCCESS [ 0.564 > s] > [INFO] Kylin:AtopCalcite .................................. SUCCESS [ 0.749 > s] > [INFO] Kylin:Core-Common .................................. SUCCESS [ 0.982 > s] > [INFO] Kylin:Core-Metadata ................................ SUCCESS [ 0.382 > s] > [INFO] Kylin:Core-Dictionary .............................. SUCCESS [ 0.218 > s] > [INFO] Kylin:Core-Cube .................................... SUCCESS [ 0.310 > s] > [INFO] Kylin:Core-Job ..................................... SUCCESS [ 0.490 > s] > [INFO] Kylin:Core-Storage ................................. SUCCESS [ 0.394 > s] > [INFO] Kylin:InvertedIndex ................................ FAILURE [ 6.698 > s] > [INFO] Kylin:Engine-MR .................................... SKIPPED > [INFO] Kylin:Engine-Streaming ............................. SKIPPED > [INFO] Kylin:Storage-HBase ................................ SKIPPED > > > But I run the InvertedIndexLocalTest UT in local machine is ok. > > > >> 在 2016年1月25日,15:45,hongbin ma <[email protected]> 写道: >> >> or maybe you should try this on sandbox's KYLIN_HOME: >> >> mvn test -Dtest=org.apache.kylin.invertedindex.InvertedIndexLocalTest >> -DfailIfNoTests=false >
