If you are running a
GlueJob in AWS and get the following error:
An error occurred while calling o86.getDynamicFrame. Exception thrown in awaitResult:
Then you need to view the CloudWatch logs to help you pinpoint where the problem is occuring.
How to solve the Exception thrown in
It’s highly likely that the issue is in an expired IAM Role.
When a Role is created in IAM, the default
maximum session duration is set to
GlueJob completes before this time, then you won’t see the above error.
So you can resolve this by setting your
maximum session duration to a larger number.
Edit in the Role’s specific console page and select a higher
The maximum value possible is
12 hours unless you set a