You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Fang-Yu Rao (Jira)" <ji...@apache.org> on 2019/12/31 00:04:00 UTC

[jira] [Assigned] (IMPALA-9270) Impala is not able to list the tables when the logged in user is $USER

     [ https://issues.apache.org/jira/browse/IMPALA-9270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fang-Yu Rao reassigned IMPALA-9270:
-----------------------------------

    Assignee: Fang-Yu Rao

> Impala is not able to list the tables when the logged in user is $USER
> ----------------------------------------------------------------------
>
>                 Key: IMPALA-9270
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9270
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Frontend
>            Reporter: Fang-Yu Rao
>            Assignee: Fang-Yu Rao
>            Priority: Major
>
> Impala is not able to list the tables under the specified database when we log in to the Impala shell as the user $USER. Specifically, this phenomenon could be reproduced by the following steps.
>  # Execute "{{$IMPALA_HOME/bin/start-impala-cluster.py --kill}}"
>  # Execute the following to start a Ranger-enabled Impala miniculster
> {code:java}
> $IMPALA_HOME/bin/start-impala-cluster.py \
> --cluster_size=3 \
> --num_coordinators=3 \
> --log_dir=/tmp/ \
> --log_level=1 \
> '--state_store_args=--statestore_update_frequency_ms=50 --statestore_priority_update_frequency_ms=50 --statestore_heartbeat_frequency_ms=50' \
> '--impalad_args=--server-name=server1 --ranger_service_type=hive --ranger_app_id=impala --authorization_provider=ranger' \
> '--catalogd_args=--server-name=server1 --ranger_service_type=hive --ranger_app_id=impala --authorization_provider=ranger'
> {code}
>  # Log in to the Impala shell via "{{$IMPALA_HOME/bin/impala-shell.sh}}" (as the user {{$USER}} by default)
>  # In the Impala shell, execute "{{use functional;}}"
>  # In the Impala shell, execute "{{show tables;}}"
> No table will be displayed after executing "{{show tables;}}" above. On the other hand, if we in Step 3 above log in to the Impala shell as the administrator, i.e., by executing "{{$IMPALA_HOME/bin/impala-shell.sh -u admin}}", we will be able to see the list of tables under the specified database (the database {{functional}} in this case).
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org