You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Serkan Taş (JIRA)" <ji...@apache.org> on 2017/03/30 08:31:43 UTC

[jira] [Created] (SPARK-20156) Local dependent library used for upper and lowercase conversions.

Serkan Taş created SPARK-20156:
----------------------------------

             Summary: Local dependent library used for upper and lowercase conversions.
                 Key: SPARK-20156
                 URL: https://issues.apache.org/jira/browse/SPARK-20156
             Project: Spark
          Issue Type: Bug
          Components: Spark Shell
    Affects Versions: 2.1.0
         Environment: Ubunutu 16.04
Using Scala version 2.11.8 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_121)
            Reporter: Serkan Taş


If the regional setting of the operation system is Turkish, the famous java locale problem occurs (https://jira.atlassian.com/browse/CONF-5931). 
e.g : 

"SERDEINFO" lowers to "serdeınfo"
"uniquetable" uppers to "UNİQUETABLE"

work around : 
add -Duser.country=US -Duser.language=en to the end of the line 
SPARK_SUBMIT_OPTS="$SPARK_SUBMIT_OPTS -Dscala.usejavacp=true"

in sparh-shell.sh




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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