Hisoka-X opened a new pull request, #2141:
URL: https://github.com/apache/incubator-seatunnel/pull/2141

   <!--
   
   Thank you for contributing to SeaTunnel! Please make sure that your code 
changes
   are covered with tests. And in case of new features or big changes
   remember to adjust the documentation.
   
   Feel free to ping committers for the review!
   
   ## Contribution Checklist
   
     - Make sure that the pull request corresponds to a [GITHUB 
issue](https://github.com/apache/incubator-seatunnel/issues).
   
     - Name the pull request in the form "[Feature] [component] Title of the 
pull request", where *Feature* can be replaced by `Hotfix`, `Bug`, etc.
   
     - Minor fixes should be named following this pattern: `[hotfix] [docs] Fix 
typo in README.md doc`.
   
   -->
   
   ## Purpose of this pull request
   When use cluster mode, but starter app root dir also should same as client 
mode. If not, will 
   ```log
   ➜  target git:(dev-plugin-root-dir) ✗ 
./apache-seatunnel-incubating-2.1.3-SNAPSHOT/bin/start-seatunnel-spark.sh 
--config 
./apache-seatunnel-incubating-2.1.3-SNAPSHOT/config/spark.batch.conf.template 
-e cluster -m local
   log4j:WARN No appenders could be found for logger 
(org.apache.seatunnel.core.base.utils.CompressionUtils).
   log4j:WARN Please initialize the log4j system properly.
   log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for 
more info.
   Exception in thread "main" java.nio.file.NoSuchFileException: plugins
           at 
sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
           at 
sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
           at 
sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
           at 
sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
           at 
sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:144)
           at java.nio.file.Files.readAttributes(Files.java:1737)
           at 
java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:219)
           at java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:276)
           at java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:322)
           at java.nio.file.Files.walkFileTree(Files.java:2662)
           at java.nio.file.Files.walkFileTree(Files.java:2742)
           at 
org.apache.seatunnel.core.base.utils.CompressionUtils.tarGzip(CompressionUtils.java:66)
           at 
org.apache.seatunnel.core.spark.SparkStarter$ClusterModeSparkStarter.buildCommands(SparkStarter.java:411)
           at 
org.apache.seatunnel.core.spark.SparkStarter.main(SparkStarter.java:107)
   
   ```
   <!-- Describe the purpose of this pull request. For example: This pull 
request adds checkstyle plugin.-->
   
   ## Check list
   
   * [ ] Code changed are covered with tests, or it does not need tests for 
reason:
   * [ ] If any new Jar binary package adding in your PR, please add License 
Notice according
     [New License 
Guide](https://github.com/apache/incubator-seatunnel/blob/dev/docs/en/contribution/new-license.md)
   * [ ] If necessary, please update the documentation to describe the new 
feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs
   


-- 
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