When using "Enable Authorization and Dynamic Config Provider", an unexpected output occurred. #9829
Unanswered
shashihoushengqia
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The problems encountered:
I obtained the iceberg catalog configuration from the gravitino server through the "Dynamic Config Provider". The "show tables" command produced inconsistent outputs when "Authorization" was enabled and when it was not enabled.
Reproduction steps:
Place iceberg-spark-runtime-3.5_2.12-1.10.1.jar, iceberg-aws-bundle-1.10.1.jar and iceberg-spark-runtime-3.5_2.12-1.10.1.jar into the $SPARK_HOME/jars directory.
Create a spark configuration file named spark-defaults.conf under the $SPARK_HOME/conf directory.
The result is:
+------------+-------------+--------------+
| namespace | tableName | isTemporary |
+------------+-------------+--------------+
| db_dev | tab_test01 | false |
+------------+-------------+--------------+
Modify the "gravitino" configuration, enable authorization, and restart the gravitino service.
+---------------------+-------------+--------------+
| namespace | tableName | isTemporary |
+---------------------+-------------+--------------+
| lakehouse_metalake | tab_test01 | false |
+---------------------+-------------+--------------+
The problem has arisen:
"namespace" should be "db_dev",However, the "namespace" shown here is "lakehouse_metalake".
Applications that will be affected:
Using "dbeaver" and "datagrip" to connect to "spark thriftserver" fails to display the table names.
Beta Was this translation helpful? Give feedback.
All reactions