David Knupp created IMPALA-8556:
-----------------------------------

             Summary: test_large_num_partitions failing on deployed clusters 
because scale_db was not created
                 Key: IMPALA-8556
                 URL: https://issues.apache.org/jira/browse/IMPALA-8556
             Project: IMPALA
          Issue Type: Bug
          Components: Infrastructure
    Affects Versions: Impala 3.3.0
            Reporter: David Knupp


It's not immediately clear why scale_db is not being created during data load.

catalog_service/test_large_num_partitions.py:41: in test_list_partitions

*Stacktrace*
{noformat}
catalog_service/test_large_num_partitions.py:41: in test_list_partitions
    result = self.client.execute("show table stats %s" % full_tbl_name)
common/impala_connection.py:180: in execute
    return self.__beeswax_client.execute(sql_stmt, user=user)
beeswax/impala_beeswax.py:187: in execute
    handle = self.__execute_query(query_string.strip(), user=user)
beeswax/impala_beeswax.py:362: in __execute_query
    handle = self.execute_query_async(query_string, user=user)
beeswax/impala_beeswax.py:356: in execute_query_async
    handle = self.__do_rpc(lambda: self.imp_service.query(query,))
beeswax/impala_beeswax.py:516: in __do_rpc
    raise ImpalaBeeswaxException(self.__build_error_message(b), b)
E   ImpalaBeeswaxException: ImpalaBeeswaxException:
E    INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'>
E    MESSAGE: AnalysisException: Database does not exist: scale_db
{noformat}

catalog_service/test_large_num_partitions.py:62: in 
test_predicates_on_partition_attributes

*Stacktrace*
{noformat}
catalog_service/test_large_num_partitions.py:62: in 
test_predicates_on_partition_attributes
    result = self.client.execute("select * from %s where j = 1" % full_tbl_name)
common/impala_connection.py:180: in execute
    return self.__beeswax_client.execute(sql_stmt, user=user)
beeswax/impala_beeswax.py:187: in execute
    handle = self.__execute_query(query_string.strip(), user=user)
beeswax/impala_beeswax.py:362: in __execute_query
    handle = self.execute_query_async(query_string, user=user)
beeswax/impala_beeswax.py:356: in execute_query_async
    handle = self.__do_rpc(lambda: self.imp_service.query(query,))
beeswax/impala_beeswax.py:516: in __do_rpc
    raise ImpalaBeeswaxException(self.__build_error_message(b), b)
E   ImpalaBeeswaxException: ImpalaBeeswaxException:
E    INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'>
E    MESSAGE: AnalysisException: Could not resolve table reference: 
'scale_db.num_partitions_1234_blocks_per_partition_1'
{noformat}




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to