asterixdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From abdullah alamoudi <bamou...@gmail.com>
Subject Re: Load HDFS data to AsterixDB
Date Wed, 16 Nov 2016 05:16:52 GMT
There is also a missing parameter: ("input-format"="text-input-format"). In
HDFS, the file containing the data can have one of many formats, Text,
Sequence, RC, etc. Hence, the adapter needs to know the file input format
so it can access it.

Cheers,
~Abdullah.

On Tue, Nov 15, 2016 at 9:13 PM, abdullah alamoudi <bamousaa@gmail.com>
wrote:

> Where is the attachment?
>
> On Tue, Nov 15, 2016 at 9:11 PM, mingda li <limingda1993@gmail.com> wrote:
>
>> Hi,
>>
>> Has anyone loaded data from HDFS? I met a problem when loading data use
>> following query:
>>
>> use dataverse tpcds3;
>>
>> load dataset inventory
>>
>> using hdfs(("hdfs"="hdfs://SCAI01.CS.UCLA.EDU:9000
>> <http://scai01.cs.ucla.edu:9000/>"),("path"="/cla
>> sh/datasets/tpcds/10/inventory"),("format"="delimited-text")
>> ,("delimiter"="|"));
>>
>>
>> The Error in web interface is:
>>
>> Internal error. Please check instance logs for further details.
>> [NullPointerException]
>>
>>
>> I check the cc.log (cluster controller) and find the following problem:
>>
>> SEVERE: Unable to create adapter
>>
>> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException:
>> Unable to create adapter
>>
>>         at org.apache.asterix.metadata.declared.AqlMetadataProvider.get
>> ConfiguredAdapterFactory(AqlMetadataProvider.java:990)
>>
>>         at org.apache.asterix.metadata.declared.LoadableDataSource.buil
>> dDatasourceScanRuntime(LoadableDataSource.java:141)
>>
>> More about the log is in the attachment.
>>
>>
>> I think there is no problem about the syntax of query. Does anyone have
>> idea about this?
>>
>>
>> Thanks,
>>
>> Mingda
>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message