You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@linkis.apache.org by GitBox <gi...@apache.org> on 2022/08/16 08:05:57 UTC

[GitHub] [incubator-linkis] Andywli opened a new issue, #2800: [Question] The database on the right side of Scriptis cannot be refreshed, and it is being refreshed all the time

Andywli opened a new issue, #2800:
URL: https://github.com/apache/incubator-linkis/issues/2800

   ### Before asking
   
   - [X] I have read the [How to ask for help](https://linkis.apache.org/community/how-to-ask-for-help) (我已阅读[如何寻求帮助](https://linkis.apache.org/zh-CN/community/how-to-ask-for-help)指引文档).
   
   
   ### Your environment
   
   <!-- Please describe the linkis version you are using and basic environment information -->
   <!-- 请描述您使用的linkis版本和基本环境信息 -->
   - Linkis version used: 1.1.2
   - Environment name and version:
       - cdh-5.14.2
       - hdp-3.1.5
       - hive-2.1.1
       - spark-3.2.1
       - scala-2.12.2
       - jdk 1.8.0_121
       - .... 
   
   
   ### Describe your questions
   
   The database on the right side of Scriptis cannot be refreshed, and it is being refreshed all the time (it should be noted that the metadata of linkis does not support docking with sentry and Ranger and only supports native permission control of hive), error message: The front-end database tab is always in the refreshed state
   
   Scriptis的右侧刷不出来数据库,一直在刷新中(需要注意的是linkis的metadata暂时不支持对接sentry和Ranger只支持hive原生的权限控制),错误信息: 前端数据库tab一直处于刷新状态
   
   ### Eureka service list
   
   <!-- You can directly copy and paste the screenshot of the list of registered service instances displayed on the Eureka page here -->
   <!--  可以将Eureka页面显示的注册服务实例列表的的截图 直接复制并粘贴到这里。 粘贴后,会自动生成如下格式的url-->
   
   eg:![image](https://user-images.githubusercontent.com/7869972/183326205-381b4e30-c727-44ba-8197-9998da78b1e3.png)
   
   
   ### Some logs info or acctch file
   
   <!-- Please add the log in the following format, the key error log must be pasted in the code style, and the text as much as possible, the detailed log or other files can be dragged and uploaded as an attachment -->
   <!-- 请按如下格式 添加日志,关键错误日志请贴到[````log][````]之间,尽可能贴文字,详细日志或则其它文件,可以拖拽上传作为附件 -->
   
   linkis-xxx.log:
   ````log
   
   <!--日志文字贴到这里-->
   
   ````
   log file:
    <!-- 拖拽上传后,会自动生成如下示例格式的附件url -->
   [linkis-xxx.log](https://github.com/apache/incubator-linkis/files/9219529/yarn-error.log)
   


-- 
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: notifications-unsubscribe@linkis.apache.org.apache.org

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


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


[GitHub] [incubator-linkis] github-actions[bot] commented on issue #2800: [Question] The database on the right side of Scriptis cannot be refreshed, and it is being refreshed all the time

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #2800:
URL: https://github.com/apache/incubator-linkis/issues/2800#issuecomment-1216287989

   :blush:  Welcome to the Apache Linkis (incubating) community!!
   We are glad that you are contributing by opening this issue.
   
   Please make sure to include all the relevant context.
   We will be here shortly.
   
   If you are interested in contributing to our website project, please let us know!
   You can check out our contributing guide on 
    :point_right:  [How to Participate in Project Contribution](https://linkis.apache.org/community/how-to-contribute).
    
   WeChat  Group:
   
   ![image](https://linkis.apache.org/Images/wedatasphere_contact_01.png)
   Mailing Lists:
   |name|description|Subscribe|Unsubscribe|archive|
   |:-----|:--------|:------|:-------|:-----|
   | [dev@linkis.apache.org](mailto:dev@linkis.apache.org) | community activity information | [subscribe](mailto:dev-subscribe@linkis.apache.org) | [unsubscribe](mailto:dev-unsubscribe@linkis.apache.org) | [archive](http://mail-archives.apache.org/mod_mbox/linkis-dev) |


-- 
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: notifications-unsubscribe@linkis.apache.org

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


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


[GitHub] [incubator-linkis] Andywli commented on issue #2800: [Question] The database on the right side of Scriptis cannot be refreshed, and it is being refreshed all the time

Posted by GitBox <gi...@apache.org>.
Andywli commented on issue #2800:
URL: https://github.com/apache/incubator-linkis/issues/2800#issuecomment-1216288969

   这是因为右侧的数据库我们是限制了权限的,而这个依赖hive开启授权访问:
   `hive.security.authorization.enabled=true; `
   
   具体可以参考:https://blog.csdn.net/yancychas/article/details/84202400
   开启如果配置了该参数还没有的话,那就需要给这个用户授予相应的库表权限,执行grant语句,可以参考相同的链接授权部分。
   ```
   # 授权参考以hadoop为例:
   # 进入hive client 查看hadoop用户数据库授权情况:
   show grant user hadoop on database default;
   # 给用户数据库授权情况:
   rt
   ```
   
   如果不想开启权限控制,即每个用户都可以看到库表,
   可以在linkis-ps-publicservice.properties种关闭与登陆用户的强关联配置linkis.metadata.hive.permission.with-login-user-enabled=false,重启linkis-ps-publicservice 后再试试
   


-- 
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: notifications-unsubscribe@linkis.apache.org

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


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


[GitHub] [incubator-linkis] Andywli closed issue #2800: [Question] The database on the right side of Scriptis cannot be refreshed, and it is being refreshed all the time

Posted by GitBox <gi...@apache.org>.
Andywli closed issue #2800: [Question] The database on the right side of Scriptis cannot be refreshed, and it is being refreshed all the time
URL: https://github.com/apache/incubator-linkis/issues/2800


-- 
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: notifications-unsubscribe@linkis.apache.org

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


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