Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-681

Failed to build dictionary if the rowkey's dictionary property is "date(yyyy-mm-dd)"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • v0.7.1
    • None
    • None

    Description

      I got the following error when building a cube which was migrated from 0.6; There is a rowkey column whose dictionary property is "date(yyyy-mm-dd)":

      java.lang.IllegalArgumentException: Unknown dictionary data set 'date(yyyy-mm-dd)', referred from DEFAULT.TABLE_.GA_VST_DT
      at org.apache.kylin.dict.DictionaryManager.decideSourceData(DictionaryManager.java:235)
      at org.apache.kylin.job.hadoop.cube.FactDistinctColumnsMapperBase.setup(FactDistinctColumnsMapperBase.java:59)
      at org.apache.kylin.job.hadoop.cube.FactDistinctHiveColumnsMapper.setup(FactDistinctHiveColumnsMapper.java:56)
      at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:142)
      at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:764)
      at org.apache.hadoop.mapred.MapTask.run(MapTask.java:340)
      at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:167)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:415)
      at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1650)
      at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:162)

      Attachments

        Activity

          People

            shaofengshi Shao Feng Shi
            shaofengshi Shao Feng Shi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: