فهرست منبع

HUE-8813: [hbase] HBase examples are not installed on secure cluster

Mykhailo Kysliuk 6 سال پیش
والد
کامیت
69c9d926f7
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      apps/hbase/src/hbase/management/commands/hbase_setup.py

+ 2 - 0
apps/hbase/src/hbase/management/commands/hbase_setup.py

@@ -42,6 +42,8 @@ class Command(BaseCommand):
   def handle(self, *args, **options):
     if args:
       user = args[0]
+    elif options and options['user']:
+      user = options['user']
     else:
       user = install_sample_user()