Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OWN permissions not handled #558

Closed
fannijako opened this issue Nov 6, 2023 · 0 comments · Fixed by #571
Closed

OWN permissions not handled #558

fannijako opened this issue Nov 6, 2023 · 0 comments · Fixed by #571
Assignees
Labels
migrate/groups Corresponds to Migrate Groups Step of go/uc/upgrade

Comments

@fannijako
Copy link
Contributor

OWN permissions fail during 02-apply-permissions-tobackup-groups for view, table and schema as well

16:26:10 ERROR [databricks.labs.ucx.framework.parallel] {ThreadPoolExecutor-0_2} apply backup group permissions task failed: Action OWN cannot be granted on table `hive_metastore`.`ucx_test`.`sample_view`
Traceback (most recent call last):
  File "/local_disk0/.ephemeral_nfs/cluster_libraries/python/lib/python3.10/site-packages/databricks/labs/ucx/framework/parallel.py", line 108, in inner
    return func(*args, **kwargs), None
  File "/local_disk0/.ephemeral_nfs/cluster_libraries/python/lib/python3.10/site-packages/databricks/labs/ucx/framework/crawlers.py", line 133, in execute
    self._spark.sql(sql)
  File "/databricks/spark/python/pyspark/instrumentation_utils.py", line 47, in wrapper
    res = func(*args, **kwargs)
  File "/databricks/spark/python/pyspark/sql/session.py", line 1702, in sql
    return DataFrame(self._jsparkSession.sql(sqlQuery, litArgs), self)
  File "/databricks/spark/python/lib/py4j-0.10.9.7-src.zip/py4j/java_gateway.py", line 1322, in __call__
    return_value = get_return_value(
  File "/databricks/spark/python/pyspark/errors/exceptions/captured.py", line 194, in deco
    raise converted from None
pyspark.errors.exceptions.captured.AnalysisException: Action OWN cannot be granted on table `hive_metastore`.`ucx_test`.`sample_view`
16:26:10 ERROR [databricks.labs.ucx.framework.parallel] {ThreadPoolExecutor-0_5} apply backup group permissions task failed: Action OWN cannot be granted on table `hive_metastore`.`dbpentest_dev`.`test`
Traceback (most recent call last):
  File "/local_disk0/.ephemeral_nfs/cluster_libraries/python/lib/python3.10/site-packages/databricks/labs/ucx/framework/parallel.py", line 108, in inner
    return func(*args, **kwargs), None
  File "/local_disk0/.ephemeral_nfs/cluster_libraries/python/lib/python3.10/site-packages/databricks/labs/ucx/framework/crawlers.py", line 133, in execute
    self._spark.sql(sql)
  File "/databricks/spark/python/pyspark/instrumentation_utils.py", line 47, in wrapper
    res = func(*args, **kwargs)
  File "/databricks/spark/python/pyspark/sql/session.py", line 1702, in sql
    return DataFrame(self._jsparkSession.sql(sqlQuery, litArgs), self)
  File "/databricks/spark/python/lib/py4j-0.10.9.7-src.zip/py4j/java_gateway.py", line 1322, in __call__
    return_value = get_return_value(
  File "/databricks/spark/python/pyspark/errors/exceptions/captured.py", line 194, in deco
    raise converted from None
pyspark.errors.exceptions.captured.AnalysisException: Action OWN cannot be granted on table `hive_metastore`.`dbpentest_dev`.`test`

@github-project-automation github-project-automation bot moved this to Triage in UCX Nov 6, 2023
@nfx nfx added bug migrate/groups Corresponds to Migrate Groups Step of go/uc/upgrade labels Nov 6, 2023
@nfx nfx closed this as completed in #571 Nov 13, 2023
nfx pushed a commit that referenced this issue Nov 13, 2023
@github-project-automation github-project-automation bot moved this from Triage to Archive in UCX Nov 13, 2023
pritishpai pushed a commit that referenced this issue Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
migrate/groups Corresponds to Migrate Groups Step of go/uc/upgrade
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants