impala-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Tauber-Marshall (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (IMPALA-5453) TestCreateTableLikeFile fails on 'enum.parquet'
Date Mon, 12 Jun 2017 18:42:00 GMT

     [ https://issues.apache.org/jira/browse/IMPALA-5453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Tauber-Marshall resolved IMPALA-5453.
--------------------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 2.10.0

commit 6dd50f6d0c6750c9e8e91a9b71c95f464b603f5d
Author: Thomas Tauber-Marshall <tmarshall@cloudera.com>
Date:   Fri Jun 9 11:44:43 2017 -0700

    IMPALA-5453: test_create_table_like_file fails on enum.parquet
    
    A recent addition to test_create_table_like_file (IMPALA-2525)
    relies on a file, enum.parquet, being preloaded into HDFS, which
    is done by create-load-data.sh.
    
    The problem is that the test creates the table as an internal
    table with its location as the directory containing enum.parquet.
    
    When the test completes and the table is dropped, enum.parquet
    is deleted, so the test cannot be successfully run again, and a
    snapshot generated from the contents of HDFS afterwards will
    not contain the file.
    
    The fix is to create the table as an external table.
    
    Testing:
    - Ran the test and verfied enum.parquet is still present in HDFS.
    
    Change-Id: I6c386843e5ef5bf6fc208db1ff90be98fd8baacf
    Reviewed-on: http://gerrit.cloudera.org:8080/7139
    Reviewed-by: Tim Armstrong <tarmstrong@cloudera.com>
    Reviewed-by: Alex Behm <alex.behm@cloudera.com>
    Tested-by: Impala Public Jenkins

> TestCreateTableLikeFile fails on 'enum.parquet'
> -----------------------------------------------
>
>                 Key: IMPALA-5453
>                 URL: https://issues.apache.org/jira/browse/IMPALA-5453
>             Project: IMPALA
>          Issue Type: Bug
>    Affects Versions: Impala 2.10.0
>            Reporter: Thomas Tauber-Marshall
>            Assignee: Thomas Tauber-Marshall
>            Priority: Blocker
>              Labels: broken-build
>             Fix For: Impala 2.10.0
>
>
> Seen in a Jenkins build. I can also repro locally.
> {noformat}
> Tests run: 45, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.476 sec <<<
FAILURE! - in org.apache.impala.analysis.AnalyzeDDLTest
> TestCreateTableLikeFile(org.apache.impala.analysis.AnalyzeDDLTest)  Time elapsed: 0.035
sec  <<< FAILURE!
> java.lang.AssertionError: Error:
> org.apache.impala.common.AnalysisException: Cannot infer schema, path is not a file:
hdfs://localhost:20500/test-warehouse/schemas/enum/enum.parquet
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.apache.impala.common.FrontendTestBase.AnalyzesOk(FrontendTestBase.java:294)
> 	at org.apache.impala.common.FrontendTestBase.AnalyzesOk(FrontendTestBase.java:252)
> 	at org.apache.impala.analysis.AnalyzeDDLTest.TestCreateTableLikeFile(AnalyzeDDLTest.java:1409)
> {noformat}
> Appears to be related to IMPALA-2525, which just went in.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message