asterixdb-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashok Raman <ashoknra...@gmail.com>
Subject Issues with data ingestion as per the documentation
Date Wed, 16 Sep 2015 15:25:24 GMT
Hi,

I was trying out the data ingestion as per the documentation on the
0.8.7-Snapshot release - I get this error on -

http://10.10.2.58:19002/query?query=use%20dataverse%20feeds;for%20$l%20in%20dataset(
"Tweets")%20return%20$l;
"

{"summary":"org.apache.hyracks.api.exceptions.HyracksDataException:
org.apache.hyracks.api.exceptions.HyracksDataException:
org.apache.hyracks.api.exceptions.HyracksDataException:
org.apache.hyracks.algebricks.common.exceptions.AlgebricksException:
org.apache.asterix.common.exceptions.AsterixException:
org.apache.asterix.common.exceptions.AsterixException:
java.lang.IllegalStateException: java.lang.IllegalArgumentException\n
caused by:
org.apache.hyracks.client.dataset.HyracksDatasetReader.nextPartition(HyracksDatasetReader.java:120)\n
caused by:
org.apache.hyracks.control.common.utils.ExceptionUtils.setNodeIds(ExceptionUtils.java:41)\n
caused by:
org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.nextFrame(IndexSearchOperatorNodePushable.java:185)\n
caused by:
org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:69)\n
caused by:
org.apache.asterix.dataflow.data.nontagged.printers.json.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:64)\n
caused by:
org.apache.asterix.om.pointables.printer.json.APrintVisitor.visit(APrintVisitor.java:91)\n
caused by:
org.apache.asterix.om.pointables.printer.json.APrintVisitor.visit(APrintVisitor.java:91)\n
caused by:
org.apache.asterix.om.pointables.printer.json.APrintVisitor.visit(APrintVisitor.java:207)\n
caused by:
org.apache.hyracks.data.std.primitive.UTF8StringPointable.charAt(UTF8StringPointable.java:86)","error-code":[4,"Internal
error. Please check instance logs for further details.
[IllegalArgumentException]"],"stacktrace":"org.apache.hyracks.api.exceptions.HyracksDataException:
org.apache.hyracks.api.exceptions.HyracksDataException:
org.apache.hyracks.api.exceptions.HyracksDataException:
org.apache.hyracks.api.exceptions.HyracksDataException:
org.apache.hyracks.algebricks.common.exceptions.AlgebricksException:
org.apache.asterix.common.exceptions.AsterixException:
org.apache.asterix.common.exceptions.AsterixException:
java.lang.IllegalStateException: java.lang.IllegalArgumentException\n\tat
org.apache.hyracks.client.dataset.HyracksDatasetReader.nextPartition(HyracksDatasetReader.java:120)\n\tat
org.apache.hyracks.client.dataset.HyracksDatasetReader.read(HyracksDatasetReader.java:131)\n\tat
org.apache.asterix.result.ResultReader.read(ResultReader.java:55)\n\tat
org.apache.asterix.result.ResultUtils.displayResults(ResultUtils.java:96)\n\tat
org.apache.asterix.aql.translator.AqlTranslator.handleQuery(AqlTranslator.java:2504)\n\tat
org.apache.asterix.aql.translator.AqlTranslator.compileAndExecute(AqlTranslator.java:378)\n\tat
org.apache.asterix.api.http.servlet.RESTAPIServlet.handleRequest(RESTAPIServlet.java:156)\n\tat
org.apache.asterix.api.http.servlet.QueryAPIServlet.handleRequest(QueryAPIServlet.java:25)\n\tat
org.apache.asterix.api.http.servlet.RESTAPIServlet.doGet(RESTAPIServlet.java:129)\n\tat
org.apache.asterix.api.http.servlet.QueryAPIServlet.doGet(QueryAPIServlet.java:25)\n\tat
javax.servlet.http.HttpServlet.service(HttpServlet.java:734)\n\tat
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)\n\tat
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:546)\n\tat
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:483)\n\tat
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)\n\tat
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:970)\n\tat
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:411)\n\tat
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192)\n\tat
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:904)\n\tat
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)\n\tat
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)\n\tat
org.eclipse.jetty.server.Server.handle(Server.java:347)\n\tat
org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:439)\n\tat
org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:907)\n\tat
org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:562)\n\tat
org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214)\n\tat
org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:43)\n\tat
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:545)\n\tat
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:43)\n\tat
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)\n\tat
java.lang.Thread.run(Thread.java:745)\nCaused by:
org.apache.hyracks.api.exceptions.HyracksDataException:
org.apache.hyracks.api.exceptions.HyracksDataException:
org.apache.hyracks.api.exceptions.HyracksDataException:
org.apache.hyracks.algebricks.common.exceptions.AlgebricksException:
org.apache.asterix.common.exceptions.AsterixException:
org.apache.asterix.common.exceptions.AsterixException:
java.lang.IllegalStateException: java.lang.IllegalArgumentException\n\tat
org.apache.hyracks.control.common.utils.ExceptionUtils.setNodeIds(ExceptionUtils.java:41)\n\tat
org.apache.hyracks.control.nc.Task.run(Task.java:308)\n\tat
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\n\tat
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\n\t...
1 more\nCaused by: org.apache.hyracks.api.exceptions.HyracksDataException:
org.apache.hyracks.api.exceptions.HyracksDataException:
org.apache.hyracks.algebricks.common.exceptions.AlgebricksException:
org.apache.asterix.common.exceptions.AsterixException:
org.apache.asterix.common.exceptions.AsterixException:
java.lang.IllegalStateException: java.lang.IllegalArgumentException\n\tat
org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.nextFrame(IndexSearchOperatorNodePushable.java:185)\n\tat
org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.flush(AbstractFrameAppender.java:79)\n\tat
org.apache.hyracks.algebricks.runtime.operators.std.EmptyTupleSourceRuntimeFactory$1.open(EmptyTupleSourceRuntimeFactory.java:51)\n\tat
org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$1.initialize(AlgebricksMetaOperatorDescriptor.java:104)\n\tat
org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.initialize(SuperActivityOperatorNodePushable.java:81)\n\tat
org.apache.hyracks.control.nc.Task.run(Task.java:251)\n\t... 3 more\nCaused
by: org.apache.hyracks.api.exceptions.HyracksDataException:
org.apache.hyracks.algebricks.common.exceptions.AlgebricksException:
org.apache.asterix.common.exceptions.AsterixException:
org.apache.asterix.common.exceptions.AsterixException:
java.lang.IllegalStateException: java.lang.IllegalArgumentException\n\tat
org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:69)\n\tat
org.apache.hyracks.dataflow.std.result.ResultWriterOperatorDescriptor$1.nextFrame(ResultWriterOperatorDescriptor.java:97)\n\tat
org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.flush(AbstractFrameAppender.java:79)\n\tat
org.apache.hyracks.dataflow.common.comm.util.FrameUtils.appendProjectionToWriter(FrameUtils.java:231)\n\tat
org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.appendProjectionToFrame(AbstractOneInputOneOutputOneFramePushRuntime.java:88)\n\tat
org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.appendProjectionToFrame(AbstractOneInputOneOutputOneFramePushRuntime.java:83)\n\tat
org.apache.hyracks.algebricks.runtime.operators.std.StreamProjectRuntimeFactory$1.nextFrame(StreamProjectRuntimeFactory.java:70)\n\tat
org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$2.nextFrame(AlgebricksMetaOperatorDescriptor.java:136)\n\tat
org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.flush(AbstractFrameAppender.java:79)\n\tat
org.apache.hyracks.dataflow.common.comm.util.FrameUtils.appendToWriter(FrameUtils.java:158)\n\tat
org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.writeSearchResults(IndexSearchOperatorNodePushable.java:163)\n\tat
org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.nextFrame(IndexSearchOperatorNodePushable.java:182)\n\t...
8 more\nCaused by:
org.apache.hyracks.algebricks.common.exceptions.AlgebricksException:
org.apache.asterix.common.exceptions.AsterixException:
org.apache.asterix.common.exceptions.AsterixException:
java.lang.IllegalStateException: java.lang.IllegalArgumentException\n\tat
org.apache.asterix.dataflow.data.nontagged.printers.json.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:64)\n\tat
org.apache.hyracks.algebricks.runtime.writers.PrinterBasedWriterFactory$1.printTuple(PrinterBasedWriterFactory.java:62)\n\tat
org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:65)\n\t...
19 more\nCaused by: org.apache.asterix.common.exceptions.AsterixException:
org.apache.asterix.common.exceptions.AsterixException:
java.lang.IllegalStateException: java.lang.IllegalArgumentException\n\tat
org.apache.asterix.om.pointables.printer.json.APrintVisitor.visit(APrintVisitor.java:91)\n\tat
org.apache.asterix.om.pointables.printer.json.APrintVisitor.visit(APrintVisitor.java:61)\n\tat
org.apache.asterix.om.pointables.ARecordVisitablePointable.accept(ARecordVisitablePointable.java:282)\n\tat
org.apache.asterix.dataflow.data.nontagged.printers.json.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:62)\n\t...
21 more\nCaused by: org.apache.asterix.common.exceptions.AsterixException:
java.lang.IllegalStateException: java.lang.IllegalArgumentException\n\tat
org.apache.asterix.om.pointables.printer.json.APrintVisitor.visit(APrintVisitor.java:91)\n\tat
org.apache.asterix.om.pointables.printer.json.APrintVisitor.visit(APrintVisitor.java:61)\n\tat
org.apache.asterix.om.pointables.ARecordVisitablePointable.accept(ARecordVisitablePointable.java:282)\n\tat
org.apache.asterix.om.pointables.printer.json.ARecordPrinter.printField(ARecordPrinter.java:86)\n\tat
org.apache.asterix.om.pointables.printer.json.ARecordPrinter.printRecord(ARecordPrinter.java:60)\n\tat
org.apache.asterix.om.pointables.printer.json.APrintVisitor.visit(APrintVisitor.java:89)\n\t...
24 more\nCaused by: java.lang.IllegalStateException:
java.lang.IllegalArgumentException\n\tat
org.apache.asterix.om.pointables.printer.json.APrintVisitor.visit(APrintVisitor.java:207)\n\tat
org.apache.asterix.om.pointables.printer.json.APrintVisitor.visit(APrintVisitor.java:61)\n\tat
org.apache.asterix.om.pointables.AFlatValuePointable.accept(AFlatValuePointable.java:79)\n\tat
org.apache.asterix.om.pointables.printer.json.ARecordPrinter.printField(ARecordPrinter.java:86)\n\tat
org.apache.asterix.om.pointables.printer.json.ARecordPrinter.printRecord(ARecordPrinter.java:67)\n\tat
org.apache.asterix.om.pointables.printer.json.APrintVisitor.visit(APrintVisitor.java:89)\n\t...
29 more\nCaused by: java.lang.IllegalArgumentException\n\tat
org.apache.hyracks.data.std.primitive.UTF8StringPointable.charAt(UTF8StringPointable.java:86)\n\tat
org.apache.asterix.dataflow.data.nontagged.printers.PrintTools.writeUTF8StringAsJSON(PrintTools.java:52)\n\tat
org.apache.asterix.dataflow.data.nontagged.printers.json.AStringPrinter.print(AStringPrinter.java:36)\n\tat
org.apache.asterix.om.pointables.printer.json.APrintVisitor.visit(APrintVisitor.java:178)\n\t...
34 more\n"}

"

The log has entries like -
WARNING: Memory budget 512 is exhausted. Space left: 2 frames.
Sep 16, 2015 8:18:36 PM
org.apache.asterix.common.feeds.FeedRuntimeInputHandler
reportUnresolvableCongestion
WARNING: Unresolvable congestion at feeds.TwitterFeed-->Tweets STORE[0]{Tweets}
Sep 16, 2015 8:18:37 PM
org.apache.asterix.runtime.operators.file.CounterTimerTupleForwardPolicy
addTupleToFrame
INFO: flushing frame containg (36) tuples
Sep 16, 2015 8:18:37 PM
org.apache.asterix.runtime.operators.file.CounterTimerTupleForwardPolicy
addTupleToFrame

Any suggestions?

Thanks,

Ashok

Mime
View raw message