Giter Club home page Giter Club logo

glue-sneaql-demo's People

Contributors

albertogg avatar ramarnat avatar rmishra-github avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

glue-sneaql-demo's Issues

step file on ECS

I have setup AWS ECS using docker image. I have demo.sql and sneaql.json in code commit. When I run task its reading demo.sql instead of sneaql.json for steps.

2018-04-27 09:59:28[INFO] 2018-04-27 13:59:28 UTC tid2000: 0 statements found
2018-04-27 09:59:28[INFO] 2018-04-27 13:59:28 UTC tid2000: parsing statements from step file /repo/demo.sql
[INFO] 2018-04-27 13:59:28 UTC tid2000: parsing statements from step file /repo/demo.sql

Connecting to ECS from a Glue Task

Hello,
I am trying to replicate your solution but I am having issues. I do not have your virtualenv_python.zip file so I can't replicate exactly but I can't connect to ECS with the included boto3. Based on the error logs, It seems like the glue ETL job is creating instances inside of my default VPC (which has an internet gateway attached and public ips auto assigned). It seems like the instances Glue creates do not have external network access. I get an exception like the following:

botocore.vendored.requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='ecs.us-east-1.amazonaws.com', port=443): Max retries exceeded with url: / (Caused by ConnectTimeoutError(<botocore.awsrequest.AWSHTTPSConnection object at 0x7fa488baa610>, 'Connection to ecs.us-east-1.amazonaws.com timed out. (connect timeout=60)'))

I have tried attaching the appropriate EC2Cotainer policies to the glue service role and I have tried just passing an ACCESS_KEY and SECRET_KEY directly to boto3, but I have had no luck.

How did you get yours to work?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.