Thank you. Yes,i mean no merge job triggered.The 'running OK log' in which file? kylin.log or kylin.out file?
Base the jira https://issues.apache.org/jira/browse/KYLIN-1843 "1)Number of entries of each dimension to hold in memory. ... 2) Number of dimension to hold in memory " These dimensions which in memory will be re-created when Build Dimension Dictionary? Or just create those changed dimensions? I just wanted to know: when create a snapshot of the dimension in the step Build Dimension Dictionary, kylin need to put the entire dimension table into memory? Or is there a mechanism that just put those changed dimensions into memory? If has more than one dimension tables and kylin need to put the entire dimension table into memory, in this step(Build Dimension Dictionary), is it easy to cause memory leaks? 2017-11-09 13:11 GMT+08:00 Billy Liu <[email protected]>: > kylin-server-log4j.properties is used for Kylin process. The > kylin-log4j-tools.properties is only used for CLI command. > > "Merger is not successful" do you mean no merge job triggered? or the merge > job run failed? If no errors on the merger job in log, it should have some > running OK log. > > The snapshot will be built for each segment. The snapshot is saved into > metadata, not only in memory. > > > 2017-11-09 10:25 GMT+08:00 周湘伦 <[email protected]>: > > > Hi,all > > At the beginning , i didn't have kylin.log file. > > Then i configured kylin-server-log4j.properties like this: > > > > log4j.appender.file=org.apache.log4j.DailyRollingFileAppender > > log4j.appender.file.layout=org.apache.log4j.PatternLayout > > #log4j.appender.file.File=${catalina.home}/../logs/kylin.log > > log4j.appender.file.File=${KYLIN_HOME}/logs/kylin.log > > log4j.appender.file.layout.ConversionPattern=%d{ISO8601} %-5p [%t] > > %c{2}:%L > > : %m%n > > log4j.appender.file.Append=true > > > > #overall config > > log4j.rootLogger=INFO,file > > log4j.logger.org.apache.kylin=DEBUG > > log4j.logger.org.springframework=WARN > > log4j.logger.org.springframework.security=INFO > > > > Then i restart kylin,but it didn't work. > > > > Then i configured kylin-tools-log4j.properties: > > log4j.rootLogger=INFO,stderr,file > > > > log4j.appender.stderr=org.apache.log4j.ConsoleAppender > > log4j.appender.stderr.Target=System.err > > log4j.appender.stderr.layout=org.apache.log4j.PatternLayout > > log4j.appender.stderr.layout.ConversionPattern=%d{ISO8601} %-5p [%t > > %c{1}:%L]: %m%n > > > > #log4j.logger.org.apache.hadoop=ERROR > > log4j.logger.org.apache.kylin=DEBUG > > log4j.logger.org.springframework=WARN > > log4j.logger.org.apache.kylin.tool.shaded=INFO > > > > #define appenders > > log4j.appender.file=org.apache.log4j.DailyRollingFileAppender > > log4j.appender.file.layout=org.apache.log4j.PatternLayout > > #log4j.appender.file.File=${catalina.home}/../logs/kylin.log > > log4j.appender.file.File=/yxlm_dca/kylin/apache-kylin-2. > > 0.0-bin/logs/kylin.log > > log4j.appender.file.layout.ConversionPattern=%d{ISO8601} %-5p [%t] > > %c{2}:%L > > : %m%n > > log4j.appender.file.Append=true > > > > OK,i had kylin.log. > > But after a period of time, I found that there seems to be some missing > > information in this document.For example, I set the automatic merge, but > > the merger is not successful, but in the log file did not find any errors > > on the merger failure. > > I wonder if the log that comes up by setting > > the kylin-tools-log4j.properties is correct or not. > > > > By the way,another question: > > The step Build Dimension Dictionary ,does it create a snapshot of the > > dimension table each time? If the snapshot of this dimension table is in > > ram,have to re-create it?Or just create those changed dimensions in the > > dimension table? > > >
