linkis icon indicating copy to clipboard operation
linkis copied to clipboard

[Question] Hive can't find data sources were created by linkis

Open figodeng opened this issue 1 year ago • 2 comments

Before asking

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 image

  • response from api '{ApiGateway}/api/rest_j/v1/datasource/dbs' image

we can't get the data sources were created by linkis

Eureka service list

image

Some logs info or acctch file

no error logs

figodeng avatar Sep 17 '22 09:09 figodeng

: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

github-actions[bot] avatar Sep 17 '22 09:09 github-actions[bot]

如果需要使用数据源中配置的数据源,请使用元数据查询接口 详细可参考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

casionone avatar Sep 19 '22 07:09 casionone