You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/05/31 21:20:59 UTC

[GitHub] [incubator-superset] tanmaya26 opened a new issue #7631: Connection fails to Amazon Athena from superset on EC2 environment

tanmaya26 opened a new issue #7631: Connection fails to Amazon Athena from superset on EC2 environment
URL: https://github.com/apache/incubator-superset/issues/7631
 
 
   I am trying to run superset on an EC2 instance but the URI for Athena fails. I see version conflict for EC2 machine's s3transfer library and the s3transfer version that superset uses. 
   
   ### Expected results
   The connection should be successful. I am using python 3.6.8. 
   
   ### Actual results
   Here, is the stack trace:
   ERROR:root:(s3transfer 0.2.0 (/home/ec2-user/.local/lib/python3.6/site-packages), Requirement.parse('s3transfer<0.2.0,>=0.1.10'), {'boto3'})
   Traceback (most recent call last):
     File "/usr/local/lib/python3.6/site-packages/superset/views/core.py", line 1779, in testconn
       engine = create_engine(uri, **engine_params)
     File "/usr/local/lib64/python3.6/site-packages/sqlalchemy/engine/__init__.py", line 431, in create_engine
       return strategy.create(*args, **kwargs)
     File "/usr/local/lib64/python3.6/site-packages/sqlalchemy/engine/strategies.py", line 61, in create
       entrypoint = u._get_entrypoint()
     File "/usr/local/lib64/python3.6/site-packages/sqlalchemy/engine/url.py", line 168, in _get_entrypoint
       cls = registry.load(name)
     File "/usr/local/lib64/python3.6/site-packages/sqlalchemy/util/langhelpers.py", line 229, in load
       return impl.load()
     File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2433, in load
       self.require(*args, **kwargs)
     File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2456, in require
       items = working_set.resolve(reqs, env, installer, extras=self.extras)
     File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 791, in resolve
       raise VersionConflict(dist, req).with_context(dependent_req)
   pkg_resources.ContextualVersionConflict: (s3transfer 0.2.0 (/home/ec2-user/.local/lib/python3.6/site-packages), Requirement.parse('s3transfer<0.2.0,>=0.1.10'), {'boto3'})
   
   #### How to reproduce the bug
   
   1. Go to terminal
   2. Connect to EC2 instance via ssh
   3. Run superset
   4. Open superset on browser and enter URI in 'New Data source' page.
   
   ### Environment
   
   (please complete the following information):
   
   - superset version: `0.28.1`
   - python version: 3.6.8
   - node.js version: not found
   - npm version: not found
   
   ### Checklist
   
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [checkbox:checked] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [checkbox:checked] I have reproduced the issue with at least the latest released version of superset.
   - [checkbox:checked ] I have checked the issue tracker for the same issue and I haven't found one similar.
   
   ### Additional context
   
   Add any other context about the problem here.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org