[ https://issues.apache.org/jira/browse/NIFI-4578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16248877#comment-16248877 ]
ASF GitHub Bot commented on NIFI-4578: -------------------------------------- Github user MikeThomsen commented on a diff in the pull request: https://github.com/apache/nifi/pull/2256#discussion_r150412256 --- Diff: nifi-nar-bundles/nifi-hbase-bundle/nifi-hbase-processors/src/main/java/org/apache/nifi/hbase/PutHBaseRecord.java --- @@ -127,6 +127,18 @@ .defaultValue("1000") .build(); + protected static final AllowableValue NULL_FIELD_EMPTY = new AllowableValue("empty-string", "Empty String", "Use an empty string"); --- End diff -- My original intent was to make it easier on people writing Spark or MR jobs against HBase so they could assume in this case that the cell is there but has something akin to a null value. However, the points you made here do stand and should be added. > PutHBaseRecord fails on null record field values > ------------------------------------------------ > > Key: NIFI-4578 > URL: https://issues.apache.org/jira/browse/NIFI-4578 > Project: Apache NiFi > Issue Type: Bug > Reporter: Mike Thomsen > Assignee: Mike Thomsen > > A NullPointerException is thrown when a nullable field has a null value. A > strategy for handling this needs to be added. -- This message was sent by Atlassian JIRA (v6.4.14#64029)