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 2022/12/13 00:15:11 UTC

[GitHub] [superset] betodealmeida commented on issue #22368: Failed to set user for impala

betodealmeida commented on issue #22368:
URL: https://github.com/apache/superset/issues/22368#issuecomment-1347560711

   I'm not familiar with Impala, but looking at the source code I wonder if you also need to specify an `auth_mechanism`?
   
   https://github.com/cloudera/impyla/blob/0f2be72e31feab9cc6d91b44dc873af306bcb97a/impala/dbapi.py#L41-L47
   
   The default mechanism is `NOSASL`, which corresponds to "unsecured Impala". A user [has commented](https://github.com/cloudera/impyla/issues/393#issuecomment-607580685) that "in NOSASL mode, it use the pure socket connection to connect impala without user & password", so that could be the issue.
   
   @KanaSukita does the user has a password? If so, can you try with:
   
   ```
   {
       "metadata_params": {},
       "engine_params": {
           "connect_args":{
               "port":21050,
               "user": "test",
               "password": "XXX",
               "auth_mechanism": "PLAIN",
               "database": "test_impala"
           }
       },
       "metadata_cache_timeout": {},
       "schemas_allowed_for_csv_upload": []
   }
   ```


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

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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