You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Ashish Paliwal (JIRA)" <ji...@apache.org> on 2013/11/29 11:49:35 UTC
[jira] [Assigned] (FLUME-2133) Avro sink fails with SSL enabled and
environment is other than Oracle JVM
[ https://issues.apache.org/jira/browse/FLUME-2133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashish Paliwal reassigned FLUME-2133:
-------------------------------------
Assignee: Ashish Paliwal
> 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
> Assignee: Ashish Paliwal
>
> 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 was sent by Atlassian JIRA
(v6.1#6144)