[ https://issues.apache.org/jira/browse/METRON-1337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16367599#comment-16367599 ]
ASF GitHub Bot commented on METRON-1337: ---------------------------------------- Github user merrimanr commented on a diff in the pull request: https://github.com/apache/metron/pull/853#discussion_r168816212 --- Diff: metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/package/scripts/rest_commands.py --- @@ -179,6 +203,35 @@ def status_rest_application(self, env): self.__params.metron_rest_port, self.__params.metron_user) + def create_hbase_tables(self): + Logger.info("Creating HBase Tables") + metron_service.create_hbase_table(self.__params, + self.__params.user_settings_hbase_table, + self.__params.user_settings_hbase_cf) + Logger.info("Done creating HBase Tables") + self.set_hbase_configured() + + def set_hbase_acls(self): + Logger.info("Setting HBase ACLs") + if self.__params.security_enabled: + kinit(self.__params.kinit_path_local, + self.__params.hbase_keytab_path, + self.__params.hbase_principal_name, + execute_user=self.__params.hbase_user) + + cmd = "echo \"grant '{0}', 'RW', '{1}'\" | hbase shell -n" --- End diff -- Good catch. > List of facets should not be hardcoded > -------------------------------------- > > Key: METRON-1337 > URL: https://issues.apache.org/jira/browse/METRON-1337 > Project: Metron > Issue Type: Bug > Reporter: Ryan Merriman > Assignee: Ryan Merriman > Priority: Major > > Currently the facet fields shown in the left panel of the Alerts UI is hard > coded in a javascript file. This should be configurable. -- This message was sent by Atlassian JIRA (v7.6.3#76005)