linkis
linkis copied to clipboard
[Question] Hive can't find data sources were created by linkis
Before asking
- [X] I have read the How to ask for help (我已阅读如何寻求帮助指引文档).
Your environment
- Linkis version used: 1.1.2
- Environment name and version:
- hdp-3.2.4
- hive-3.1.2
- spark-3.1.3
- jdk 1.8.0_342
- ....
Describe your questions
-
add data source in linkis
-
response from api '{ApiGateway}/api/rest_j/v1/datasource/dbs'
we can't get the data sources were created by linkis
Eureka service list
Some logs info or acctch file
no error logs
: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.
Community
WeChat Assistant | WeChat Public Account |
---|---|
![]() |
![]() |
Mailing Lists
name | description | Subscribe | Unsubscribe | archive |
---|---|---|---|---|
[email protected] | community activity information | subscribe | unsubscribe | archive |
如果需要使用数据源中配置的数据源,请使用元数据查询接口 详细可参考https://linkis.apache.org/zh-CN/docs/latest/api/http/linkis-ps-publicservice-api/metadataquery-api#gettables
{ApiGateway}/api/rest_j/v1/datasource/dbs 接口是之前的老接口, 查询的连接信息来自与 https://linkis.apache.org/zh-CN/docs/latest/deployment/quick-deploy#22-%E9%85%8D%E7%BD%AE%E6%95%B0%E6%8D%AE%E5%BA%93%E4%BF%A1%E6%81%AF
If you need to use the data source configured in the data source, please refer to the metadata query interface for details https://linkis.apache.org/zh-CN/docs/latest/api/http/linkis-ps-publicservice-api/metadataquery-api#gettables
{ApiGateway}/api/rest_ The j/v1/datasource/dbs interface is the old interface before. The connection information queried comes from https://linkis.apache.org/zh-CN/docs/latest/deployment/quick-deploy#22 -%E9%85%8D%E7%BD%AE%E6%95%B0%E6%8D%AE%E5%BA%93%E4%BF%A1%E6%81%AF