When start cubing jobs in Kylin dev environment for example from Intellij, we should explicitly set hive dependent jars which include FactDistinctColumnsMapper etc.
This is missing in http://kylin.apache.org/development/dev_env.html. We can tell developer to do the following:
1) In IDE,
2) copy the corresponding jar file
under kylin/job/target/kylin-job-1.2-job.jar to sandbox if you use sandbox
as development env.
BuildCubeWithEngineTest may directly run some scrip to get
hive dependent jars, but in IDE, looks we have to do manual work above.