-
Notifications
You must be signed in to change notification settings - Fork 835
Closed
Description
Hi,
To develop ETL Scripts locally with Python I have followed below steps :-
- Downloaded the AWS Glue Python library from GitHub. For Glue version 1.0, I checked out branch glue-1.0 as this version supports Python 3.
- Installed Apache Maven and referenced the path of Maven in the environment variables.
- Installed the Apache Spark and set the SPARK_HOME in environment variables
- Installed jdk and set the JAVA_HOME in environment variables
- Installed Hadoop and set HADOOP_HOME in environment variables
- Installed pyspark, awscli and boto3.
I chose the ETL script that was automatically generated by AWS glue and ran the job.
It worked successfully from AWS console and the file from source was loaded into the destination folder. But when I try to execute the same script locally, I encountered below error:
return self._jvm.GlueContext(self._jsc.sc())
TypeError: 'JavaPackage' object is not callable
Is there any workaround for this?
Thanks
Metadata
Metadata
Assignees
Labels
No labels