sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abraham Elmahrek (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SQOOP-1397) Sqoop2: Attach a debugger to miniclusters
Date Tue, 22 Jul 2014 17:46:40 GMT

     [ https://issues.apache.org/jira/browse/SQOOP-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Abraham Elmahrek updated SQOOP-1397:
------------------------------------

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

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.

  was:
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.


> Sqoop2: Attach a debugger to miniclusters
> -----------------------------------------
>
>                 Key: SQOOP-1397
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1397
>             Project: Sqoop
>          Issue Type: Improvement
>            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
and http://cargo.codehaus.org/Configuration+properties.
> 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)

Mime
View raw message