Browse through the questions and answers listed below or filter and sort to narrow down your results.
1
answers
0
votes
14
views
asked 13 days ago
Passing parameters to the Glue Workflow using Python
I'm trying to run a Glue Workflow from the lambda. According to [this documentation](https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-workflow.html#aws-glue-api-workflow-StartWorkflowRun) there is a parameter `RunProperties`. So, I'm trying to run the workflow like this:
```
newRun = glue.start_workflow_run(Name = 'MyWorkflow', RunProperties = { 'key1': 'value1' })
```
But getting the error:
```
[ERROR] ParamValidationError: Parameter validation failed:
Unknown parameter in input: "RunProperties", must be one of: Name
```
It looks like it waits only one parameter `Name` but not `RunProperties`.
The question is: How can I run my workflow with parameters from a lambda function?
Some additional information:
What I'm trying to achieve here is to run a Glue Workflow when a zip file uploaded to S3. I don't want to run a crawler because it's redundant here. When a zip file is uploaded to S3, a lambda is started and from it I want to start the Glue Workflow.
Accepted AnswerAWS Glue
1
answers
0
votes
40
views
asked 15 days ago
1
answers
0
votes
39
views
asked a month ago
1
answers
0
votes
27
views
asked a month ago
What is the most cost efficient and fastest way to start GLUE ETL development
We are going to start development of GLUE ETLs . The different options available are :
1. From the AWS Console : This seems to be costly and slow and not very efficient for developing scripts
2. From Dev Endpoints : Billing Rate is high
3. By AWS Glue Docker Image : Lacks functionality
4. Interactive Sessions
5. Local Setup
Which among these will be simple to set up and not incur cost ?
Accepted AnswerAWS Glue
3
answers
0
votes
28
views
asked a month ago
1
answers
0
votes
70
views
asked a month ago
1
answers
0
votes
67
views
asked 2 months ago
2
answers
0
votes
17
views
asked 2 months ago
aws-glue-libs:glue_libs_3.0.0_image_01 image issue
I am getting issues in aws-glue-libs:glue_libs_3.0.0_image_01 image
docker run -it -p 8888:8888 -p 4040:4040 -e DISABLE_SSL="true" -v C:/Docker/jupyter_workspace:**/home/glue_user/workspace/jupyter_workspace/ ** --name glue_jupyter amazon/aws-glue-libs:glue_libs_3.0.0_image_01 /home/glue_user/jupyter/jupyter_start.sh
It is getting started locally but When I am trying to read the csv file stored locally it is giving error :
An error was encountered:
Path does not exist: file:/home/glue_user/workspace/employees.csv
Traceback (most recent call last):
File "/home/glue_user/spark/python/pyspark/sql/readwriter.py", line 737, in csv
return self._df(self._jreader.csv(self._spark._sc._jvm.PythonUtils.toSeq(path)))
File "/home/glue_user/spark/python/lib/py4j-0.10.9-src.zip/py4j/java_gateway.py", line 1305, in __call__
answer, self.gateway_client, self.target_id, self.name)
File "/home/glue_user/spark/python/pyspark/sql/utils.py", line 117, in deco
raise converted from None
pyspark.sql.utils.AnalysisException: Path does not exist: file:/home/glue_user/workspace/employees.csv
Or When I am trying to start with
docker run -it -p 8888:8888 -p 4040:4040 -e DISABLE_SSL="true" -v C:/Docker/jupyter_workspace****:/home/glue_user/workspace** ** --name glue_jupyter amazon/aws-glue-libs:glue_libs_3.0.0_image_01 /home/glue_user/jupyter/jupyter_start.sh
then container is not getting started getting following error :
Bad config encountered during initialization: No such directory: ''/home/glue_user/workspace/jupyter_workspace''
Accepted AnswerAWS Glue
1
answers
0
votes
45
views
asked 2 months ago