'How to add JVM parameters in AWS Glue

IN one of AWS glue job we have a long running transaction which fails with below error java.sql.SQLRecoverableException: Io exception: Connection reset

This is a common issue from Oracle and the solution provided by them is to use -Djava.security.egd=file:///dev/urandom

Where can we add this in AWS glue. In the doc it is mentioned not to use -conf variable as job parameter as it is internally used by AWS glue

Please let us know if there are any solutions for this



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source