java.lang.IllegalArgumentException: org.apache.flume.sink.elasticsearch.ElasticSearchLogStashEventSerializer is not an ElasticSearchEventSerializer

GitHub | elvisgiv | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 6#248254263

    GitHub | 5 months ago | elvisgiv
    java.lang.IllegalArgumentException: org.apache.flume.sink.elasticsearch.ElasticSearchLogStashEventSerializer is not an ElasticSearchEventSerializer
  2. 0

    Could not instantiate event serializer

    GitHub | 9 months ago | vikasreddy89
    java.lang.IllegalArgumentException: org.apache.flume.sink.elasticsearch.ElasticSearchDynamicSerializer is not an ElasticSearchEventSerializer

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      org.apache.flume.sink.elasticsearch.ElasticSearchLogStashEventSerializer is not an ElasticSearchEventSerializer

      at com.frontier45.flume.sink.elasticsearch2.ElasticSearchSink.configure()
    2. com.frontier45.flume
      ElasticSearchSink.configure
      1. com.frontier45.flume.sink.elasticsearch2.ElasticSearchSink.configure(ElasticSearchSink.java:280)
      1 frame
    3. Flume
      Configurables.configure
      1. org.apache.flume.conf.Configurables.configure(Configurables.java:41)
      1 frame
    4. org.apache.flume
      PollingPropertiesFileConfigurationProvider$FileWatcherRunnable.run
      1. org.apache.flume.node.AbstractConfigurationProvider.loadSinks(AbstractConfigurationProvider.java:413)
      2. org.apache.flume.node.AbstractConfigurationProvider.getConfiguration(AbstractConfigurationProvider.java:98)
      3. org.apache.flume.node.PollingPropertiesFileConfigurationProvider$FileWatcherRunnable.run(PollingPropertiesFileConfigurationProvider.java:140)
      3 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
      5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      7. java.lang.Thread.run(Thread.java:745)
      7 frames