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

Should trim the content of keystore password file for JavaKeyStoreProvider

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.6.0
    • Component/s: security
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      In linux, when we edit file using vi/vim, or echo something to a file, LF char will be added at the end when saving file. The keystore is load failed in JavaKeyStoreProvider:

      java.io.IOException: Keystore was tampered with, or password was incorrect

      We should trim the content of keystore password file.

        Attachments

          Activity

            People

            • Assignee:
              hitliuyi Yi Liu
              Reporter:
              zb161 zhubin
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: