You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Quanlong Huang (Jira)" <ji...@apache.org> on 2023/06/22 09:07:00 UTC

[jira] [Commented] (IMPALA-11901) COPY TESTCASE is broken in LocalCatalog mode

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

Quanlong Huang commented on IMPALA-11901:
-----------------------------------------

Added the stacktrace:
{code:java}
I0622 17:04:53.558522 24388 jni-util.cc:288] cb46571c194a78ba:f0012e4d00000000] java.lang.ClassCastException: org.apache.impala.catalog.local.LocalFsTable cannot be cast to org.apache.impala.catalog.Table
        at org.apache.impala.analysis.CopyTestCaseStmt.getTestCaseData(CopyTestCaseStmt.java:176)
        at org.apache.impala.analysis.CopyTestCaseStmt.writeTestCaseData(CopyTestCaseStmt.java:192)
        at org.apache.impala.service.Frontend.doCreateExecRequest(Frontend.java:2403)
        at org.apache.impala.service.Frontend.getTExecRequest(Frontend.java:2062)
        at org.apache.impala.service.Frontend.createExecRequest(Frontend.java:1838)
        at org.apache.impala.service.JniFrontend.createExecRequest(JniFrontend.java:164) {code}

> COPY TESTCASE is broken in LocalCatalog mode
> --------------------------------------------
>
>                 Key: IMPALA-11901
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11901
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Catalog, Frontend
>            Reporter: Quanlong Huang
>            Assignee: Quanlong Huang
>            Priority: Critical
>
> COPY TESTCASE FROM/TO statements are added in IMPALA-5872. They are useful in collecting metadata in a remote cluster and replicating them in another debug cluster. However, they are not supported in LocalCatalog mode yet.
> {code:java}
> copy testcase to "/tmp" select count(*) from functional.alltypes;
> ERROR: ClassCastException: org.apache.impala.catalog.local.LocalFsTable cannot be cast to org.apache.impala.catalog.Table{code}



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

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