flume kafkasource, hdfs sink remove avro field
I want to create a table with the complex type removed from the avro data in the same schema. This is because Impala does not skipping complex types. Platform is CDH 6.0.1
For Example :
Employee(raw data)
- name : string
- age : int
- additional-info : map<string, string>
Employee(Hive table 1)
- name : string
- age : int
- additional-info : map<string, string>
Employee_For_Implala(Hive table 2)
- name : string
- age : int
Pipeline :
KafkaProducer(Avro Bytes) - Kafka - Flume - HDFS - Hive(Impala)
Flume : KafkaSource - Channel - Sink(AvroEventSerializer$Builder)
I tried changing the sink(serializer.schemaURL, remove Complex type field) but it failed.
I am trying to use morphine now. But this is also failing.
Is there a better way?

