- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Superset fail at uploading a CSV file
- Labels:
-
Hortonworks Data Platform (HDP)
Created on ‎02-03-2019 06:35 AM - edited ‎08-17-2019 02:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
While trying to upload a csv file to Superset using the GUI I get the following
(pg.InternalError) FATAL: password authentication failed for user "superset" (Background on this error at: http://sqlalche.me/e/2j85)
You can check the photo attached.
Checked the link mentioned in issue and it wasn't helpful.
This is the first time I try uploading using the GUI, so it wasn't working before or anything.
HDP latest.
Created ‎02-18-2019 09:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have the same problem.
In my case the "problem" was caused by authentication method.
To "resolve" in my test environment I set authentication method from md5 into trust in pg_hba.conf in my Postgresql server on the database used for importing data.
Another authentication methods caused the same error.
I believe this is something like bug...
@Ali Alghamdi, please test and let me know.
Created ‎02-21-2019 06:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That should work yeah, but it must be a security flaw to open the trust channel.
I hope we get an answer soon with clear instructions and clarifications.
Best regards,
Created ‎04-11-2019 04:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can simply fix this problem https://github.com/apache/incubator-superset/issues/4285
So, change lines in file: /usr/hdp/current/superset/lib/python3.4/site-packages/superset/db_engine_specs.py
to follow:
line 137: 'con': create_engine(form.con.data.sqlalchemy_uri_decrypted, echo=False),
line 882: engine = create_engine(form.con.data.sqlalchemy_uri_decrypted)
