Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11095

How about Null check when closing inputstream object in JavaKeyStoreProvider#() ?

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • 2.5.1
    • None
    • None

    Description

      In the finally block:
      InputStream is = pwdFile.openStream();
      try

      { password = IOUtils.toCharArray(is); }

      finally

      { is.close(); }

      How about Null check when closing inputstream object?

      Attachments

        1. HADOOP-11095_001.patch
          0.7 kB
          skrho

        Activity

          People

            Unassigned Unassigned
            rsk13th skrho
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: