Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-3464

Use UTF8 charset instead of default one

    XMLWordPrintableJSON

Details

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

    Description

      There are some places in code, when we are reading/writing to files and we do not define any character set, so the default one will be used. Since the default implementation may change between the java versions our output will be platform dependent.

      For example if we have a shell action with a script that will echo something using Chinese text, '????' are be printed in case of jdk1.8.0_141.

      Attachments

        1. OOZIE-3464-001.patch
          278 kB
          xiong duan
        2. OOZIE-3464-002.patch
          283 kB
          xiong duan
        3. OOZIE-3464-003.patch
          283 kB
          xiong duan
        4. OOZIE-3464-004.patch
          290 kB
          xiong duan
        5. OOZIE-3464-005.patch
          283 kB
          xiong duan

        Activity

          People

            nobigo xiong duan
            kmarton Kinga Marton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: