Yuming Wang created SPARK-27177:
-----------------------------------

             Summary: Update jenkins locale to en_US.UTF-8
                 Key: SPARK-27177
                 URL: https://issues.apache.org/jira/browse/SPARK-27177
             Project: Spark
          Issue Type: Improvement
          Components: Build, jenkins
    Affects Versions: 3.0.0
            Reporter: Yuming Wang


Two test cases will failed on our jenkins since HADOOP-12045(Hadoop-2.8.0). I'd 
like to update our jenkins locale to en_US.UTF-8 to workaround this issue.
 How to reproduce:
{code}
export LANG=
git clone https://github.com/apache/spark.git && cd spark && git checkout v2.4.0
build/sbt "hive/testOnly *.HiveDDLSuite" -Phive -Phadoop-2.7 
-Dhadoop.version=2.8.0
{code}
Stack trace:
{noformat}
Caused by: sbt.ForkMain$ForkError: java.nio.file.InvalidPathException: 
Malformed input or input contains unmappable characters: 
/home/jenkins/workspace/SparkPullRequestBuilder@2/target/tmp/warehouse-15474fdf-0808-40ab-946d-1309fb05bf26/DaTaBaSe_I.db/tab_ı
        at sun.nio.fs.UnixPath.encode(UnixPath.java:147)
        at sun.nio.fs.UnixPath.<init>(UnixPath.java:71)
        at sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:281)
        at java.io.File.toPath(File.java:2234)
        at 
org.apache.hadoop.fs.RawLocalFileSystem$DeprecatedRawLocalFileStatus.getLastAccessTime(RawLocalFileSystem.java:683)
        at 
org.apache.hadoop.fs.RawLocalFileSystem$DeprecatedRawLocalFileStatus.<init>(RawLocalFileSystem.java:694)
        at 
org.apache.hadoop.fs.RawLocalFileSystem.deprecatedGetFileStatus(RawLocalFileSystem.java:664)
        at 
org.apache.hadoop.fs.RawLocalFileSystem.getFileLinkStatusInternal(RawLocalFileSystem.java:987)
        at 
org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:656)
        at 
org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:454)
        at org.apache.hadoop.hive.metastore.Warehouse.isDir(Warehouse.java:520)
        at 
org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.create_table_core(HiveMetaStore.java:1436)
        at 
org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.create_table_with_environment_context(HiveMetaStore.java:1503)
{noformat}

Workaround:
{code}
export LANG=en_US.UTF-8
build/sbt "hive/testOnly *.HiveDDLSuite" -Phive -Phadoop-2.7 
-Dhadoop.version=2.8.0
{code}

More details: https://issues.apache.org/jira/browse/HADOOP-16180



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to