xuchangqun opened a new issue #1537:
URL: https://github.com/apache/incubator-seatunnel/issues/1537


   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   I'd like to know how to set yarn configs ,for example 
   
     Options for yarn-cluster mode:
        -d,--detached                        If present, runs the job in 
detached
                                             mode
        -m,--jobmanager <arg>                Set to yarn-cluster to use YARN
                                             execution mode.
        -yat,--yarnapplicationType <arg>     Set a custom application type for 
the
                                             application on YARN
        -yD <property=value>                 use value for given property
        -yd,--yarndetached                   If present, runs the job in 
detached
   ...
   
   ### SeaTunnel Version
   
   seatunnel 2.1.0
   
   
   ### SeaTunnel Config
   
   ```conf
   demo:
   
   env {
     execution.parallelism = 1
   }
   
   source {
     FakeSourceStream {
       result_table_name = "fake"
       field_name = "name,age"
     }
   }
   
   transform {
     Split{
       separator = "#"
       fields = ["name","age"]
     }
     sql {
       sql = "select name,age from fake"
     }
   }
   
   sink {
     ConsoleSink {}
   }
   ```
   
   
   ### Running Command
   
   ```shell
   ../bin/start-seatunnel-flink.sh \
        -ynm seatunnel-flink-demo1 \
        -m yarn-cluster \
        --config flink-stream-demo.conf
   ```
   
   
   ### Error Exception
   
   ```log
   null
   ```
   
   
   ### Flink or Spark Version
   
   flink 1.12.2 
   on yarn
   
   ### Java or Scala Version
   
   1.8
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] 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