[
https://issues.apache.org/jira/browse/FLUME-1789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aline Guedes Pinto updated FLUME-1789:
--------------------------------------
Attachment: test.keystore
Attached test.keystore file generated with IBM keytool with the commands below:
keytool -genseckey -alias key-0 -keypass keyPassword -keyalg AES -keysize 128
-validity 9000 -keystore test.keystore -storetype jceks -storepass
keyStorePassword
keytool -genseckey -alias key-1 -keyalg AES -keysize 128 -validity 9000
-keystore test.keystore -storetype jceks -storepass keyStorePassword
> Unit tests TestJCEFileKeyProvider and TestFileChannelEncryption fail with IBM
> JDK and flume-1.3.0
> -------------------------------------------------------------------------------------------------
>
> Key: FLUME-1789
> URL: https://issues.apache.org/jira/browse/FLUME-1789
> Project: Flume
> Issue Type: Bug
> Components: Channel, Test
> Affects Versions: v1.3.0
> Environment: IBM Java 6 SR 12
> RHEL 6.3
> Reporter: Aline Guedes Pinto
> Priority: Minor
> Labels: test, test-materials,
> Fix For: v1.3.0
>
> Attachments: test.keystore
>
>
> 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).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira