You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "David Hamilton (JIRA)" <ji...@apache.org> on 2017/05/15 01:37:04 UTC
[jira] [Updated] (KUDU-2009) Update of Flume Kudu Sink
documentation (Impala table names and sink class names)
[ https://issues.apache.org/jira/browse/KUDU-2009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Hamilton updated KUDU-2009:
---------------------------------
Description:
Nice documentation exists for using the Flume Kudu Sink at:
https://kudu.apache.org/2016/08/31/intro-flume-kudu-sink.html
Two updates could be made, however, regarding the steps for creating a Flume configuration file (to improve clarity for Impala users and also update sink / producer class names to match their names in 1.4.0-SNAPSHOT):
1) Include a note that the Kudu table name, if created by Impala may take the form of impala::<impala_db_name>.<impala_table_name> - i.e.
Change from: `agent1.sinks.sink1.tableName = stats`
Change to: `agent1.sinks.sink1.tableName = impala::default.stats`
2) Update the class names of the sink type and sink producer:
Change from: `agent1.sinks.sink1.type = org.apache.flume.sink.kudu.KuduSink`
Change to: `agent1.sinks.sink1.type=org.apache.kudu.flume.sink.KuduSink`
Change from: `agent1.sinks.sink1.producer = org.apache.kudu.flume.sink.SimpleKuduEventProducer`
Change to: `agent1.sinks.sink1.producer=org.apache.kudu.flume.sink.SimpleKuduOperationsProducer`
was:
Nice documentation exists for using the Flume Kudu Sink at:
https://kudu.apache.org/2016/08/31/intro-flume-kudu-sink.html
Two updates could be made, however, regarding the steps for creating a Flume configuration file (to improve clarity for Impala users and also update sink / producer class names to match their names in 1.4.0-SNAPSHOT):
1) Include a note that the Kudu table name, if created by Impala may take the form of impala::<impala_db_name>.<impala_table_name> - i.e.
Change from: agent1.sinks.sink1.tableName = stats
Change to: agent1.sinks.sink1.tableName = impala::default.stats
2) Update the class names of the sink type and sink producer:
Change from: agent1.sinks.sink1.type = org.apache.flume.sink.kudu.KuduSink
Change to: agent1.sinks.sink1.type=org.apache.kudu.flume.sink.KuduSink
Change from: agent1.sinks.sink1.producer = org.apache.kudu.flume.sink.SimpleKuduEventProducer
Change to: agent1.sinks.sink1.producer=org.apache.kudu.flume.sink.SimpleKuduOperationsProducer
> Update of Flume Kudu Sink documentation (Impala table names and sink class names)
> ---------------------------------------------------------------------------------
>
> Key: KUDU-2009
> URL: https://issues.apache.org/jira/browse/KUDU-2009
> Project: Kudu
> Issue Type: Improvement
> Components: documentation
> Affects Versions: 1.4.0
> Reporter: David Hamilton
> Priority: Minor
>
> Nice documentation exists for using the Flume Kudu Sink at:
> https://kudu.apache.org/2016/08/31/intro-flume-kudu-sink.html
> Two updates could be made, however, regarding the steps for creating a Flume configuration file (to improve clarity for Impala users and also update sink / producer class names to match their names in 1.4.0-SNAPSHOT):
> 1) Include a note that the Kudu table name, if created by Impala may take the form of impala::<impala_db_name>.<impala_table_name> - i.e.
> Change from: `agent1.sinks.sink1.tableName = stats`
> Change to: `agent1.sinks.sink1.tableName = impala::default.stats`
> 2) Update the class names of the sink type and sink producer:
> Change from: `agent1.sinks.sink1.type = org.apache.flume.sink.kudu.KuduSink`
> Change to: `agent1.sinks.sink1.type=org.apache.kudu.flume.sink.KuduSink`
> Change from: `agent1.sinks.sink1.producer = org.apache.kudu.flume.sink.SimpleKuduEventProducer`
> Change to: `agent1.sinks.sink1.producer=org.apache.kudu.flume.sink.SimpleKuduOperationsProducer`
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)