[
https://issues.apache.org/jira/browse/IMPALA-9535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joe McDonnell resolved IMPALA-9535.
-----------------------------------
Fix Version/s: Impala 4.0
Resolution: Fixed
This was fixed by a change on the Hive side (and adopted by an update to the
build number).
> Test for conversion from non-ACID to ACID fail on newer Hive
> ------------------------------------------------------------
>
> Key: IMPALA-9535
> URL: https://issues.apache.org/jira/browse/IMPALA-9535
> Project: IMPALA
> Issue Type: Bug
> Components: Frontend
> Affects Versions: Impala 4.0
> Reporter: Joe McDonnell
> Priority: Blocker
> Labels: broken-build
> Fix For: Impala 4.0
>
>
> When using a newer CDP GBN, Hive is enforcing a strict separation between the
> hive.metastore.warehouse.external.dir vs hive.metastore.warehouse.dir. This
> causes failures in tests that convert a table from non-ACID to ACID on the
> USE_CDP_HIVE=true configuration:
> {noformat}
> query_test/test_acid.py:52: in test_acid_basic
> self.run_test_case('QueryTest/acid', vector, use_db=unique_database)
> common/impala_test_suite.py:659: in run_test_case
> result = exec_fn(query, user=test_section.get('USER', '').strip() or None)
> common/impala_test_suite.py:610: in __exec_in_hive
> result = h.execute(query, user=user)
> common/impala_connection.py:334: in execute
> r = self.__fetch_results(handle, profile_format=profile_format)
> common/impala_connection.py:441: in __fetch_results
> cursor._wait_to_finish()
> /data/jenkins/workspace/impala-private-basic-parameterized/repos/Impala/infra/python/env/lib/python2.7/site-packages/impala/hiveserver2.py:412:
> in _wait_to_finish
> raise OperationalError(resp.errorMessage)
> E OperationalError: Error while compiling statement: FAILED: Execution
> Error, return code 1 from org.apache.hadoop.hive.ql.ddl.DDLTask. Unable to
> alter table. A managed table's location needs to be under the hive warehouse
> root
> directory,table:upgraded_table,location:/test-warehouse/test_acid_basic_34c57c48.db/upgraded_table,Hive
> warehouse:/test-warehouse/managed{noformat}
> This impacts the following tests:
> {noformat}
> query_test.test_acid.TestAcid.test_acid_basic
> query_test.test_acid.TestAcid.test_acid_compaction
> query_test.test_acid.TestAcid.test_acid_partitioned{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]