linkis icon indicating copy to clipboard operation
linkis copied to clipboard

[Bug] Cannot find an instance in the routing chain of serviceId [linkis-cg-entrance]

Open iture123 opened this issue 4 years ago • 2 comments

Search before asking

  • [X] I searched the issues and found no similar issues.

Linkis Component

linkis-service-gateway

What happened + What you expected to happen

Request URL: http://localhost:8080/api/rest_j/v1/entrance/execute Requat param: {"executeApplicationName":"spark","executionCode":"select * from test::dual","runType":"sql","params":{"variable":{},"configuration":{}},"source":{"scriptPath":"file:///tmp/linkis/hadoop/fhive/fsql/a1.sql"}} The response is: {"method":"/api/rest_j/v1/entrance/execute","status":1,"message":"GatewayErrorException: errCode: 11012 ,desc: Cannot find an instance in the routing chain of serviceId [linkis-cg-entrance], please retry ,ip: hadoop-PC ,port: 9001 ,serviceKind: linkis-mg-gateway","data":{"data":"{\"executeApplicationName\":\"spark\",\"executionCode\":\"select * from test::dual\",\"runType\":\"sql\",\"params\":{\"variable\":{},\"configuration\":{}},\"source\":{\"scriptPath\":\"file:///tmp/linkis/hadoop/fhive/fsql/a1.sql\"}}"}} The linkis-cg-entrance service lis live.But i see thre request param executeApplicationName=spark,and I do not config Spark in local enviroment,Only hive is available. 1642952238(1) 1642952264(1)

Relevent platform

system:deepin 20.4 linkis:dev-1.0.3 dss:dev-1.0.1 jdk:1.8.0_301

Reproduction script

no

Anything else

No response

Are you willing to submit a PR?

  • [ ] Yes I am willing to submit a PR!

iture123 avatar Jan 23 '22 15:01 iture123

This should be caused by instancelabel lookup service error, will you fix this issue?

peacewong avatar Jan 24 '22 06:01 peacewong

+1

windwhisper-i avatar Mar 30 '22 02:03 windwhisper-i