You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Abdullah Alamoudi (JIRA)" <ji...@apache.org> on 2018/03/08 04:29:01 UTC

[jira] [Closed] (ASTERIXDB-1360) Bad error message when the localfs format field is invalid

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

Abdullah Alamoudi closed ASTERIXDB-1360.
----------------------------------------

> 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
>            Priority: Major
>
> 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
(v7.6.3#76005)