Module Import alias Import alias Import alias Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryFinally body Assign NameStore Call NameLoad Expr Call AttributeLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str attr NameLoad Expr Call NameLoad Expr Call NameLoad Str Call NameLoad Expr Call NameLoad Str Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad Str SubscriptLoad NameLoad Index Str Expr Call NameLoad NameLoad SubscriptLoad NameLoad Index Str finalbody Expr Call NameLoad Expr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryFinally body Assign NameStore Call NameLoad keyword Str Expr Call AttributeLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str attr NameLoad Expr Call NameLoad Expr Call NameLoad Str Call NameLoad Expr Call NameLoad Str Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad Str SubscriptLoad NameLoad Index Str Expr Call NameLoad NameLoad SubscriptLoad NameLoad Index Str finalbody Expr Call NameLoad Expr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str Str body Return BinOpMod Str Dict Str Str NameLoad NameLoad decorator_list FunctionDef arguments args defaults body ImportFrom alias decorator_list FunctionDef arguments args defaults body ImportFrom alias identifier Assign NameStore Call NameLoad keyword Str keyword NameLoad Expr Call NameLoad Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Assign SubscriptStore Call NameLoad Index NameLoad Str TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass finalbody Assign SubscriptStore Call NameLoad Index NameLoad NameLoad Expr Call NameLoad Dict Call AttributeLoad NameLoad attr Assign SubscriptStore Call NameLoad Index NameLoad Str TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass finalbody Assign SubscriptStore Call NameLoad Index NameLoad NameLoad Expr Call NameLoad Dict Str Str Call AttributeLoad NameLoad attr decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr Call NameLoad keyword Str keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call NameLoad Str Expr Call NameLoad Str Str Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad CompareIn Str NameLoad NameLoad decorator_list decorator_list
N/A N/A json N/A os N/A shutil N/A tempfile nose.tools assert_true assert_equal django.contrib.auth.models User desktop.lib.django_test_util make_logged_in_client desktop.lib.test_utils grant_access add_to_group hbase.api HbaseApi hbase.conf HBASE_CONF_DIR hbase.hbase_site get_server_authentication get_server_principal get_conf reset _CNF_HBASE_IMPERSONATION_ENABLED is_impersonation_enabled hadoop.pseudo_hdfs4 is_live_cluster nose.plugins.skip SkipTest django.core.urlresolvers reverse test_security_plain N/A N/A N/A N/A N/A tmpdir N/A N/A tempfile mkdtemp N/A finish N/A N/A HBASE_CONF_DIR set_for_testing tmpdir N/A N/A N/A xml N/A hbase_site_xml N/A N/A N/A N/A file N/A N/A N/A os path join tmpdir hbase-site.xml w write xml N/A N/A reset N/A N/A assert_equal NOSASL N/A get_server_authentication N/A N/A assert_equal test N/A get_server_principal N/A security N/A N/A HbaseApi _get_security N/A N/A assert_equal test N/A security N/A kerberos_principal_short_name N/A N/A assert_equal False N/A security N/A use_sasl N/A N/A N/A reset N/A N/A finish N/A N/A N/A shutil rmtree tmpdir N/A test_security_kerberos N/A N/A N/A N/A N/A tmpdir N/A N/A tempfile mkdtemp N/A finish N/A N/A HBASE_CONF_DIR set_for_testing tmpdir N/A N/A N/A xml N/A hbase_site_xml authentication kerberos N/A N/A N/A N/A file N/A N/A N/A os path join tmpdir hbase-site.xml w write xml N/A N/A reset N/A N/A assert_equal KERBEROS N/A get_server_authentication N/A N/A assert_equal test N/A get_server_principal N/A security N/A N/A HbaseApi _get_security N/A N/A assert_equal test N/A security N/A kerberos_principal_short_name N/A N/A assert_equal True N/A security N/A use_sasl N/A N/A N/A reset N/A N/A finish N/A N/A N/A shutil rmtree tmpdir N/A hbase_site_xml N/A N/A kerberos_principal authentication N/A test/test.com@TEST.COM NOSASL N/A N/A N/A 
    <configuration>

      <property>
        <name>hbase.thrift.kerberos.principal</name>
        <value>%(kerberos_principal)s</value>
      </property>

      <property>
        <name>hbase.security.authentication</name>
        <value>%(authentication)s</value>
      </property>

    </configuration>
   N/A kerberos_principal authentication kerberos_principal authentication N/A test_impersonation_is_decorator_is_there N/A N/A N/A N/A hbased.Hbase do_as N/A test_impersonation N/A N/A N/A N/A hbased Hbase thrift_hbase N/A c N/A make_logged_in_client username test_hbase is_superuser False N/A N/A grant_access test_hbase test_hbase hbase N/A user N/A N/A N/A User objects get username test_hbase N/A proto N/A MockProtocol N/A client N/A N/A thrift_hbase Client proto N/A impersonation_enabled N/A is_impersonation_enabled N/A N/A N/A get_conf N/A _CNF_HBASE_IMPERSONATION_ENABLED FALSE N/A N/A N/A N/A N/A N/A N/A client getTableNames doas N/A user username N/A N/A N/A AttributeError N/A N/A N/A N/A N/A N/A get_conf N/A _CNF_HBASE_IMPERSONATION_ENABLED impersonation_enabled N/A N/A assert_equal N/A N/A N/A proto get_headers N/A N/A N/A get_conf N/A _CNF_HBASE_IMPERSONATION_ENABLED TRUE N/A N/A N/A N/A N/A N/A N/A client getTableNames doas N/A user username N/A N/A N/A AttributeError N/A N/A N/A N/A N/A N/A get_conf N/A _CNF_HBASE_IMPERSONATION_ENABLED impersonation_enabled N/A N/A assert_equal N/A doAs test_hbase N/A N/A proto get_headers N/A MockHttpClient N/A N/A __init__ N/A N/A self N/A N/A N/A N/A self headers N/A N/A setCustomHeaders N/A N/A self headers N/A N/A N/A N/A self headers headers N/A N/A MockTransport N/A N/A __init__ N/A N/A self N/A N/A N/A N/A self _TBufferedTransport__trans N/A MockHttpClient N/A N/A MockProtocol N/A N/A __init__ N/A N/A self N/A N/A N/A N/A self trans N/A MockTransport N/A getTableNames N/A N/A self N/A N/A N/A N/A get_headers N/A N/A self N/A N/A N/A N/A N/A N/A self trans _TBufferedTransport__trans headers N/A N/A TestIntegrationWithHBase N/A N/A setup_class N/A N/A cls N/A N/A N/A N/A N/A is_live_cluster N/A N/A N/A SkipTest These tests can only run on a live cluster N/A N/A cls client N/A make_logged_in_client username test is_superuser False N/A N/A cls user N/A N/A N/A User objects get username test N/A N/A add_to_group test N/A N/A grant_access test test indexer N/A classmethod test_list_tables N/A N/A self N/A N/A N/A N/A N/A is_live_cluster N/A N/A N/A SkipTest HUE-2910: Skipping because test is not reentrant N/A resp N/A N/A N/A self client post /hbase/api/getTableList/Cluster N/A content N/A N/A json loads N/A resp content N/A N/A assert_true N/A data content content N/A N/A