Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
trunk
-
None
Description
atlas_hbase_setup.rb scripts is executed only in secure or ranger enabled cluster. It is not executed on unsecure/simple cluster, Is this intentional?
we need to create the hbase table required for atlas in unsecure cluster as well.
if check_stack_feature(StackFeature.ATLAS_HBASE_SETUP, effective_version): if params.security_enabled and params.has_hbase_master: Execute(secure_atlas_hbase_setup_command, tries = 5, try_sleep = 10, user=params.hbase_user ) elif params.enable_ranger_hbase and not params.security_enabled: Execute(atlas_hbase_setup_command, tries = 5, try_sleep = 10, user=params.hbase_user )
The above condition should be
if check_stack_feature(StackFeature.ATLAS_HBASE_SETUP, effective_version): if params.security_enabled and params.has_hbase_master: Execute(secure_atlas_hbase_setup_command, tries = 5, try_sleep = 10, user=params.hbase_user ) elif params.enable_ranger_hbase or not params.security_enabled: Execute(atlas_hbase_setup_command, tries = 5, try_sleep = 10, user=params.hbase_user )