Besides, you can write test cases for kylin's MR jobs with mrunit to debug, see org.apache.kylin.engine.mr.steps.NDCuboidMapperTest for reference.
Best regards, Chun’en Ni(George) ----- 原始邮件 ----- 发件人: JiaTao Tao <taojia...@gmail.com> 收件人: user@kylin.apache.org 已发送邮件: Tue, 30 Oct 2018 14:56:54 +0800 (CST) 主题: Re: Kylin comprehensive debug documentation You cannot debug MR job directly in DebugTomcat. In fact, it might be better adding more logs for tracing, in my opinion. If you do need to debug MR job directly, you may need to change your core-site.xml, mapred-site.xml and etc. to run MR job locally, It is theoretically possible, you can give a try :). you Zhuang <zhuangzixiao...@gmail.com> 于2018年10月30日周二 下午2:23写道: And also debug map reduce job ? On Oct 30, 2018, at 12:51 PM, JiaTao Tao <taojia...@gmail.com> wrote:You may need this: http://kylin.apache.org/development/dev_env.html.Using debug mode to launch org.apache.kylin.rest.DebugTomcat, then you can debug Kylin server -- Regards!Aron Tao you Zhuang <zhuangzixiao...@gmail.com> 于2018年10月30日周二 下午12:04写道: 1. I can debug Kylin and standalone mr job in intellij idea with -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9001 , but I don’t know how to debug both Kylin web server and whole build job flow, which mean idea can’t set up two remote debug servers 2. can we write a comprehensive documentation about full debug situations ? Because without debugging everything becomes awkward . -- Regards!Aron Tao