apache / linkis

Apache Linkis builds a computation middleware layer to facilitate connection, governance and orchestration between the upper applications and the underlying data engines.
https://linkis.apache.org/
Apache License 2.0
3.3k stars 1.17k forks source link

Install the compact version, log in and ask getbaseinfo to report 404 for help! #232

Closed emumunana closed 2 years ago

emumunana commented 4 years ago

gateway日志: gateway log: 2019-12-26 23:28:28.059 INFO [reactor-http-nio-2] com.webank.wedatasphere.linkis.gateway.route.DefaultGatewayRouter 42 info - GatewayRouter route requestUri /api/rest_j/v1/publicservice/getBaseInfo with parsedService publicservice to ServiceInstance(cloud-publicservice, null)

publicservice日志: publicservice log: 2019-12-26 23:22:46,332 INFO (qtp168066011-44) INFO RestfulApplication - register com.webank.wedatasphere.linkis.rpc.RPCReceiveRestful 2019-12-26 23:22:46,335 INFO (qtp168066011-44) INFO RestfulApplication - packages com.webank.wedatasphere.linkis.jobhistory.restful,com.webank.wedatasphere.linkis.variable.restful,com.webank.wedatasphere.linkis.application.restful,com.webank.wedatasphere.linkis.configuration.restful,com.webank.wedatasphere.linkis.udf.api,com.webank.wedatasphere.linkis.filesystem.restful 2019-12-26 23:22:47.188 WARN [qtp168066011-44] org.glassfish.jersey.internal.Errors 191 logErrors - The following warnings have been detected: WARNING: A HTTP GET method, public javax.ws.rs.core.Response com.webank.wedatasphere.linkis.filesystem.restful.api.BMLFsRestfulApi.openScriptFromBML(javax.servlet.http.HttpServletRequest,java.lang.String,java.lang.String,java.lang.String,java.lang.String) throws java.io.IOException,com.webank.wedatasphere.linkis.filesystem.exception.WorkSpaceException, should not consume any entity. HINT: A HTTP GET method, public void com.webank.wedatasphere.linkis.filesystem.restful.api.FsRestfulApi.resultsetToExcel(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,java.lang.String,java.lang.String,java.lang.String,java.lang.String) throws com.webank.wedatasphere.linkis.filesystem.exception.WorkSpaceException,java.io.IOException, returns a void type. It can be intentional and perfectly fine, but it is a little uncommon that GET method returns always "204 No Content".

yangzhiyue commented 4 years ago

getBaseInfo是dss服务器的一个接口,您能显示更多的dss服务器日志吗? getBaseInfo is an interface of dss-server, can you show more logs of dss-server?

emumunana commented 4 years ago

运行Scriptis时,请求的是/api/rest_j/v1/publicservice/getBaseInfo,报404,未发现dss-server有任何日志 error: "Not Found" message: "Not Found" path: "/api/rest_j/v1/publicservice/getBaseInfo" status: 404 timestamp: "2019-12-27T15:19:27.583+0000"

运行DataSphere studio时,请求的是/api/rest_j/v1/dss/getBaseInfo,正常

When running scriptis, the request is / API / rest J / V1 / publicservice / getbaseinfo, 404, no logs found in DSS server error: "Not Found" message: "Not Found" path: "/api/rest j/v1/publicservice/getBaseInfo" status: 404 timestamp: "2019-12-27T15:19:27.583+0000" When running datasphere studio, the request is / API / rest_ J / V1 / DSS / getbaseinfo, normal

coolyu0916 commented 4 years ago

在eurake中看看publicservice是否启动起来了,我的就是后期自己启动。 Check whether the public service is started in eurake, and my goal is to start it later.

emumunana commented 4 years ago

@coolyu0916 确认publicservice已经启动了,感谢提醒。目前遇到了新的问题,知道DSS是集成了Scriptis的,部署了DSS的前后端,正常进入到操作界面了,在工作控件中创建SQL并运行,一致显示排队中 当前运行的服务如下:

Confirm that the public service has been started. Thank you for reminding. At present, we have encountered new problems. We know that DSS is integrated with scriptis, and the front and back ends of DSS are deployed. We normally enter the operation interface, create and run SQL in the work control, and consistently display the queue The services currently running are as follows:

BML-SERVER CLOUD-PUBLICSERVICE DATAWORKCLOUD DATAWORKCLOUD-GATEWAY DSS-SERVER JDBCENTRANCE RESOURCEMANAGER

另外想启动APPJOINTENTRANCE,但启动失败,日志并未发现任何报错,日志如下: In addition, you want to start appjointerance, but it fails. No error is found in the log. The log is as follows: 2019-12-29 22:20:34.964 INFO [main] org.eclipse.jetty.server.Server 374 doStart - jetty-9.4.11.v20180605; built: 2018-06-05T18:24:03.829Z; git: d5fc0523cfa96bfebfbda19606cad384d772f04c; jvm 1.8.0_181-b13 2019-12-29 22:20:35.161 INFO [main] org.eclipse.jetty.server.session 365 doStart - DefaultSessionIdManager workerName=node0 2019-12-29 22:20:35.161 INFO [main] org.eclipse.jetty.server.session 370 doStart - No SessionScavenger set, using defaults 2019-12-29 22:20:35.164 INFO [main] org.eclipse.jetty.server.session 149 startScavenging - node0 Scavenging every 660000ms 2019-12-29 22:20:35.174 INFO [main] org.eclipse.jetty.server.handler.ContextHandler.application 2318 log - Initializing Spring embedded WebApplicationContext 2019-12-29 22:20:35.595 WARN [main] com.netflix.config.sources.URLConfigurationSource 120 - No URLs will be polled as dynamic configuration sources. 2019-12-29 22:20:35.597 INFO [main] com.netflix.config.sources.URLConfigurationSource 121 - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath. 2019-12-29 22:20:35.614 INFO [main] com.netflix.config.DynamicPropertyFactory 281 getInstance - DynamicPropertyFactory is initialized with configuration sources: com.netflix.config.ConcurrentCompositeConfiguration@799206ad 2019-12-29 22:20:37.080 INFO [main] org.eclipse.jetty.server.handler.ContextHandler 851 doStart - Started o.s.b.w.e.j.JettyEmbeddedWebAppContext@1fb61db4{application,/,[file:///tmp/jetty-docbase.318169700400741898.9005/],AVAILABLE} 2019-12-29 22:20:37.081 INFO [main] org.eclipse.jetty.server.Server 411 doStart - Started @12150ms 2019-12-29 22:20:37.105 INFO [main] com.webank.wedatasphere.linkis.entrance.conf.EntranceSpringConfiguration$$EnhancerBySpringCGLIB$$40ed504f 59 - load the ujes-entrance spring configuration. 2019-12-29 22:20:37.264 INFO [main] org.eclipse.jetty.server.session 167 stopScavenging - node0 Stopped scavenging 2019-12-29 22:20:37.269 INFO [main] org.eclipse.jetty.server.handler.ContextHandler 1020 doStop - Stopped o.s.b.w.e.j.JettyEmbeddedWebAppContext@1fb61db4{application,/,[file:///tmp/jetty-docbase.318169700400741898.9005/],UNAVAILABLE}