PutClouderaHiveStreaming 2.3.0.4.10.0.0-147

Bundle
com.cloudera | nifi-cdf-hive-nar
Description
This component uses the Hive client version 3.1.3000.7.3.1.400-76. This processor uses Hive Streaming to send flow file records to an Apache Hive 3.0+ table. If 'Static Partition Values' is not set, then the partition values are expected to be the 'last' fields of each record, so if the table is partitioned on column A for example, then the last field in each record should be field A. If 'Static Partition Values' is set, those values will be used as the partition values, and any record fields corresponding to partition columns will be ignored.
Tags
database, hive, put, store, streaming
Input Requirement
Supports Sensitive Dynamic Properties
false
Properties
Relationships
Name Description
retry The incoming FlowFile is routed to this relationship if its records cannot be transmitted to Hive. Note that some records may have been processed successfully, they will be routed (as Avro flow files) to the success relationship. The combination of the retry, success, and failure relationships indicate how many records succeeded and/or failed. This can be used to provide a retry capability since full rollback is not possible.
success A FlowFile containing Avro records routed to this relationship after the record has been successfully transmitted to Hive.
failure A FlowFile containing Avro records routed to this relationship if the record could not be transmitted to Hive.
Writes Attributes
Name Description
hivestreaming.record.count This attribute is written on the flow files routed to the 'success' and 'failure' relationships, and contains the number of records from the incoming flow file. All records in a flow file are committed as a single transaction.
query.output.tables This attribute is written on the flow files routed to the 'success' and 'failure' relationships, and contains the target table name in 'databaseName.tableName' format.