You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "yujian225 (via GitHub)" <gi...@apache.org> on 2023/06/12 02:05:36 UTC

[GitHub] [seatunnel] yujian225 opened a new issue, #4912: [Bug] [Module Name] Bug title

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

   ### 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
   
   st2.3.1中的sink.label-prefix = "label",里面的label必须每次手动指定,所以需要用st的传参。但是根据文档中的方式传参有问题,不能实现。
   
   ### SeaTunnel Version
   
   seatunnel2.3.1
   
   ### SeaTunnel Config
   
   ```conf
   env {
     job.mode = "BATCH"
     execution.parallelism = 1
   }
   
   source {
     Jdbc {
       url = "jdbc:mysql:// :3306/demo?serverTimezone=GMT%2b8"
       driver = "com.mysql.cj.jdbc.Driver"
       connection_check_timeout_sec = 100
       user = "root"
       password = " @"
       query = "SELECT id,p_name,create_time FROM user_cdc"
     }
   }
   transform { }
   sink {
      Doris {
           fenodes = " :8030"
           username = root
           password = "@"
           table.identifier = "doris_demo.user_cdc"
           sink.enable-2pc = "true"
           sink.label-prefix = "a_${label}"
           doris.config = {
               format="json"
               read_json_by_line="true"
           }
     }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   ./bin/seatunnel.sh --config test -e local -i label=test3
   ```
   
   
   ### Error Exception
   
   ```log
   Caused by: org.apache.seatunnel.connectors.doris.exception.DorisConnectorException: ErrorCode:[Doris-01], ErrorDescription:[stream load error] - stream load error: [ANALYSIS_ERROR]errCode = 2, detailMessage = Label format error. regex: ^[-_A-Za-z0-9]{1,128}$, label: a_${label}_0_1, see more in null
   	at org.apache.seatunnel.connectors.doris.sink.writer.DorisSinkWriter.prepareCommit(DorisSinkWriter.java:140)
   	at org.apache.seatunnel.engine.server.task.flow.SinkFlowLifeCycle.received(SinkFlowLifeCycle.java:158)
   	... 15 more
   
   	at org.apache.seatunnel.engine.client.job.ClientJobProxy.waitForJobComplete(ClientJobProxy.java:119)
   	at org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:174)
   	... 2 more
   2023-06-12 09:59:57,210 INFO  org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand - run shutdown hook because get close signal
   ```
   
   
   ### Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   ![image](https://github.com/apache/seatunnel/assets/88439948/757161b6-ebe7-4200-9c89-cdd58069e08f)
   
   
   ### 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: commits-unsubscribe@seatunnel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [seatunnel] yujian225 commented on issue #4912: [Bug] [Module Name] Bug title

Posted by "yujian225 (via GitHub)" <gi...@apache.org>.
yujian225 commented on issue #4912:
URL: https://github.com/apache/seatunnel/issues/4912#issuecomment-1588293225

   > 试过了,也是不行的


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [seatunnel] github-actions[bot] commented on issue #4912: [Bug] [Module Name] Bug title

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4912:
URL: https://github.com/apache/seatunnel/issues/4912#issuecomment-1646355252

   This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [seatunnel] github-actions[bot] closed issue #4912: [Bug] [Module Name] Bug title

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #4912: [Bug] [Module Name] Bug title
URL: https://github.com/apache/seatunnel/issues/4912


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [seatunnel] github-actions[bot] commented on issue #4912: [Bug] [Module Name] Bug title

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4912:
URL: https://github.com/apache/seatunnel/issues/4912#issuecomment-1635088149

   This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [seatunnel] exxiang commented on issue #4912: [Bug] [Module Name] Bug title

Posted by "exxiang (via GitHub)" <gi...@apache.org>.
exxiang commented on issue #4912:
URL: https://github.com/apache/seatunnel/issues/4912#issuecomment-1586598860

   You can give it a try,  sink.label-prefix = "a_"${label}""


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org