Dr32
Dr32

Reputation: 21

Can i use jar file as a source code of AWS Glue job?

I am new to the aws glue and I have one java code which I want to run with aws glue, so does aws glue provide any privilege to directly run jar file?

Upvotes: 2

Views: 2844

Answers (1)

Daniel Langdon
Daniel Langdon

Reputation: 5999

I believe you can. In fact, Spark itself is built on Java and supports it. The compatibility on calling Java libraries from Scala is top-notch.

As far as glue is concerned, they have params you can use to add your own jar files:

--extra-jars

    The Amazon S3 paths to additional Java .jar files that AWS Glue adds to the Java classpath before executing your script. Multiple values must be complete paths separated by a comma (,).

Upvotes: 5

Related Questions