Does it make sense to add remote debug features in the code or in the
kylin.sh start up script as below

    hbase ${KYLIN_EXTRA_START_OPTS} \
    -Djava.util.logging.config.file=${tomcat_root}/conf/logging.properties \
    -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager \
    -Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true \
    -Dorg.apache.catalina.connector.CoyoteAdapter.ALLOW_BACKSLASH=true \
    -Djava.endorsed.dirs=${tomcat_root}/endorsed  \
    -Dcatalina.base=${tomcat_root} \
    -Dcatalina.home=${tomcat_root} \
    -Djava.io.tmpdir=${tomcat_root}/temp  \
    -Dkylin.hive.dependency=${hive_dependency} \
    -Dkylin.hbase.dependency=${hbase_dependency} \
    -Dspring.profiles.active=${spring_profile} \
 *   -Xdebug \
    -Xrunjdwp:transport=dt_socket,address=4711,server=y,suspend=n \
 *   org.apache.hadoop.util.RunJar ${tomcat_root}/bin/bootstrap.jar 
org.apache.catalina.startup.Bootstrap start >> ${tomcat_root}/logs/kylin.log
2>&1 & echo $! > ${KYLIN_HOM
E}/pid &

--
View this message in context: 
http://apache-kylin.74782.x6.nabble.com/jira-Created-KYLIN-1452-document-improvement-remote-debug-kylin-map-reduce-job-tp3731p3759.html
Sent from the Apache Kylin mailing list archive at Nabble.com.

Reply via email to