[ 
https://issues.apache.org/jira/browse/NIFI-4637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16390192#comment-16390192
 ] 

ASF GitHub Bot commented on NIFI-4637:
--------------------------------------

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

    https://github.com/apache/nifi/pull/2518#discussion_r172977733
  
    --- Diff: 
nifi-nar-bundles/nifi-hbase-bundle/nifi-hbase-processors/src/main/java/org/apache/nifi/hbase/DeleteHBaseRow.java
 ---
    @@ -103,6 +103,17 @@
                 .defaultValue("UTF-8")
                 .addValidator(StandardValidators.CHARACTER_SET_VALIDATOR)
                 .build();
    +    static final PropertyDescriptor VISIBLITY_LABEL = new 
PropertyDescriptor.Builder()
    +            .name("delete-visibility-label")
    +            .displayName("Visibility Label")
    +            .description("If visibility labels are enabled, a row cannot 
be deleted without supplying its visibility label(s) in the delete " +
    +                    "request. Note: this visibility label will be applied 
to all cells within the row that is specified. If some cells have " +
    +                    "different visibility labels, they will not be 
deleted. When that happens, the failure to delete will be considered a success 
" +
    +                    "because HBase does not report it as a failure.")
    +            .required(false)
    --- End diff --
    
    Since this is not required and always valid, a user could force the 
property to be set with an empty string. Is that OK? It means visibility would 
be equal to "". Does that make sense in some cases? Wouldn't be better to add a 
non-empty string validator?


> Add support for HBase visibility labels to HBase processors and controller 
> services
> -----------------------------------------------------------------------------------
>
>                 Key: NIFI-4637
>                 URL: https://issues.apache.org/jira/browse/NIFI-4637
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Mike Thomsen
>            Assignee: Mike Thomsen
>            Priority: Major
>
> HBase supports visibility labels, but you can't use them from NiFi because 
> there is no way to set them. The existing processors and services should be 
> upgraded to handle this capability.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to