StarRocks / starrocks

StarRocks, a Linux Foundation project, is a next-generation sub-second MPP OLAP database for full analytics scenarios, including multi-dimensional analytics, real-time analytics, and ad-hoc queries.
https://starrocks.io
Apache License 2.0
8.62k stars 1.74k forks source link

[fe]External catalog failed to verify create and insert permissions #39040

Closed bobo495 closed 1 month ago

bobo495 commented 7 months ago

Steps to reproduce the behavior (Required)

  1. create hive catalog with ranger
    CREATE EXTERNAL CATALOG `hive_catalog_hms`
    PROPERTIES (
    "hive.metastore.type"  =  "hive",
    "hive.metastore.uris"  =  "thrift://xxx:9083",
    "type"  =  "hive",
    "ranger.plugin.hive.service.name"  =  "hivedev"
    );
  2. Use hive user to execute create and insert
    set catalog hive_catalog_hms;
    use `default`;
    create table test1 (id int,name string);
    insert into table test1 values(1,'xxx');

Expected behavior (Required)

create and insert were executed successfully

Real behavior (Required)

create error: shot_2024-01-15_10 26 38

insert error: shot_2024-01-15_10 25 57

StarRocks version (Required)

github-actions[bot] commented 1 month ago

We have marked this issue as stale because it has been inactive for 6 months. If this issue is still relevant, removing the stale label or adding a comment will keep it active. Otherwise, we'll close it in 10 days to keep the issue queue tidy. Thank you for your contribution to StarRocks!