asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Jacobs (JIRA)" <>
Subject [jira] [Created] (ASTERIXDB-1360) Bad error message when the localfs format field is invalid
Date Mon, 21 Mar 2016 19:02:25 GMT
Steven Jacobs created ASTERIXDB-1360:

             Summary: Bad error message when the localfs format field is invalid
                 Key: ASTERIXDB-1360
             Project: Apache AsterixDB
          Issue Type: Bug
            Reporter: Steven Jacobs

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:
	at org.apache.asterix.external.provider.DatasourceFactoryProvider.getRecordReaderFactory(
	at org.apache.asterix.external.provider.DatasourceFactoryProvider.getExternalDataSourceFactory(
	at org.apache.asterix.external.adapter.factory.GenericAdapterFactory.configure(
	at org.apache.asterix.external.provider.AdapterFactoryProvider.getAdapterFactory(
	at org.apache.asterix.metadata.declared.AqlMetadataProvider.getConfiguredAdapterFactory(

This message was sent by Atlassian JIRA

View raw message