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

[Core] Locale dependent code

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete CommentsDelete
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.1.1, 1.2.0
    • Spark Core
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            numbnut Niklas Wilcke Assign to me
            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

              Slack

                Issue deployment