• 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

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

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

  • 相关阅读:
    numpy.around
    【计算机视觉40例】案例35:人脸对齐
    【现代机器人学】学习笔记十四:中文版印刷/翻译勘误
    html网页多个div鼠标移动自动排列实例
    逆向-beginners之指针变量
    【大数据采集工具-gobblin】
    【GitLab私有仓库】在Linux上用Gitlab搭建自己的私有库并配置cpolar内网穿透
    低代码自动翻页采集山姆商品数据
    [附源码]SSM计算机毕业设计“拥抱爱心”公益网站管理系统JAVA
    信息录入率百分百上海强化施工现场建筑工人实名制管理
  • 原文地址:https://blog.csdn.net/YiRan_Zhao/article/details/134028829