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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.4.0, 1.3.1
    • Component/s: Channel, Test
    • Environment:

      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. FLUME-1789.patch
          2 kB
          Aline Guedes Pinto
        2. ibm-testkeystore
          0.7 kB
          Aline Guedes Pinto
        3. sun-testkeystore
          0.9 kB
          Aline Guedes Pinto
        4. test.keystore
          0.7 kB
          Aline Guedes Pinto

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: