def test_hbase_user(): ''' 测试hbase init user ''' hbase_instance = InitTestData('192.168.122.103') hi = HbaseInit('192.168.122.103') hi.init_user() tmp_record = hbase_instance.insert_test_user() mp = ModelParser() result = mp.parse('followers', tmp_record) print result import ipdb;ipdb.set_trace() print 'done!'
def test_hbase_user(): ''' 测试hbase init user ''' hbase_instance = InitTestData('192.168.122.101') #hbase_instance.test_select_with_prefix() #hi = HbaseInit('192.168.122.101') #hi.test_select_with_prefix() #hi.init_followers() hbase_instance.insert_test_followers() #print 'done' #tmp_record = hbase_instance.insert_test_followers() '''