You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Abraham Elmahrek (JIRA)" <ji...@apache.org> on 2014/07/22 19:42:39 UTC

[jira] [Created] (HADOOP-10875) Sqoop2: Attach a debugger to miniclusters

Abraham Elmahrek created HADOOP-10875:
-----------------------------------------

             Summary: Sqoop2: Attach a debugger to miniclusters
                 Key: HADOOP-10875
                 URL: https://issues.apache.org/jira/browse/HADOOP-10875
             Project: Hadoop Common
          Issue Type: Bug
            Reporter: Abraham Elmahrek


It would be nice to have a way to attach a debugger to the miniclusters: http://cargo.codehaus.org/Starting+and+stopping+a+container.

For tomcat, I needed to add the following to TomcatSqoopMiniCluster:
{code}
configuration.setProperty(GeneralPropertySet.JVMARGS, "\"-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005\"");
{code}

There should also be a way to attach a debugger to the Yarn container.



--
This message was sent by Atlassian JIRA
(v6.2#6252)