Develop AWS Glue Jobs Locally Using Visual Studio Code and Docker on Windows - step by step

  Рет қаралды 11,639

DataEng Uncomplicated

DataEng Uncomplicated

Күн бұрын

Пікірлер: 51
@prabhathkota107
@prabhathkota107 7 ай бұрын
Beautifully explained about the setup. Understood how docker works as well. thanks a ton, Subscribed.
@bananaboydan3642
@bananaboydan3642 Жыл бұрын
Your channel is amazing bro. Perfect for the project I’m working on
@DataEngUncomplicated
@DataEngUncomplicated Жыл бұрын
Thanks a lot!
@tapasdalai5115
@tapasdalai5115 3 ай бұрын
Thanks its a great effort given by you. Good work keep it up
@PuzzlerCraft
@PuzzlerCraft Жыл бұрын
Thanks a lot to put out a comment in the previous video.
@HenriqueCalasans
@HenriqueCalasans 12 күн бұрын
Nicee! thank you so much!
@DataEngUncomplicated
@DataEngUncomplicated 12 күн бұрын
You're welcome!
@dinhhoangtu311
@dinhhoangtu311 5 ай бұрын
Well explained video. Thanks!
@DataEngUncomplicated
@DataEngUncomplicated 4 ай бұрын
You're welcome!
@shashankreddy8390
@shashankreddy8390 Жыл бұрын
Hi, I love all your videos. I have a video suggestion: Can you please make an end to end project on 1.how to run a job from start to end. 2. How to monitor glue cloud watch metrics? 3. How to check cloud watch error logs if a glue job has failed or is a success? 4. How to trigger this glue job daily and append the results into an s3 bucket.
@julianromero3359
@julianromero3359 8 ай бұрын
Excelent tutorial
@DataEngUncomplicated
@DataEngUncomplicated 8 ай бұрын
Thanks Julian!
@jzevakin
@jzevakin 7 ай бұрын
Thank you!!
@DataEngUncomplicated
@DataEngUncomplicated 7 ай бұрын
You're welcome!
@Levy957
@Levy957 10 ай бұрын
you are awesome
@SonPhan1
@SonPhan1 6 ай бұрын
i appreciate the really informative video! I followed everything and i'm stuck on running the pyspark code in the dev container environment. when i launch the dev container in the same/new window, i don't see the extensions in the container environment. The python interpreter doesn't show up either and when i go to the extension tab in the container environment, all the extensions are not installed. Is there additional configuration files in vs code i need to modify to enable the already installed extensions to run from the dev container?
@RyanMontSerrat
@RyanMontSerrat 11 ай бұрын
Great video man, but how do I import local csv files?
@DataEngUncomplicated
@DataEngUncomplicated 11 ай бұрын
Hi Ryan, since your deployed AWS glue eventually runs in the cloud you would need your data in S3. You can manually upload your data to S3 through the AWS S3 console or use boto3 or the AWS S3 cli to do this.
@stevenjosephceniza8245
@stevenjosephceniza8245 7 ай бұрын
Thank you for this guide! I tried using pycharm and my old computer cannot handle it. I almost purchased for a subscription.
@DataEngUncomplicated
@DataEngUncomplicated 7 ай бұрын
Hi, I'm not sure what you mean it almost purchased a subscription. But you need pro to use docker in pycharm.
@OmegaStyler
@OmegaStyler Жыл бұрын
Great work Adriano, thanks for these videos! Quick question about AWS Glue - lets say I have 300 tables in my Data catalog and I want to load them all at once, add a loaddate column to all of them and write them into another target (Another Database / data catalog etc.) What is the easiest solution to do this? I'm able to load one single table but not all at once. Many thanks!
@DataEngUncomplicated
@DataEngUncomplicated Жыл бұрын
Thanks, if your doing the exact same transformation on all 300 tables, I would put the table names in a list and then loop through each table to add this load date column and then write it to another target. If your tables are very large I would be careful trying to bring all 300 tables into memory at once so perhaps looping through might be a better option of this is the case. The other option is Create a Parameterized Glue Job...Write a Glue ETL script that performs the required transformation on a single table, making use of parameters for dynamic values (e.g., input table name, output table name, etc.).
@juandavidpenaranda6136
@juandavidpenaranda6136 22 күн бұрын
@@DataEngUncomplicated amazing answer, thanks
@calendr13
@calendr13 3 ай бұрын
Great Video! But I cannot run the python script, the play button does not appear
@DevNarayan51
@DevNarayan51 11 ай бұрын
I am using MAC OS and trying to setup AWS Glue locally with VS code. Can you help me please. As i am not able understand to setup in my mac after 3:22
@DataEngUncomplicated
@DataEngUncomplicated 11 ай бұрын
For this step, just navigate to where you have your vs code workspace file and open it in vs code. It might look differently on a Mac I did this on a windows machine.
@ashishrakhit5799
@ashishrakhit5799 3 ай бұрын
Can you please, share the link to your github repo? Thanks
@DataEngUncomplicated
@DataEngUncomplicated 3 ай бұрын
github.com/AdrianoNicolucci/dataenguncomplicated
@rohithreddy41
@rohithreddy41 7 ай бұрын
thank you for the video. I am unable to run the program because i do not see the run button after clicking "attach in current window"
@rohithreddy41
@rohithreddy41 7 ай бұрын
I had to install python in the container and now i see the run button.
@maximilianrausch5193
@maximilianrausch5193 Жыл бұрын
What is different about this new video compared to the prior ones?
@DataEngUncomplicated
@DataEngUncomplicated Жыл бұрын
This one is with visual studio code vs my last video was pycharm. I got a lot of comments that more people use vs code and wanted a tutorial specifically for that ide
@NitaMote-g1j
@NitaMote-g1j Ай бұрын
How run glue job by passing job argument?
@DataEngUncomplicated
@DataEngUncomplicated Ай бұрын
It depends how are you planning to trigger your glue job. Do you have an idea?
@Angleito
@Angleito 7 ай бұрын
does this work with the debugger?
@DataEngUncomplicated
@DataEngUncomplicated 7 ай бұрын
Yes
@TheSmilingLamp
@TheSmilingLamp 11 ай бұрын
How do you fix Permission Denied issues? I can't mount my .aws folder or any other directory to the workspace and also be able to read/write files to these mounts
@DataEngUncomplicated
@DataEngUncomplicated 7 ай бұрын
Hi, it sounds like you don't have admin permissions on your own machine. I would probably talk to your IT team to see how they could help. I didn't experience any permission issues.
@Neeoooo
@Neeoooo 5 ай бұрын
@@DataEngUncomplicated It looks like the glue_user does not have permission to access the mapped volume folder location for AWS configs. I had to specifically give read permissions from my local machine
@keyurpatel3387
@keyurpatel3387 9 ай бұрын
Thanks. However, I am getting the below error while following this in Windows 11. Any idea what could be wrong and how to solve it: def since(version: Union[str, float]) -> Callable[[F], F]: saying invalid syntax
@DataEngUncomplicated
@DataEngUncomplicated 9 ай бұрын
Strange, at what stage did you get this error?
@watsup1269
@watsup1269 4 ай бұрын
Hi, to someone who found this error. I also did but solved it by using the command: "python3 " instead of "python "
@rahulpanda9256
@rahulpanda9256 8 ай бұрын
This video is not clear.. especially the workspace section. Can you try to create a new workspace and show the same? Also how would developers use a common code base in this case as the workspace location is internal to glue. How can we mount an s3 bucket to save everyone’s code?
@DataEngUncomplicated
@DataEngUncomplicated 7 ай бұрын
Hi Rahul, The workspace location is specific to the individual developer. When we run code on our docker container, we are telling the docker container to run some code we have on our local machine. So to answer your question about "how would developers use a common code base". This should always be in a code repository like github, codecommit, or bitbucket. I wouldn't advise an s3 bucket for storing everyone's code.
@dipeshg8581
@dipeshg8581 Жыл бұрын
Thanks for the video. But sir we are not able to display dataframe as table . It's showing json line by line. Sir How to resolve this ?
@DataEngUncomplicated
@DataEngUncomplicated Жыл бұрын
That's a good question, I'm not sure how to visualize the data in vs code from spark I use pycharm mostly.
@dipeshg8581
@dipeshg8581 Жыл бұрын
@@DataEngUncomplicated sir on pycharm also dynamicframe is shown as json line-by-line in your video
@dipeshg8581
@dipeshg8581 Жыл бұрын
@@DataEngUncomplicated Sir On pycharm also dynamic-frame is not shown as table instead it is json line-by-line as seen in your video.
@DataEngUncomplicated
@DataEngUncomplicated Жыл бұрын
I don't think pycharm supports visualizing spark dataframes, you can bring the data into a pandas dataframe and then you can view the data in debugging mode as one method. @@dipeshg8581
@dipeshg8581
@dipeshg8581 Жыл бұрын
@@DataEngUncomplicated thank you sir 🙏🏼
Deploying a Glue Job to AWS with Terraform: A Step-by-Step Tutorial
16:51
DataEng Uncomplicated
Рет қаралды 6 М.
Develop AWS Glue Jobs Locally Using PyCharm and Docker on Windows - step by step
13:43
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 105 МЛН
If you're not developing with this, you're wasting your time
14:30
Articulated Robotics
Рет қаралды 308 М.
Don't use VSCode
35:31
PyCon South Africa
Рет қаралды 231 М.
My Favorite Way To Handle Dev Environments | VS Code Devcontainers
30:05
Mastering AWS Glue Unit Testing for PySpark Jobs with Pytest
11:41
DataEng Uncomplicated
Рет қаралды 7 М.
AWS Glue ETL Vs EMR - Which one should I use?
8:05
Johnny Chivers
Рет қаралды 42 М.
18 Weird and Wonderful ways I use Docker
26:18
NetworkChuck
Рет қаралды 410 М.
Why Data Engineers Should Develop AWS Glue Jobs Locally
6:45
DataEng Uncomplicated
Рет қаралды 8 М.
The intro to Docker I wish I had when I started
18:27
typecraft
Рет қаралды 280 М.
Top AWS Services A Data Engineer Should Know
13:11
DataEng Uncomplicated
Рет қаралды 177 М.