matesoul opened a new issue, #3638:
URL: https://github.com/apache/incubator-seatunnel/issues/3638

   ### 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
   
   hdfsfile sink Cannot output files to the specified directory,The temporary 
directory `/tmp/seatunnel/seatunnel/`  has files。
   If I make `transform` is empty, it works。
   
   
   ### SeaTunnel Version
   
   2.3.1-beta
   
   ### SeaTunnel Config
   
   ```conf
   env {
        parallelism.default = 1
        execution.checkpointing.interval = 2000
        state.checkpoints.dir = 
"hdfs://bigdata-3:8020/seatunnel-task/checkpoint"
        execution.checkpointing.timeout = 1000
   }
   
   source {
        Jdbc {
                driver = "com.mysql.cj.jdbc.Driver"
                url = "jdbc:mysql://192.168.30.48:3306/datahh_test"
                user = "root"
                password = "Root@123"
                query = "select 
id,code,name,description,dimension,grain,type,del_flag,create_by,create_time,update_by,update_time
 from bd_dq_rule"
                result_table_name = "bd_dq_rule"
   
        }
   }
   transform {
   }
   sink {
        HdfsFile {
                fs.defaultFS = "hdfs://bigdata-3:8020"
                path = "/tmp/test/warehouse/test6"
                file_name_expression = "${transactionId}_dev"
                file_format = "text"
                filename_time_format = "yyyy.MM.dd"
                field_delimiter = "\\001"
                row_delimiter = "\n"
                partition_by = ["grain"]
                is_partition_field_write_in_file = "false"
                sink_columns = 
["id","code","name","description","dimension","grain","type","del_flag","create_by","create_time","update_by","update_time"]
                is_enable_transaction = "true"
        }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   /opt/seatunnel-2.3.0/bin/start-seatunnel-flink-connector-v2.sh --target 
yarn-per-job --detached -Dparallelism.default=1 --config 
/opt/seatunnel-config/dev-mysql-hdfs_1670070802195.conf 
-Djobmanager.memory.process.size=1024mb 
-Dtaskmanager.memory.process.size=1024mb -Dyarn.application.name=dev-mysql-hdfs 
-Dexecution.runtime-mode=BATCH
   ```
   
   
   ### Error Exception
   
   ```log
   no error
   ```
   
   
   ### Flink or Spark Version
   
   1.13.6
   
   ### Java or Scala Version
   
   scala 1.11
   java 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