Class DrillApplicationMaster

java.lang.Object
org.apache.drill.yarn.appMaster.DrillApplicationMaster

public class DrillApplicationMaster extends Object
Application Master for Drill. The name is visible when using the "jps" command and is chosen to make sense on a busy YARN node.

To debug this AM use the customized unmanaged AM launcher in this jar. (The "stock" YARN version does not give you time to attach the debugger.)


 TARGET_JAR=/your-git-folder/drill-yarn/target/drill-yarn-1.6-SNAPSHOT.jar
 TARGET_CLASS=org.apache.drill.yarn.appMaster.ApplicationMaster
 LAUNCHER_JAR=$TARGET_JAR
 LAUNCHER_CLASS=org.apache.drill.yarn.mock.UnmanagedAMLauncher
 $HH/bin/hadoop jar $LAUNCHER_JAR \
   $LAUNCHER_CLASS -classpath $TARGET_JAR \
   -cmd "java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005 \
   $TARGET_CLASS"
 
  • Constructor Details

    • DrillApplicationMaster

      public DrillApplicationMaster()
  • Method Details

    • main

      public static void main(String[] args)