Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-4169

[Core] Locale dependent code

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.1.1, 1.2.0
    • Component/s: Spark Core
    • Labels:
    • Environment:

      Debian, Locale: de_DE

      Description

      With a non english locale the method isBindCollision in

      core/src/main/scala/org/apache/spark/util/Utils.scala

      doesn't work because it checks the exception message, which is locale dependent.

      The test suite
      core/src/test/scala/org/apache/spark/util/UtilsSuite.scala
      also contains a locale dependent test "string formatting of time durations" which uses a DecimalSeperator which is locale dependent.

      I created a pull request on github to solve this issue.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                numbnut Niklas Wilcke
                Reporter:
                numbnut Niklas Wilcke
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0.25h
                  0.25h
                  Remaining:
                  Remaining Estimate - 0.25h
                  0.25h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified