Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-1987 Fix existing findbugs warnings
  3. OOZIE-2939

Fix Findbugs warnings related to reliance on default encoding in oozie-sharelib-hive2 module

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0.0b1
    • build
    • None

    Description

      Currently Findbugs complains about the following warnings related to the reliance on the default encoding in the oozie-sharelib-hive2 module:

      [INFO] Found reliance on default encoding in org.apache.oozie.action.hadoop.Hive2Main.readStringFromFile(String): new java.io.FileReader(String) [org.apache.oozie.action.hadoop.Hive2Main] At Hive2Main.java:[line 278]
      [INFO] Found reliance on default encoding in org.apache.oozie.action.hadoop.Hive2Main.runBeeline(String[], String): new java.io.PrintStream(OutputStream) [org.apache.oozie.action.hadoop.Hive2Main] At Hive2Main.java:[line 266]
      

      They should be fixed to get the code more reliable.

      Attachments

        1. OOZIE-2939-1.patch
          3 kB
          Jan Hentschel

        Issue Links

          Activity

            People

              janh Jan Hentschel
              janh Jan Hentschel
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: