You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Chris Koutras (JIRA)" <ji...@apache.org> on 2013/07/21 23:24:48 UTC

[jira] [Created] (FLUME-2133) Avro sink fails with SSL enabled and environment is other than Oracle JVM

Chris Koutras created FLUME-2133:
------------------------------------

             Summary: Avro sink fails with SSL enabled and environment is other than Oracle JVM
                 Key: FLUME-2133
                 URL: https://issues.apache.org/jira/browse/FLUME-2133
             Project: Flume
          Issue Type: Bug
          Components: Sinks+Sources
    Affects Versions: v1.4.0
         Environment: java version "1.6.0"
Java(TM) SE Runtime Environment (build pxa6460sr12ifix-20130425_01(SR12+IV40469))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr12-20121024_126067 (JIT enabled, AOT enabled)
J9VM - 20121024_126067
JIT  - r9_20120914_26057
GC   - 20120928_AA)
JCL  - 20121014_01

            Reporter: Chris Koutras


When using a non-Oracle Java and enabling SSL and setting trust-all-certs to false results in the following error:
2013-07-21 16:19:38,933 (SinkRunner-PollingRunner-DefaultSinkProcessor) [ERROR - org.apache.flume.api.NettyAvroRpcClient$SSLCompressionChannelFactory.newChannel(NettyAvroRpcClient.java:698)] Cannot create SSL channel
java.security.NoSuchAlgorithmException: SunX509 TrustManagerFactory not available

It appears SunX509 is hard coded on line 679 in NettyAvroRpcClient.java. I am no Java programmer but perhaps leaving it null will select the default or what is set in java..security. Or have it consult java.security for the proer algorithm.


--
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