Tianyi Wang created IMPALA-7167:
-----------------------------------

             Summary: Catalogd should reject files with unsupported formats
                 Key: IMPALA-7167
                 URL: https://issues.apache.org/jira/browse/IMPALA-7167
             Project: IMPALA
          Issue Type: Bug
    Affects Versions: Impala 2.13.0, Impala 3.1.0
            Reporter: Tianyi Wang


Currently when a file format is unsupported, impalad will log an error:
{noformat}
E0611 13:42:47.428393 22076 ImpaladCatalog.java:201] Error adding catalog 
object: Expected compressed text file with {.lzo,.gzip,.snappy,.bz2} suffix: 
000000_0.deflate
Java exception follows:
java.lang.RuntimeException: Expected compressed text file with 
{.lzo,.gzip,.snappy,.bz2} suffix: 000000_0.deflate
        at 
org.apache.impala.catalog.HdfsPartition.<init>(HdfsPartition.java:772)
        at 
org.apache.impala.catalog.HdfsPartition.fromThrift(HdfsPartition.java:884)
        at 
org.apache.impala.catalog.HdfsTable.loadFromThrift(HdfsTable.java:1678)
        at org.apache.impala.catalog.Table.fromThrift(Table.java:311)
        at 
org.apache.impala.catalog.ImpaladCatalog.addTable(ImpaladCatalog.java:403)
        at 
org.apache.impala.catalog.ImpaladCatalog.addCatalogObject(ImpaladCatalog.java:292)
        at 
org.apache.impala.catalog.ImpaladCatalog.updateCatalog(ImpaladCatalog.java:199)
        at 
org.apache.impala.service.Frontend.updateCatalogCache(Frontend.java:228)
        at 
org.apache.impala.service.JniFrontend.updateCatalogCache(JniFrontend.java:174)
{noformat}
Catalogd should filter out unsupported files instead of letting every impalad 
log the error. 



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

Reply via email to