tao1225 opened a new issue, #4894:
URL: https://github.com/apache/seatunnel/issues/4894

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   when use bin/start-seatunnel-flink-13-connector-v2.sh to submit seatunnel 
job, yarn report error:
   Reason:ErrorCode:[COMMON-01], ErrorDescription:[File operation failed, such 
as (read,list,write,move,copy,sync) etc...] - Can't find config file: 
/opt/apache-seatunnel-incubating-2.3.1/config/v2.streaming.conf.template 
   
   ### SeaTunnel Version
   
   2.3.1
   
   ### SeaTunnel Config
   
   ```conf
   env {
     # You can set flink configuration here
     execution.parallelism = 2
     job.mode = "STREAMING"
     checkpoint.interval = 2000
     #execution.checkpoint.interval = 10000
     #execution.checkpoint.data-uri = "hdfs://localhost:9000/checkpoint"
   }
   source {
     # This is a example source plugin **only for test and demonstrate the 
feature source plugin**
     FakeSource {
       parallelism = 2
       result_table_name = "fake"
       row.num = 16
       schema = {
         fields {
           name = "string"
           age = "int"
         }
       }
     }
     # If you would like to get more information about how to configure 
Seatunnel and see full list of source plugins,
     # please go to https://seatunnel.apache.org/docs/category/source-v2
   }
   sink {
     Console {
     }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   ./bin/start-seatunnel-flink-13-connector-v2.sh --master yarn-application -e 
run-application --config config/v2.streaming.conf.template
   ```
   
   
   ### Error Exception
   
   ```log
   local log:
   The program finished with the following exception:
   org.apache.flink.client.deployment.ClusterDeploymentException: Couldn't 
deploy Yarn Application Cluster
           at 
org.apache.flink.yarn.YarnClusterDescriptor.deployApplicationCluster(YarnClusterDescriptor.java:465)
           at 
org.apache.flink.client.deployment.application.cli.ApplicationClusterDeployer.run(ApplicationClusterDeployer.java:67)
           at 
org.apache.flink.client.cli.CliFrontend.runApplication(CliFrontend.java:213)
           at 
org.apache.flink.client.cli.CliFrontend.parseAndRun(CliFrontend.java:1057)
           at 
org.apache.flink.client.cli.CliFrontend.lambda$main$10(CliFrontend.java:1132)
           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:1628)
           at 
org.apache.flink.runtime.security.contexts.HadoopSecurityContext.runSecured(HadoopSecurityContext.java:41)
           at 
org.apache.flink.client.cli.CliFrontend.main(CliFrontend.java:1132)
   
   Exit code: 2
   Stack trace: ExitCodeException exitCode=2: 
           at org.apache.hadoop.util.Shell.runCommand(Shell.java:561)
           at org.apache.hadoop.util.Shell.run(Shell.java:478)
           at 
org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:738)
           at 
org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:213)
           at 
org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:302)
           at 
org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:82)
           at java.util.concurrent.FutureTask.run(FutureTask.java:266)
           at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
           at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
           at java.lang.Thread.run(Thread.java:748)
   
   
   yarn log:
   Reason:ErrorCode:[COMMON-01], ErrorDescription:[File operation failed, such 
as (read,list,write,move,copy,sync) etc...] - Can't find config file: 
/opt/apache-seatunnel-incubating-2.3.1/config/v2.streaming.conf.template
   ```
   
   
   ### Flink or Spark Version
   
   flink 1.13.2
   
   ### Java or Scala Version
   
   java1.8.0_151
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to