5

Is there a way to run a Glue job in AWS where all the necessary code is built into a JAR artifact and uploaded to S3?

Right now the best I can do is something like a placeholder wrapper script like

import project.ActualMainClass

object ScriptMain {
    def main(sysArgs: Array[String]): Unit = {
        ActualMainClass.main(sysArgs)
    }
}

It would be nice if I could skip that extra wrapper and provide the JAR and entry point only.

wrschneider
  • 17,913
  • 16
  • 96
  • 176
  • It seems it's not possible to package a Scala or Python application and use it in a job as we do in EMR. Did you find any answer to this that did allow a JAR being submitted instead of a script file? – Maziyar Jan 03 '23 at 16:19

0 Answers0