punnpkin opened a new issue, #5166:
URL: https://github.com/apache/linkis/issues/5166

   ### 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.3.2
   - Environment name and version:
       docker
   
   
   ### Describe your questions
   
   <!-- Please describe your questions -->
   <!-- 请描述您的问题 -->
   Q1.  Could not find or load main class 
org.apache.linkis.cli.application.LinkisClientApplication
   kubectl get pods -A
   NAMESPACE            NAME                                            READY   
STATUS      RESTARTS        AGE
   kube-system          coredns-565d847f94-ql8jv                        1/1     
Running     1 (62m ago)     5d15h
   kube-system          coredns-565d847f94-scjzq                        1/1     
Running     1 (62m ago)     5d15h
   kube-system          etcd-aio-control-plane                          1/1     
Running     1 (62m ago)     5d15h
   kube-system          kindnet-nngxp                                   1/1     
Running     1 (62m ago)     5d15h
   kube-system          kube-apiserver-aio-control-plane                1/1     
Running     1 (62m ago)     5d15h
   kube-system          kube-controller-manager-aio-control-plane       1/1     
Running     1 (62m ago)     5d15h
   kube-system          kube-proxy-t282l                                1/1     
Running     1 (62m ago)     5d15h
   kube-system          kube-scheduler-aio-control-plane                1/1     
Running     1 (62m ago)     5d15h
   ldh                  ldh-68c9c5996b-xvgbp                            1/1     
Running     1 (62m ago)     5d15h
   linkis               init-db-lvjt4                                   0/1     
Completed   0               6m15s
   linkis               linkis-demo-cg-engineconnmanager-0              1/1     
Running     2 (3m45s ago)   6m15s
   linkis               linkis-demo-cg-entrance-598d9bc688-h5xzt        1/1     
Running     2 (3m52s ago)   6m15s
   linkis               linkis-demo-cg-linkismanager-698796c657-r5mxq   1/1     
Running     1 (4m23s ago)   6m15s
   linkis               linkis-demo-mg-eureka-0                         1/1     
Running     0               6m15s
   linkis               linkis-demo-mg-gateway-5d89c89fbb-49w6k         1/1     
Running     0               6m15s
   linkis               linkis-demo-ps-publicservice-5fdcf58f7d-92jfm   1/1     
Running     0               4m59s
   linkis               linkis-demo-web-6d876f87cc-qpfrz                1/1     
Running     0               6m15s
   local-path-storage   local-path-provisioner-684f458cdd-7c46t         1/1     
Running     2 (61m ago)     5d15h
   mysql                mysql-8c4c8ddd9-zghsx                           1/1     
Running     1 (62m ago)     5d15h
   
   
   
   进入容器
   ./helm/scripts/login-pod.sh cg-engineconnmanager
   bash-4.2$ pwd
   /opt/linkis
   bash-4.2$ sh ./bin/linkis-cli -engineType shell-1 -codeType shell -code 
"echo "hello" "  -submitUser hadoop -proxyUser hadoop
   =====Java Start Command=====
   exec /etc/alternatives/jre/bin/java -server -Xms32m -Xmx2048m 
-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/opt/linkis/logs/linkis-cli 
-XX:ErrorFile=/opt/linkis/logs/linkis-cli/ps_err_pid%p.log 
-XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=80 
-XX:+DisableExplicitGC    -classpath 
/opt/linkis/conf/linkis-cli:/opt/linkis/lib/linkis-computation-governance/linkis-client/linkis-cli/*:/opt/linkis/lib/linkis-commons/public-module/*:
 -Dconf.root=/etc/linkis-conf -Dconf.file=linkis-cli.properties 
-Dlog.path=/opt/linkis/logs/linkis-cli 
-Dlog.file=linkis-client..log.20240905101003504747164  
org.apache.linkis.cli.application.LinkisClientApplication '-engineType shell-1 
-codeType shell -code echo hello  -submitUser hadoop -proxyUser hadoop'
   Error: Could not find or load main class 
org.apache.linkis.cli.application.LinkisClientApplication
   
   
   ### 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/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-unsubscr...@linkis.apache.org.apache.org

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


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

Reply via email to