You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@linkis.apache.org by GitBox <gi...@apache.org> on 2022/02/16 06:59:12 UTC

[GitHub] [incubator-linkis] Andywli edited a comment on issue #1487: [Bug] The database on the right side of Scriptis cannot be refreshed

Andywli edited a comment on issue #1487:
URL: https://github.com/apache/incubator-linkis/issues/1487#issuecomment-1041173202


   We have restricted permissions for the database on the right, and this relies on hive to enable authorized 
   
   > access:hive.security.authorization.enabled=true; 
   
   Reference:https://blog.csdn.t/yancychas/article/details/84202[](https://blog.csdn.t/yancychas/article/details/84202)
   
   If this parameter is configured, it is necessary to grant the corresponding library table permission to the user and execute the grant statement. You can refer to the same link authorization section.
   
   > # 授权参考以hadoop为例:
   > # 进入hive client 查看hadoop用户数据库授权情况:
   > show grant user hadoop on database default;
   > # 给用户数据库授权情况:
   > grant all on database default to user hadoop;
   
   If you don't want to turn on permission control, that is, every user can see the library table, you can modify:com/webank/wedatasphere/linkis/metadata/hive/dao/impl/HiveMetaDao.xml
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org
For additional commands, e-mail: commits-help@linkis.apache.org