我正在使用 HortonWorks Sandbox 并尝试连接到 tableau,但出现以下错误。我可以在 tableau 中选择表和列,但无法访问这些值。这是在 hive 中向我的用户授予管理员权限之后的结果。
错误:
[Hortonworks][HiveODBC] (35) Error from Hive: error code: '40000' error message: 'Error while compiling statement: FAILED: HiveAccessControlException Permission denied. Principal [name=hue, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=bse_stock_test.bse_index] : [SELECT]'.
Unexpected Error
最佳答案
用户:hue应该有访问该表的权限。
在您的情况下,用户:hue
应该有权访问bse_stock_test.bse_index
。
尝试以下命令。它对我有用。
GRANT SELECT on table <table_name> to user <user_name>;
例如:
grant SELECT on table batting to user hue
关于hadoop - Hortonworks Sandbox 连接到 Tableau 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26023243/