Github user pvillard31 commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/2518#discussion_r172973696
  
    --- Diff: 
nifi-nar-bundles/nifi-hbase-bundle/nifi-hbase-processors/src/main/java/org/apache/nifi/hbase/PutHBaseRecord.java
 ---
    @@ -194,6 +220,12 @@ public void onTrigger(final ProcessContext context, 
final ProcessSession session
             final String fieldEncodingStrategy = 
context.getProperty(FIELD_ENCODING_STRATEGY).getValue();
             final String complexFieldStrategy = 
context.getProperty(COMPLEX_FIELD_STRATEGY).getValue();
             final String rowEncodingStrategy = 
context.getProperty(ROW_ID_ENCODING_STRATEGY).getValue();
    +        final String recordPathText = 
context.getProperty(VISIBILITY_RECORD_PATH).getValue();
    +
    +        RecordPath recordPath = null;
    +        if (recordPathCache != null && recordPathText != null && 
!recordPathText.equals("")) {
    --- End diff --
    
    ````java
    if (recordPathCache != null && !StringUtils.isEmpty(recordPathText)) {
    ````


---

Reply via email to