Flume
  1. Flume
  2. FLUME-1789

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: v1.3.0
    • Fix Version/s: v1.4.0, v1.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).

      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

        Hari Shreedharan made changes -
        Fix Version/s v1.3.1 [ 12323879 ]
        Brock Noland made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s v1.4.0 [ 12323372 ]
        Fix Version/s v1.3.0 [ 12322140 ]
        Resolution Fixed [ 1 ]
        Aline Guedes Pinto made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Assignee Aline Guedes Pinto [ alinegds ]
        Aline Guedes Pinto made changes -
        Attachment FLUME-1789.patch [ 12561692 ]
        Attachment ibm-testkeystore [ 12561693 ]
        Attachment sun-testkeystore [ 12561694 ]
        Aline Guedes Pinto made changes -
        Field Original Value New Value
        Attachment test.keystore [ 12561392 ]
        Aline Guedes Pinto created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development