You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "Edward Zhang (JIRA)" <ji...@apache.org> on 2016/02/26 07:28:18 UTC
[jira] [Created] (KYLIN-1452) document improvement: remote debug
kylin map/reduce job
Edward Zhang created KYLIN-1452:
-----------------------------------
Summary: document improvement: remote debug kylin map/reduce job
Key: KYLIN-1452
URL: https://issues.apache.org/jira/browse/KYLIN-1452
Project: Kylin
Issue Type: Improvement
Affects Versions: Future
Reporter: Edward Zhang
Assignee: Edward Zhang
Priority: Trivial
Fix For: Future
in sandbox/mapred-site.xml
<property>
<name>mapreduce.map.java.opts</name>
<value>-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=51234 -Xmx512m</value>
</property>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
Re: [jira] [Created] (KYLIN-1452) document improvement: remote
debug kylin map/reduce job
Posted by sdangi <sd...@datalenz.com>.
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.
Re: [jira] [Created] (KYLIN-1452) document improvement: remote debug
kylin map/reduce job
Posted by hongbin ma <ma...@apache.org>.
however debugging kylin jvm server is also a valid request:)
On Mon, Feb 29, 2016 at 8:22 PM, sdangi <sd...@datalenz.com> wrote:
> My apologies. I misunderstood the context here. I was thinking more around
> the remote debugging of Kylin JVM server.
>
> --
> View this message in context:
> http://apache-kylin.74782.x6.nabble.com/jira-Created-KYLIN-1452-document-improvement-remote-debug-kylin-map-reduce-job-tp3731p3761.html
> Sent from the Apache Kylin mailing list archive at Nabble.com.
>
--
Regards,
*Bin Mahone | 马洪宾*
Apache Kylin: http://kylin.io
Github: https://github.com/binmahone
Re: [jira] [Created] (KYLIN-1452) document improvement: remote
debug kylin map/reduce job
Posted by sdangi <sd...@datalenz.com>.
My apologies. I misunderstood the context here. I was thinking more around
the remote debugging of Kylin JVM server.
--
View this message in context: http://apache-kylin.74782.x6.nabble.com/jira-Created-KYLIN-1452-document-improvement-remote-debug-kylin-map-reduce-job-tp3731p3761.html
Sent from the Apache Kylin mailing list archive at Nabble.com.
Re: [jira] [Created] (KYLIN-1452) document improvement: remote debug
kylin map/reduce job
Posted by hongbin ma <ma...@apache.org>.
hi Edward
Looks like an interesting improvement for debugging, can you provide your
scenario to justify the requirement?
Plus, maybe a document on this is also required?
On Fri, Feb 26, 2016 at 2:28 PM, Edward Zhang (JIRA) <ji...@apache.org>
wrote:
> Edward Zhang created KYLIN-1452:
> -----------------------------------
>
> Summary: document improvement: remote debug kylin map/reduce
> job
> Key: KYLIN-1452
> URL: https://issues.apache.org/jira/browse/KYLIN-1452
> Project: Kylin
> Issue Type: Improvement
> Affects Versions: Future
> Reporter: Edward Zhang
> Assignee: Edward Zhang
> Priority: Trivial
> Fix For: Future
>
>
> in sandbox/mapred-site.xml
> <property>
> <name>mapreduce.map.java.opts</name>
> <value>-Xdebug
> -Xrunjdwp:transport=dt_socket,server=y,address=51234 -Xmx512m</value>
> </property>
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.3.4#6332)
>
--
Regards,
*Bin Mahone | 马洪宾*
Apache Kylin: http://kylin.io
Github: https://github.com/binmahone