• The main method caused an error


    Submit job for the [1] times,last error occurred at [Wed Oct 25 10:07:27 CST 2023],lastErrorMessage is as follows:

    run instance failed, BLINK error: bayes submit job failed.job name:[t363_mes3_dpp_vehicle_info], brs errorCode:[30013], brs errorMessage:

    code:[30013], brief info:[error occur while run app], context info:[details:
    >>>>>
    shell cmd execute failed

    2023-10-25 10:06:37,048 INFO  org.apache.flink.yarn.cli.FlinkYarnSessionCli                 - No path for the flink jar passed. Using the location of class org.apache.flink.yarn.YarnClusterDescriptor to locate the jar
    2023-10-25 10:06:37,048 INFO  org.apache.flink.yarn.cli.FlinkYarnSessionCli                 - No path for the flink jar passed. Using the location of class org.apache.flink.yarn.YarnClusterDescriptor to locate the jar
    2023-10-25 10:06:37,065 INFO  org.apache.flink.yarn.cli.FlinkYarnSessionCli                 - org.apache.commons.cli.CommandLine@533bda92
    2023-10-25 10:06:37,065 INFO  org.apache.flink.yarn.cli.FlinkYarnSessionCli                 - org.apache.commons.cli.CommandLine@533bda92
    org.apache.commons.cli.CommandLine@533bda92

    ------------------------------------------------------------
     The program finished with the following exception:

    org.apache.flink.client.program.ProgramInvocationException: The main method caused an error.
        at org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:610)
        at org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:469)
        at org.apache.flink.client.program.OptimizerPlanEnvironment.getOptimizedPlan(OptimizerPlanEnvironment.java:94)
        at org.apache.flink.client.program.PackagedProgramUtils.createJobGraph(PackagedProgramUtils.java:81)
        at org.apache.flink.client.program.PackagedProgramUtils.createJobGraph(PackagedProgramUtils.java:134)
        at org.apache.flink.client.cli.CliFrontend.runProgram(CliFrontend.java:253)
        at org.apache.flink.client.cli.CliFrontend.run(CliFrontend.java:217)
        at org.apache.flink.client.cli.CliFrontend.parseParameters(CliFrontend.java:1075)
        at org.apache.flink.client.cli.CliFrontend.lambda$main$9(CliFrontend.java:1151)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:422)
        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1682)
        at org.apache.flink.runtime.security.HadoopSecurityContext.runSecured(HadoopSecurityContext.java:41)
        at org.apache.flink.client.cli.CliFrontend.main(CliFrontend.java:1151)
    Caused by: com.alibaba.blink.launcher.autoconfig.UnexpectedConfigurationException: 
    ************
    ERR_ID:
         CLI-00000001
    CAUSE:
         AutoConf: an error occurred while applying the resource configuration file.
         Node or edge number in stream graph and json file not matched, please generate a new json.
    ACTION:
         The reason may be that the content of the SQL has been modified or the blink version number has been changed.
         Please regenerate the resource configuration file.
    DETAIL:

    ************
        at com.alibaba.blink.launcher.autoconfig.StreamGraphConfigurer.checkValid(StreamGraphConfigurer.java:58)
        at com.alibaba.blink.launcher.autoconfig.StreamGraphConfigurer.configure(StreamGraphConfigurer.java:45)
        at com.alibaba.blink.launcher.JobLauncher.execute(JobLauncher.java:663)
        at com.alibaba.blink.launcher.JobLauncher.runStream(JobLauncher.java:545)
        at com.alibaba.blink.launcher.JobLauncher.main(JobLauncher.java:159)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:593)
        ... 13 more
    <<<<<], cause:shell cmd execute failed

    2023-10-25 10:06:37,048 INFO  org.apache.flink.yarn.cli.FlinkYarnSessionCli                 - No path for the flink jar passed. Using the location of class org.apache.flink.yarn.YarnClusterDescriptor to locate the jar
    2023-10-25 10:06:37,048 INFO  org.apache.flink.yarn.cli.FlinkYarnSessionCli                 - No path for the flink jar passed. Using the location of class org.apache.flink.yarn.YarnClusterDescriptor to locate the jar
    2023-10-25 10:06:37,065 INFO  org.apache.flink.yarn.cli.FlinkYarnSessionCli                 - org.apache.commons.cli.CommandLine@533bda92
    2023-10-25 10:06:37,065 INFO  org.apache.flink.yarn.cli.FlinkYarnSessionCli                 - org.apache.commons.cli.CommandLine@533bda92
    org.apache.commons.cli.CommandLine@533bda92

    ------------------------------------------------------------

    原因为资源配置后代码有变动,需放弃配置,重新生成,或者直接放弃配置,应用系统自动调优的方式
     

  • 相关阅读:
    【脑机接口开源数据处理包】brainflowBrainFlow是一个库,旨在获取,解析和分析脑电图,肌电图,心电图和其他类型的数据从生物传感器。
    6.qml中js的object,array数据更新不通知页面刷新问题解析
    vue 浅解watch cli computed props ref vue slot axios nexttick devtools说明使用
    正则表达式在java里的运用
    【VMware vSphere】使用vSphere Lifecycle Manager(vLCM)管理独立主机和集群的生命周期。
    Network: use `--host` to expose
    浏览器API 文字转语音
    1.用递归求一个正整数的逆序数
    vue3+koa+axios实现前后端通信
    MySQL教程
  • 原文地址:https://blog.csdn.net/YiRan_Zhao/article/details/134028829