asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Subhasis (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ASTERIXDB-1667) Error during ingestion from JSON data file
Date Fri, 30 Sep 2016 20:18:20 GMT
Subhasis created ASTERIXDB-1667:
-----------------------------------

             Summary: Error during ingestion from JSON data file 
                 Key: ASTERIXDB-1667
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1667
             Project: Apache AsterixDB
          Issue Type: Bug
          Components: Adapters, AsterixDB
         Environment: MAC and Eclipse 
            Reporter: Subhasis


I have found the following error while I was trying to load some JSON data : 

insert into dataset news  ( for $x in feed-collect ('newsPaper','newsFeed','newsFeed','INTAKE','news','newsType')
return $x);
Exception in thread "pool-2-thread-1" java.lang.NoClassDefFoundError: Could not initialize
class org.apache.asterix.translator.util.FunctionCollection
	at org.apache.asterix.translator.LangExpressionToPlanTranslator.<init>(LangExpressionToPlanTranslator.java:182)
	at org.apache.asterix.translator.AqlExpressionToPlanTranslator.<init>(AqlExpressionToPlanTranslator.java:69)
	at org.apache.asterix.translator.AqlExpressionToPlanTranslatorFactory.createExpressionToPlanTranslator(AqlExpressionToPlanTranslatorFactory.java:31)
	at org.apache.asterix.api.common.APIFramework.compileQuery(APIFramework.java:220)
	at org.apache.asterix.app.translator.QueryTranslator.rewriteCompileQuery(QueryTranslator.java:1958)
	at org.apache.asterix.app.translator.QueryTranslator.handleSubscribeFeedStatement(QueryTranslator.java:2408)
	at org.apache.asterix.app.translator.QueryTranslator.compileAndExecute(QueryTranslator.java:367)
	at org.apache.asterix.app.translator.QueryTranslator.compileAndExecute(QueryTranslator.java:268)
	at org.apache.asterix.app.external.FeedWorkCollection$SubscribeFeedWork$SubscribeFeedWorkRunnable.run(FeedWorkCollection.java:95)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)




I am attaching my data and the aql scripts 





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

Mime
View raw message