[ 
https://issues.apache.org/jira/browse/IMPALA-11736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17646844#comment-17646844
 ] 

ASF subversion and git services commented on IMPALA-11736:
----------------------------------------------------------

Commit 9951dc166aadc77a96cc8c1fda140dad5e452234 in impala's branch 
refs/heads/master from stiga-huang
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=9951dc166 ]

IMPALA-11794: Fix flakiness of TestLoadDataExternal.test_load by using 
dedicated table name

IMPALA-11736 adds TestLoadDataExternal that uses the same table name
used by an existing test (TestLoadData). These two tests both will clean
up the test tables at the beginning and at the end. If they run
concurrently, one of them will fail. Note that e2e tests are ran in
parallel by default.

This patch fixes TestLoadDataExternal to use a dedicated table name.

Tests:
 - Verified locally

Change-Id: I2ee29c93fb1dcf14c6adb9f320fde70baa72cadd
Reviewed-on: http://gerrit.cloudera.org:8080/19350
Reviewed-by: Michael Smith <michael.sm...@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>


> LOAD DATA statement with Ozone data can not load data from different bucket
> ---------------------------------------------------------------------------
>
>                 Key: IMPALA-11736
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11736
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Frontend
>    Affects Versions: Impala 4.2.0
>            Reporter: Michael Smith
>            Assignee: Michael Smith
>            Priority: Major
>              Labels: ozone
>             Fix For: Impala 4.3.0
>
>
> Attempt to load data from one bucket into a table stored in another bucket 
> and you get an error:
> {code}
> $ ozone sh bucket create impala/tmp
> $ ozone sh bucket create impala/foo
> $ ozone fs -cp /impala/test-warehouse/tpch.nation/nation.tbl /impala/tmp
> $ impala-shell
> > create table nation like tpch.nation location 
> > 'ofs://localhost:9862/impala/foo/nation';
> Query: create table nation like tpch.nation location 
> 'ofs://localhost:9862/impala/foo/nation'
> +-------------------------+
> | summary                 |
> +-------------------------+
> | Table has been created. |
> +-------------------------+
> Fetched 1 row(s) in 0.14s
> > load data inpath 'ofs://localhost:9862/impala/tmp/nation.tbl' into table 
> > nation;
> Query: load data inpath 'ofs://localhost:9862/impala/tmp/nation.tbl' into 
> table nation
> ERROR: IOException: Cannot rename a key to a different bucket
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to