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

Поділитися
Вставка
  • Опубліковано 2 лис 2024

КОМЕНТАРІ • 48

  • @tapasdalai5115
    @tapasdalai5115 2 місяці тому +2

    Thanks its a great effort given by you. Good work keep it up

  • @prabhathkota107
    @prabhathkota107 6 місяців тому +1

    Beautifully explained about the setup. Understood how docker works as well. thanks a ton, Subscribed.

  • @bananaboydan3642
    @bananaboydan3642 11 місяців тому +2

    Your channel is amazing bro. Perfect for the project I’m working on

  • @PuzzlerCraft
    @PuzzlerCraft 11 місяців тому +1

    Thanks a lot to put out a comment in the previous video.

  • @shashankreddy8390
    @shashankreddy8390 11 місяців тому +2

    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.

  • @dinhhoangtu311
    @dinhhoangtu311 3 місяці тому +1

    Well explained video. Thanks!

  • @julianromero3359
    @julianromero3359 7 місяців тому +1

    Excelent tutorial

  • @SonPhan1
    @SonPhan1 5 місяців тому

    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?

  • @calendr13
    @calendr13 2 місяці тому

    Great Video! But I cannot run the python script, the play button does not appear

  • @Levy957
    @Levy957 9 місяців тому +1

    you are awesome

  • @OmegaStyler
    @OmegaStyler 11 місяців тому

    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  11 місяців тому +3

      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.).

  • @stevenjosephceniza8245
    @stevenjosephceniza8245 5 місяців тому

    Thank you for this guide! I tried using pycharm and my old computer cannot handle it. I almost purchased for a subscription.

    • @DataEngUncomplicated
      @DataEngUncomplicated  5 місяців тому

      Hi, I'm not sure what you mean it almost purchased a subscription. But you need pro to use docker in pycharm.

  • @keyurpatel3387
    @keyurpatel3387 8 місяців тому

    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  8 місяців тому

      Strange, at what stage did you get this error?

    • @watsup1269
      @watsup1269 3 місяці тому

      Hi, to someone who found this error.
      I also did but solved it by using the command: "python3 " instead of "python "

  • @ashishrakhit5799
    @ashishrakhit5799 2 місяці тому

    Can you please, share the link to your github repo? Thanks

  • @rohithreddy41
    @rohithreddy41 6 місяців тому

    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 6 місяців тому +1

      I had to install python in the container and now i see the run button.

  • @jzevakin
    @jzevakin 6 місяців тому +1

    Thank you!!

  • @RyanMontSerrat
    @RyanMontSerrat 10 місяців тому

    Great video man, but how do I import local csv files?

    • @DataEngUncomplicated
      @DataEngUncomplicated  10 місяців тому +1

      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.

  • @DevNarayan51
    @DevNarayan51 10 місяців тому

    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  10 місяців тому

      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.

  • @TheSmilingLamp
    @TheSmilingLamp 10 місяців тому

    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  6 місяців тому

      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 4 місяці тому

      @@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

  • @NitaMote-g1j
    @NitaMote-g1j 27 днів тому

    How run glue job by passing job argument?

    • @DataEngUncomplicated
      @DataEngUncomplicated  27 днів тому

      It depends how are you planning to trigger your glue job. Do you have an idea?

  • @maximilianrausch5193
    @maximilianrausch5193 11 місяців тому

    What is different about this new video compared to the prior ones?

    • @DataEngUncomplicated
      @DataEngUncomplicated  11 місяців тому +1

      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

  • @Angleito
    @Angleito 6 місяців тому

    does this work with the debugger?

  • @rahulpanda9256
    @rahulpanda9256 7 місяців тому +1

    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  6 місяців тому

      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 10 місяців тому

    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  10 місяців тому

      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 10 місяців тому

      @@DataEngUncomplicated sir on pycharm also dynamicframe is shown as json line-by-line in your video

    • @dipeshg8581
      @dipeshg8581 10 місяців тому

      @@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  10 місяців тому

      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 10 місяців тому

      @@DataEngUncomplicated thank you sir 🙏🏼