LuciferYang opened a new pull request #30487:
URL: https://github.com/apache/spark/pull/30487


   ### What changes were proposed in this pull request?
   It seems that Jenkins tests tasks in many pr have test failed. The failed 
cases include:
   
   -  
org.apache.spark.sql.hive.thriftserver.SparkThriftServerProtocolVersionsSuite.HIVE_CLI_SERVICE_PROTOCOL_V1
 get binary type
   - 
org.apache.spark.sql.hive.thriftserver.SparkThriftServerProtocolVersionsSuite.HIVE_CLI_SERVICE_PROTOCOL_V2
 get binary type
   - 
org.apache.spark.sql.hive.thriftserver.SparkThriftServerProtocolVersionsSuite.HIVE_CLI_SERVICE_PROTOCOL_V3
 get binary type
   - 
org.apache.spark.sql.hive.thriftserver.SparkThriftServerProtocolVersionsSuite.HIVE_CLI_SERVICE_PROTOCOL_V4
 get binary type
   - 
org.apache.spark.sql.hive.thriftserver.SparkThriftServerProtocolVersionsSuite.HIVE_CLI_SERVICE_PROTOCOL_V5
 get binary type
   
   The error message as follows:
   
   ```
   Error Messageorg.scalatest.exceptions.TestFailedException: "[?](" did not 
equal "[�]("Stacktracesbt.ForkMain$ForkError: 
org.scalatest.exceptions.TestFailedException: "[?](" did not equal "[�]("
        at 
org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:472)
        at 
org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:471)
        at 
org.scalatest.Assertions$.newAssertionFailedException(Assertions.scala:1231)
        at 
org.scalatest.Assertions$AssertionsHelper.macroAssert(Assertions.scala:1295)
        at 
org.apache.spark.sql.hive.thriftserver.SparkThriftServerProtocolVersionsSuite.$anonfun$new$26(SparkThriftServerProtocolVersionsSuite.scala:302)
   ```
   
   But they can pass the GitHub Action, maybe it's related to the `LANG` of the 
Jenkins build machine, this pr add `export LANG="en_US.UTF-8"` in 
`run-test-jenkins` script.
   
   ### Why are the changes needed?
   Ensure LANG in Jenkins test process is `en_US.UTF-8` to pass 
`HIVE_CLI_SERVICE_PROTOCOL_VX` related tests
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   Jenkins tests pass
   


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

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



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to