Kylin does not requires KYLIN_CONF to work. KYLIN_CONF is only used for internal debug, not something user should worry.
On Sun, Jul 16, 2017 at 12:38 AM, 刘俊 <[email protected]> wrote: > > Hi > It seems that Kylin is not able to read env variable KYLIN_CONF. > I tried to set it in .bashrc file or explicitly set KYLIN_CONF in the > kylin.sh file. > Kylin always returns messages like this > > > 2017-07-15 09:06:47,191 INFO [main] common.KylinConfig:311 : Loading > kylin-defaults.properties from file:/opt/kylin-2.1.0/lib/ > kylin-job-2.1.0-SNAPSHOT.jar!/kylin-defaults.properties > 2017-07-15 09:06:47,222 DEBUG [main] common.KylinConfig:263 : KYLIN_CONF > property was not set, will seek KYLIN_HOME env variable > 2017-07-15 09:06:47,225 INFO [main] common.KylinConfig:95 : Initialized a > new KylinConfig from getInstanceFromEnv : 633075331 > 2017-07-15 09:06:47,286 INFO [main] persistence.ResourceStore:79 : Using > metadata url kylin_metadata@hbase for resource store > > I had to add it as a java opt, i.e., > > -DKYLIN_CONF=path > > Is this a bug?
