You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Jaehwa Jung (JIRA)" <ji...@apache.org> on 2015/11/10 02:55:11 UTC

[jira] [Resolved] (TAJO-954) "ERROR: No error message" for query on external tables without corresponding HDFS directories

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

Jaehwa Jung resolved TAJO-954.
------------------------------
    Resolution: Cannot Reproduce

> "ERROR: No error message" for query on external tables without corresponding HDFS directories
> ---------------------------------------------------------------------------------------------
>
>                 Key: TAJO-954
>                 URL: https://issues.apache.org/jira/browse/TAJO-954
>             Project: Tajo
>          Issue Type: Bug
>            Reporter: Keuntae Park
>            Priority: Minor
>
> When the table path of an external table 'A' is defined as
> hdfs://cluster/tables/A,
> if the hdfs directory does not exist actually,
> query on the table returns following errors.
> {code}
> default> select * from A;
> ERROR: File hdfs://cluster/tables/A does not exist.
> java.io.FileNotFoundException: File hdfs://cluster/tables/A does not exist.
> 	at org.apache.hadoop.hdfs.DistributedFileSystem.listStatusInternal(DistributedFileSystem.java:654)
> 	at org.apache.hadoop.hdfs.DistributedFileSystem.access$600(DistributedFileSystem.java:102)
> 	at org.apache.hadoop.hdfs.DistributedFileSystem$14.doCall(DistributedFileSystem.java:712)
> 	at org.apache.hadoop.hdfs.DistributedFileSystem$14.doCall(DistributedFileSystem.java:708)
> 	at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
> 	at org.apache.hadoop.hdfs.DistributedFileSystem.listStatus(DistributedFileSystem.java:708)
> 	at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1483)
> 	at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1523)
> 	at org.apache.tajo.jdbc.TajoResultSet.getFragments(TajoResultSet.java:116)
> 	at org.apache.tajo.jdbc.TajoResultSet.initScanner(TajoResultSet.java:94)
> 	at org.apache.tajo.jdbc.TajoResultSet.<init>(TajoResultSet.java:68)
> 	at org.apache.tajo.jdbc.TajoResultSet.<init>(TajoResultSet.java:74)
> 	at org.apache.tajo.client.TajoClient.createResultSet(TajoClient.java:500)
> 	at org.apache.tajo.cli.TajoCli.localQueryCompleted(TajoCli.java:449)
> 	at org.apache.tajo.cli.TajoCli.executeQuery(TajoCli.java:426)
> 	at org.apache.tajo.cli.TajoCli.executeParsedResults(TajoCli.java:343)
> 	at org.apache.tajo.cli.TajoCli.runShell(TajoCli.java:330)
> 	at org.apache.tajo.cli.TajoCli.main(TajoCli.java:565)
> {code}
> However, even with a simple join queries like
> {code}
> select * from A a join B b on a.a1 = b.b1  
> {code}
> it just returns
> {code}
> ERROR: No error message
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)