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

   ### 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
   
   Hive sink connector will throw "Client cannot authenticate via:[TOKEN, 
KERBEROS]" when writing to ORC formatted hive table
   
   ### SeaTunnel Version
   
   2.3.4
   
   ### SeaTunnel Config
   
   ```conf
   {
       "transform" : [
                {
               "field_mapper" : {
                   "id" : "id",
                   "name" : "name",
                   "age" : "age",
                   "grade" : "grade",
                   "score" : "score"
               },
               "source_table_name" : "source",
               "result_table_name" : "transform1",
               "plugin_name" : "FieldMapper"
           }
        ],
       "sink" : [
           {
               "hive_site_path" : 
"/apache-seatunnel-2.3.4/config/hive-site.xml",
               "hdfs_site_path" : 
"/apache-seatunnel-2.3.4/config/hdfs-site.xml",
               "metastore_uri" : "thrift://xxx",
               "source_table_name" : "transform1",
               "plugin_name" : "Hive",
               "table_name" : "sjzt.student_zr_orc",
            "krb5_path" : "/etc/krb5.conf",
            "kerberos_principal" : "[email protected]",
            "kerberos_keytab_path" : "/etc/xxx.keytab"
           }
       ],
       "source" : [
           {
               "driver" : "com.mysql.cj.jdbc.Driver",
               "url" : "jdbc:mysql://xxx/sjzt?useSSL=false",
            "user" : "xxx",
            "password" : "xxx",
            "query" : "select id,name,age,grade,score from sjzt.student",
               "plugin_name" : "Jdbc",
            "result_table_name" : "source"
           }
       ],
       "env" : {
           "job.mode" : "BATCH",
           "execution.parallelism" : 1
       }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   ./bin/seatunnel.sh --config ./jobFile/mysql_hive_orc.json
   ```
   
   
   ### Error Exception
   
   ```log
   java.io.IOException: org.apache.hadoop.security.AccessControlException: 
Client cannot authenticate via:[TOKEN, KERBEROS]
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   
![img_v3_029o_d327b978-21c2-4e8c-a715-f4f20a7eb9eg](https://github.com/apache/seatunnel/assets/31330869/0a90223c-e2f5-42d2-b2d9-182c5b97d2a3)
   
   
   ### Are you willing to submit PR?
   
   - [ ] 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