asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Till Westmann (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ASTERIXDB-1360) Bad error message when the localfs format field is invalid
Date Mon, 16 May 2016 22:39:12 GMT

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

Till Westmann commented on ASTERIXDB-1360:
------------------------------------------

[~amoudi]: Is this fixed now?

> Bad error message when the localfs format field is invalid
> ----------------------------------------------------------
>
>                 Key: ASTERIXDB-1360
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1360
>             Project: Apache AsterixDB
>          Issue Type: Bug
>            Reporter: Steven Jacobs
>            Assignee: Abdullah Alamoudi
>
> When doing a load from localfs, if the "format" value isn't valid, the error message
to the user will be that the localfs reader is unknown. This is really confusing for the user.
I'm attaching a sample query and stack trace (note the "add" format ) 
> load dataset EmergencyReports using localfs(("path"="asterix_nc1:///Users/stevenjacobs/Desktop/EmergencyDataset/EmergencyReports.adm"),("format"="add"));
> d by: org.apache.asterix.common.exceptions.AsterixException: unknown record reader factory:
localfs
> 	at org.apache.asterix.external.provider.DatasourceFactoryProvider.getRecordReaderFactory(DatasourceFactoryProvider.java:146)
> 	at org.apache.asterix.external.provider.DatasourceFactoryProvider.getExternalDataSourceFactory(DatasourceFactoryProvider.java:48)
> 	at org.apache.asterix.external.adapter.factory.GenericAdapterFactory.configure(GenericAdapterFactory.java:122)
> 	at org.apache.asterix.external.provider.AdapterFactoryProvider.getAdapterFactory(AdapterFactoryProvider.java:46)
> 	at org.apache.asterix.metadata.declared.AqlMetadataProvider.getConfiguredAdapterFactory(AqlMetadataProvider.java:563)



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

Mime
View raw message