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

    https://github.com/apache/nifi/pull/2518#discussion_r172973274
  
    --- Diff: 
nifi-nar-bundles/nifi-hbase-bundle/nifi-hbase-processors/src/main/java/org/apache/nifi/hbase/PutHBaseJSON.java
 ---
    @@ -255,7 +253,16 @@ public void process(final InputStream in) throws 
IOException {
                         final byte[] colFamBytes = 
columnFamily.getBytes(StandardCharsets.UTF_8);
                         final byte[] colQualBytes = 
fieldName.getBytes(StandardCharsets.UTF_8);
                         final byte[] colValBytes = fieldValueHolder.get();
    -                    columns.add(new PutColumn(colFamBytes, colQualBytes, 
colValBytes, timestamp));
    +
    +                    final String visibilityStringToUse = 
pickVisibilityString(visibilityString, columnFamily, fieldName, flowFile);
    +                    PutColumn column;
    +                    if (visibilityStringToUse != null && 
!visibilityStringToUse.equals("")) {
    --- End diff --
    
    Same here


---

Reply via email to