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

   ### 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
   
   配置文件
   
   
   
    执行命令
   
   
   错误信息
   22/10/10 18:03:14 ERROR base.Seatunnel: Fatal Error,
   
   22/10/10 18:03:14 ERROR base.Seatunnel: Please submit bug report in 
https://github.com/apache/incubator-seatunnel/issues
   
   22/10/10 18:03:14 ERROR base.Seatunnel: Reason:0
   
   22/10/10 18:03:14 ERROR base.Seatunnel: Exception 
StackTrace:java.lang.ArrayIndexOutOfBoundsException: 0
   
   
   ### SeaTunnel Version
   
   2.1.3
   
   ### SeaTunnel Config
   
   ```conf
   source {
    jdbc {
     driver = "com.mysql.jdbc.Driver"
     url = 
"jdbc:mysql://192.168.0.2:3306/test?useUnicode=true&characterEncoding=utf8&useSSL=false"
     table = "a"
     result_table_name = "result_table_name"
     user = "root"
     password = "123"
    }
   
   }
   
   transform {
    # split data by specific delimiter
   
    # you can also use other filter plugins, such as sql
    # sql {
    #  sql = "select * from accesslog where request_time > 1000"
    # }
   
    # If you would like to get more information about how to configure 
seatunnel and see full list of filter plugins,
    # please go to 
https://seatunnel.apache.org/docs/spark/configuration/transform-plugins/Sql
   }
   
   sink {
    Hive {
     sql = "insert into table test.hivea select id,name,age,score from 
result_table_name"
    }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   bin/start-seatunnel-spark.sh --master local[4] --deploy-mode client --config 
/tmp/mysql2hive.conf
   ```
   
   
   ### Error Exception
   
   ```log
   22/10/10 18:03:14 ERROR base.Seatunnel: Fatal Error,
   
   22/10/10 18:03:14 ERROR base.Seatunnel: Please submit bug report in 
https://github.com/apache/incubator-seatunnel/issues
   
   22/10/10 18:03:14 ERROR base.Seatunnel: Reason:0
   
   22/10/10 18:03:14 ERROR base.Seatunnel: Exception 
StackTrace:java.lang.ArrayIndexOutOfBoundsException: 0
   ```
   
   
   ### Flink or Spark Version
   
   spark-2.4.8-bin-hadoop2.7
   
   ### Java or Scala Version
   
   jdk 8
    scala-2.12.6
   
   ### Screenshots
   
   22/10/10 18:03:14 ERROR base.Seatunnel: Fatal Error,
   
   22/10/10 18:03:14 ERROR base.Seatunnel: Please submit bug report in 
https://github.com/apache/incubator-seatunnel/issues
   
   22/10/10 18:03:14 ERROR base.Seatunnel: Reason:0
   
   22/10/10 18:03:14 ERROR base.Seatunnel: Exception 
StackTrace:java.lang.ArrayIndexOutOfBoundsException: 0
   
   
   ### 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