You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by GitBox <gi...@apache.org> on 2019/10/30 14:20:19 UTC

[GitHub] [metron] MohanDV commented on a change in pull request #1549: METRON-2305: provide required hbase acl to metron user before altering enrichment table and adding coprocessor.

MohanDV commented on a change in pull request #1549: METRON-2305: provide required hbase acl to metron user before altering enrichment table and adding coprocessor.
URL: https://github.com/apache/metron/pull/1549#discussion_r340642524
 
 

 ##########
 File path: metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/package/scripts/enrichment_commands.py
 ##########
 @@ -268,7 +268,7 @@ def set_hbase_acls(self):
                   self.__params.hbase_principal_name,
                   execute_user=self.__params.hbase_user)
 
-        cmd = "echo \"grant '{0}', 'RW', '{1}'\" | hbase shell -n"
+        cmd = "echo \"grant '{0}', 'CRW', '{1}'\" | hbase shell -n"
 
 Review comment:
   @nickwallen In the HBase coprocessor setup -metron user does altering table with enable and disable while adding coprocessor. This requires CREATE(C) permission. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services