Github user pvillard31 commented on a diff in the pull request:
https://github.com/apache/nifi/pull/2070#discussion_r132390001
--- Diff:
nifi-nar-bundles/nifi-hbase-bundle/nifi-hbase-processors/src/main/java/org/apache/nifi/hbase/PutHBaseRecord.java
---
@@ -317,18 +333,34 @@ protected PutFlowFile createPut(ProcessContext
context, Record record, RecordSch
final byte[] fam = clientService.toBytes(columnFamily);
+ final Long timestamp;
+ if (!StringUtils.isBlank(timestampFieldName)) {
+ try {
+ timestamp = record.getAsLong(timestampFieldName);
--- End diff --
Could the record be null here? (I assume it could since we're checking the
record is not null few lines below)
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---