Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10875

Sqoop2: Attach a debugger to miniclusters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    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.

      For tomcat, I needed to add the following to TomcatSqoopMiniCluster:

      configuration.setProperty(GeneralPropertySet.JVMARGS, "\"-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005\"");
      

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            abec Abraham Elmahrek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: