Uploaded image for project: 'PIRK'
  1. PIRK
  2. PIRK-49

PrimitivePartioner does not account for locale settings

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.1.0
    • None
    • None

    Description

      The class org.apache.pirk.schema.data.partitioner.PrimitiveTypePartitioner splits types into parts using logic that is specific to the current locale of the runtime environment.

      In particular, it does not take account of default big endian or little endian byte ordering, and it uses the platform default encoding for converting to and from Strings. This is likely to lead to data corruption when exchanging data across different machine architectures and OS installations.

      Attachments

        Issue Links

          Activity

            People

              t.p.ellison@gmail.com Tim Ellison
              t.p.ellison@gmail.com Tim Ellison
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: