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

Avro sink fails with SSL enabled and environment is other than Oracle JVM

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.4.0
    • None
    • Sinks+Sources
    • None

    Description

      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.

      Attachments

        Activity

          People

            paliwalashish Ashish Paliwal
            chri5k Chris Koutras
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: