Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-1789

Unit tests TestJCEFileKeyProvider and TestFileChannelEncryption fail with IBM JDK and flume-1.3.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.3.0
    • 1.4.0, 1.3.1
    • Channel, Test
    • IBM Java 6 SR 12
      RHEL 6.3

    Description

      The unit tests TestJCEFileKeyProvider and TestFileChannelEncryption fail
      when running with IBM Java 6. Only the test cases that use an existing
      keystore file fail. It seems like the problem is that IBM keytool can't read
      the file test.keystore provided with flume (which was probably generated
      with SUN's keytool). Replacing the file test.keystore (at
      flume-ng-channels/flume-file-channel/src/test/resources) with one generated
      by IBM keytool fixes the issue (and it also works with SUN Java 6).

      Attachments

        1. test.keystore
          0.7 kB
          Aline Guedes Pinto
        2. FLUME-1789.patch
          2 kB
          Aline Guedes Pinto
        3. ibm-testkeystore
          0.7 kB
          Aline Guedes Pinto
        4. sun-testkeystore
          0.9 kB
          Aline Guedes Pinto

        Activity

          People

            alinegds Aline Guedes Pinto
            alinegds Aline Guedes Pinto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: