[ 
https://issues.apache.org/jira/browse/ASTERIXDB-1334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15414678#comment-15414678
 ] 

Yingyi Bu commented on ASTERIXDB-1334:
--------------------------------------

If the dataset is a key only dataset, load and both queries work:

{noformat}
create type DatasetType1 as open {
    'tweet_id':int64
}

create dataset tweetDataset(DatasetType1)
primary key tweet_id
{noformat}


However, the web UI contains some strings that seem not properly encoded, for 
example:

{noformat}
{ "tweet_id": 651928360705089536, "content": "عافيتك يالله�������� (with Ak�� 
at Al Hammadi Hospital | مستشفى الحمادي) — https://t.co/aU3RxxDwRg";, 
"data_point": "none", "lat": 46.68249, "lon": 24.71058, "raw_source": { 
"coordinates": { "coordinates": [ 46.68249, 24.71058 ], "type": "Point" }, 
"created_at": "Thu Oct 08 01:13:28 +0000 2015", "entities": { "hashtags": [  ], 
"symbols": [  ], "urls": [ { "display_url": "path.com/p/4EKnBZ", 
"expanded_url": "https://path.com/p/4EKnBZ";, "indices": [ 70, 93 ], "url": 
"https://t.co/aU3RxxDwRg"; } ], "user_mentions": [  ] }, "favorite_count": 0, 
"favorited": false, "geo": { "coordinates": [ 24.71058, 46.68249 ], "type": 
"Point" }, "id": 651928360705089536, "id_str": "651928360705089536", 
"is_quote_status": false, "lang": "und", "metadata": { "iso_language_code": 
"und", "result_type": "recent" }, "place": { "attributes": {  }, 
"bounding_box": { "coordinates": [ [ [ 46.3043976, 24.3320675 ], [ 47.0657557, 
24.3320675 ], [ 47.0657557, 25.1118193 ], [ 46.3043976, 25.1118193 ] ] ], 
"type": "Polygon" }, "contained_within": [  ], "country": "المملكة العربية 
السعودية", "country_code": "SA", "full_name": "Riyadh, Kingdom of Saudi 
Arabia", "id": "01bf5c1e56ac186d", "name": "Riyadh", "place_type": "city", 
"url": "https://api.twitter.com/1.1/geo/id/01bf5c1e56ac186d.json"; }, 
"possibly_sensitive": false, "retweet_count": 0, "retweeted": false, "source": 
"Path", "text": "عافيتك يالله�������� (with Ak�� at Al Hammadi Hospital | 
مستشفى الحمادي) — https://t.co/aU3RxxDwRg";, "truncated": false, "user": { 
"contributors_enabled": false, "created_at": "Thu Aug 25 02:58:07 +0000 2011", 
"default_profile": false, "default_profile_image": false, "description": "", 
"entities": { "description": { "urls": [  ] }, "url": { "urls": [ { 
"display_url": "ask.fm/azoozbinsaud", "expanded_url": 
"http://ask.fm/azoozbinsaud";, "indices": [ 0, 22 ], "url": 
"http://t.co/aYx3CJzR6P"; } ] } }, "favourites_count": 32, "followers_count": 
293, "friends_count": 215, "geo_enabled": true, "has_extended_profile": false, 
"id": 361638792, "id_str": "361638792", "is_translation_enabled": false, 
"is_translator": false, "lang": "en", "listed_count": 0, "location": "", 
"name": "7feed s3oud alm7arb", "profile_background_color": "C0DEED", 
"profile_background_image_url": 
"http://pbs.twimg.com/profile_background_images/767054484/13daa34760cac86abe194363f8801d03.jpeg";,
 "profile_background_image_url_https": 
"https://pbs.twimg.com/profile_background_images/767054484/13daa34760cac86abe194363f8801d03.jpeg";,
 "profile_background_tile": true, "profile_banner_url": 
"https://pbs.twimg.com/profile_banners/361638792/1427378568";, 
"profile_image_url": 
"http://pbs.twimg.com/profile_images/575740958102319104/jUULBYJs_normal.jpeg";, 
"profile_image_url_https": 
"https://pbs.twimg.com/profile_images/575740958102319104/jUULBYJs_normal.jpeg";, 
"profile_link_color": "0084B4", "profile_sidebar_border_color": "000000", 
"profile_sidebar_fill_color": "DDEEF6", "profile_text_color": "333333", 
"profile_use_background_image": true, "protected": false, "screen_name": 
"3zoozbnsaud", "statuses_count": 6878, "time_zone": "Baghdad", "url": 
"http://t.co/aYx3CJzR6P";, "utc_offset": 10800, "verified": false } }, "time": 
"Thu Oct 08 01:13:28 +0000 2015", "user": 361638792, "user_location": "" }
{noformat}

> [IndexOutOfBoundsException/ArrayIndexOutOfBoundsException] Malformed records' 
> offset and length on nested ADM types
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERIXDB-1334
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1334
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: Data Model
>            Reporter: Wail Alkowaileet
>            Assignee: Yingyi Bu
>
> Hi AsterixDB team,
> There's a problem when I fully define the ADM type. The computed field length 
> and offset seem to off.
> To reproduce:
> Download the data:
> https://www.dropbox.com/s/94llrvl08x85z9n/tweet.json?dl=0
> (Sorry it contains Arabic content)
> DDL:
> {noformat}
> create type coordinatesType1 as open {
>     'coordinates':[double],
>     'type':string
> }
> create type geoType1 as open {
>     'coordinates':[double],
>     'type':string
> }
> create type metadataType1 as open {
>     'iso_language_code':string,
>     'result_type':string
> }
> create type bounding_boxType1 as open {
>     'coordinates':[[[double]]],
>     'type':string
> }
> create type placeType1 as open {
>     'bounding_box':bounding_boxType1,
>     'country':string,
>     'country_code':string,
>     'full_name':string,
>     'id':string,
>     'name':string,
>     'place_type':string,
>     'url':string
> }
> create type listType1 as open {
>     'display_url':string,
>     'expanded_url':string,
>     'indices':[int64],
>     'url':string
> }
> create type urlType1 as open {
>     'urls':[listType1]
> }
> create type listType2 as open {
>     'display_url':string?,
>     'expanded_url':string?,
>     'indices':[int64]?,
>     'url':string?
> }
> create type descriptionType1 as open {
>     'urls':[listType2]
> }
> create type entitiesType1 as open {
>     'url':urlType1?,
>     'description':descriptionType1?
> }
> create type userType1 as open {
>     'contributors_enabled':boolean,
>     'created_at':string,
>     'default_profile':boolean,
>     'default_profile_image':boolean,
>     'description':string,
>     'favourites_count':int64,
>     'followers_count':int64,
>     'friends_count':int64,
>     'geo_enabled':boolean,
>     'has_extended_profile':boolean,
>     'id':int64,
>     'id_str':string,
>     'is_translation_enabled':boolean,
>     'is_translator':boolean,
>     'lang':string,
>     'listed_count':int64,
>     'location':string,
>     'name':string,
>     'profile_background_color':string,
>     'profile_background_image_url':string,
>     'profile_background_image_url_https':string,
>     'profile_background_tile':boolean,
>     'profile_banner_url':string?,
>     'profile_image_url':string,
>     'profile_image_url_https':string,
>     'profile_link_color':string,
>     'profile_sidebar_border_color':string,
>     'profile_sidebar_fill_color':string,
>     'profile_text_color':string,
>     'profile_use_background_image':boolean,
>     'protected':boolean,
>     'screen_name':string,
>     'statuses_count':int64,
>     'time_zone':string?,
>     'utc_offset':int64?,
>     'verified':boolean,
>     'entities':entitiesType1?,
>     'url':string?
> }
> create type listType3 as open {
>     'display_url':string?,
>     'expanded_url':string?,
>     'indices':[int64]?,
>     'url':string?
> }
> create type listType4 as open {
>     'indices':[int64]?,
>     'text':string?
> }
> create type listType5 as open {
>     'id':int64?,
>     'id_str':string?,
>     'indices':[int64]?,
>     'name':string?,
>     'screen_name':string?
> }
> create type largeType1 as open {
>     'h':int64,
>     'resize':string,
>     'w':int64
> }
> create type mediumType1 as open {
>     'h':int64,
>     'resize':string,
>     'w':int64
> }
> create type smallType1 as open {
>     'h':int64,
>     'resize':string,
>     'w':int64
> }
> create type thumbType1 as open {
>     'h':int64,
>     'resize':string,
>     'w':int64
> }
> create type sizesType1 as open {
>     'large':largeType1,
>     'medium':mediumType1,
>     'small':smallType1,
>     'thumb':thumbType1
> }
> create type listType6 as open {
>     'display_url':string,
>     'expanded_url':string,
>     'id':int64,
>     'id_str':string,
>     'indices':[int64],
>     'media_url':string,
>     'media_url_https':string,
>     'sizes':sizesType1,
>     'type':string,
>     'url':string
> }
> create type entitiesType2 as open {
>     'urls':[listType3],
>     'hashtags':[listType4]?,
>     'user_mentions':[listType5]?,
>     'media':[listType6]?
> }
> create type raw_sourceType1 as open {
>     'coordinates':coordinatesType1,
>     'created_at':string,
>     'favorite_count':int64,
>     'favorited':boolean,
>     'geo':geoType1,
>     'id':int64,
>     'id_str':string,
>     'is_quote_status':boolean,
>     'lang':string,
>     'metadata':metadataType1,
>     'place':placeType1,
>     'retweet_count':int64,
>     'retweeted':boolean,
>     'source':string,
>     'text':string,
>     'truncated':boolean,
>     'user':userType1,
>     'entities':entitiesType2?,
>     'possibly_sensitive':boolean?,
>     'in_reply_to_screen_name':string?,
>     'in_reply_to_status_id':int64?,
>     'in_reply_to_status_id_str':string?,
>     'in_reply_to_user_id':int64?,
>     'in_reply_to_user_id_str':string?
> }
> create type DatasetType1 as open {
>     'content':string,
>     'data_point':string,
>     'lat':double,
>     'lon':double,
>     'raw_source':raw_sourceType1,
>     'time':string,
>     'tweet_id':int64,
>     'user':int64,
>     'user_location':string
> }
> create dataset tweetDataset(DatasetType1)
> primary key tweet_id
> {noformat}
> DML:
> {noformat}
> load dataset tweetDataset using localfs
> (("path"="127.0.0.1:///path/to/tweet.json"),("format"="adm"))
> {noformat}
> AQL:
> {noformat}
> //AQL1: IndexOutOfBoundsException
> for $x in dataset tweetDataset
> return $x.raw_source.user.entities
> //AQL2: ArrayIndexOutOfBoundsException
> for $x in dataset tweetDataset
> return $x
> {noformat}
> Log for AQL1:
> {noformat}
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:215)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.initialize(SuperActivityOperatorNodePushable.java:83)
>       at org.apache.hyracks.control.nc.Task.run(Task.java:258)
>       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)
> Caused by: java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>       at java.util.concurrent.FutureTask.get(FutureTask.java:192)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:213)
>       ... 5 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:225)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.EmptyTupleSourceRuntimeFactory$1.close(EmptyTupleSourceRuntimeFactory.java:60)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$1.initialize(AlgebricksMetaOperatorDescriptor.java:116)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.lambda$0(SuperActivityOperatorNodePushable.java:83)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$$Lambda$4/905753455.runAction(Unknown
>  Source)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:204)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:1)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>       ... 3 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:73)
>       at 
> org.apache.hyracks.dataflow.std.result.ResultWriterOperatorDescriptor$1.nextFrame(ResultWriterOperatorDescriptor.java:101)
>       at 
> org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.flush(AbstractFrameAppender.java:83)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushAndReset(AbstractOneInputOneOutputOneFramePushRuntime.java:63)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushIfNotFailed(AbstractOneInputOneOutputOneFramePushRuntime.java:69)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:55)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:57)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.AssignRuntimeFactory$1.close(AssignRuntimeFactory.java:122)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:57)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:57)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.AssignRuntimeFactory$1.close(AssignRuntimeFactory.java:122)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:57)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$2.close(AlgebricksMetaOperatorDescriptor.java:153)
>       at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:222)
>       ... 10 more
> Caused by: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:69)
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ANullableFieldPrinterFactory$1.print(ANullableFieldPrinterFactory.java:64)
>       at 
> org.apache.hyracks.algebricks.runtime.writers.PrinterBasedWriterFactory$1.printTuple(PrinterBasedWriterFactory.java:66)
>       at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:69)
>       ... 23 more
> Caused by: java.lang.IllegalStateException: 
> java.lang.IndexOutOfBoundsException
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:65)
>       ... 26 more
> Caused by: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.data.std.util.ByteArrayAccessibleOutputStream.write(ByteArrayAccessibleOutputStream.java:73)
>       at java.io.DataOutputStream.write(DataOutputStream.java:107)
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:224)
>       ... 27 more
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:215)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.initialize(SuperActivityOperatorNodePushable.java:83)
>       at org.apache.hyracks.control.nc.Task.run(Task.java:258)
>       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)
> Caused by: java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>       at java.util.concurrent.FutureTask.get(FutureTask.java:192)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:213)
>       ... 5 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:225)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.EmptyTupleSourceRuntimeFactory$1.close(EmptyTupleSourceRuntimeFactory.java:60)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$1.initialize(AlgebricksMetaOperatorDescriptor.java:116)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.lambda$0(SuperActivityOperatorNodePushable.java:83)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$$Lambda$4/905753455.runAction(Unknown
>  Source)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:204)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:1)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>       ... 3 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:73)
>       at 
> org.apache.hyracks.dataflow.std.result.ResultWriterOperatorDescriptor$1.nextFrame(ResultWriterOperatorDescriptor.java:101)
>       at 
> org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.flush(AbstractFrameAppender.java:83)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushAndReset(AbstractOneInputOneOutputOneFramePushRuntime.java:63)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushIfNotFailed(AbstractOneInputOneOutputOneFramePushRuntime.java:69)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:55)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:57)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.AssignRuntimeFactory$1.close(AssignRuntimeFactory.java:122)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:57)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:57)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.AssignRuntimeFactory$1.close(AssignRuntimeFactory.java:122)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:57)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$2.close(AlgebricksMetaOperatorDescriptor.java:153)
>       at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:222)
>       ... 10 more
> Caused by: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:69)
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ANullableFieldPrinterFactory$1.print(ANullableFieldPrinterFactory.java:64)
>       at 
> org.apache.hyracks.algebricks.runtime.writers.PrinterBasedWriterFactory$1.printTuple(PrinterBasedWriterFactory.java:66)
>       at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:69)
>       ... 23 more
> Caused by: java.lang.IllegalStateException: 
> java.lang.IndexOutOfBoundsException
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:65)
>       ... 26 more
> Caused by: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.data.std.util.ByteArrayAccessibleOutputStream.write(ByteArrayAccessibleOutputStream.java:73)
>       at java.io.DataOutputStream.write(DataOutputStream.java:107)
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:224)
>       ... 27 more
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:215)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.initialize(SuperActivityOperatorNodePushable.java:83)
>       at org.apache.hyracks.control.nc.Task.run(Task.java:258)
>       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)
> Caused by: java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>       at java.util.concurrent.FutureTask.get(FutureTask.java:192)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:213)
>       ... 5 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:225)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.EmptyTupleSourceRuntimeFactory$1.close(EmptyTupleSourceRuntimeFactory.java:60)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$1.initialize(AlgebricksMetaOperatorDescriptor.java:116)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.lambda$0(SuperActivityOperatorNodePushable.java:83)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$$Lambda$4/905753455.runAction(Unknown
>  Source)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:204)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:1)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>       ... 3 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:73)
>       at 
> org.apache.hyracks.dataflow.std.result.ResultWriterOperatorDescriptor$1.nextFrame(ResultWriterOperatorDescriptor.java:101)
>       at 
> org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.flush(AbstractFrameAppender.java:83)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushAndReset(AbstractOneInputOneOutputOneFramePushRuntime.java:63)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushIfNotFailed(AbstractOneInputOneOutputOneFramePushRuntime.java:69)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:55)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:57)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.AssignRuntimeFactory$1.close(AssignRuntimeFactory.java:122)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:57)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:57)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.AssignRuntimeFactory$1.close(AssignRuntimeFactory.java:122)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:57)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$2.close(AlgebricksMetaOperatorDescriptor.java:153)
>       at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:222)
>       ... 10 more
> Caused by: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:69)
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ANullableFieldPrinterFactory$1.print(ANullableFieldPrinterFactory.java:64)
>       at 
> org.apache.hyracks.algebricks.runtime.writers.PrinterBasedWriterFactory$1.printTuple(PrinterBasedWriterFactory.java:66)
>       at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:69)
>       ... 23 more
> Caused by: java.lang.IllegalStateException: 
> java.lang.IndexOutOfBoundsException
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:65)
>       ... 26 more
> Caused by: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.data.std.util.ByteArrayAccessibleOutputStream.write(ByteArrayAccessibleOutputStream.java:73)
>       at java.io.DataOutputStream.write(DataOutputStream.java:107)
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:224)
>       ... 27 more
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:215)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.initialize(SuperActivityOperatorNodePushable.java:83)
>       at org.apache.hyracks.control.nc.Task.run(Task.java:258)
>       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)
> Caused by: java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>       at java.util.concurrent.FutureTask.get(FutureTask.java:192)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:213)
>       ... 5 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:225)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.EmptyTupleSourceRuntimeFactory$1.close(EmptyTupleSourceRuntimeFactory.java:60)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$1.initialize(AlgebricksMetaOperatorDescriptor.java:116)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.lambda$0(SuperActivityOperatorNodePushable.java:83)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$$Lambda$4/905753455.runAction(Unknown
>  Source)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:204)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:1)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>       ... 3 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:73)
>       at 
> org.apache.hyracks.dataflow.std.result.ResultWriterOperatorDescriptor$1.nextFrame(ResultWriterOperatorDescriptor.java:101)
>       at 
> org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.flush(AbstractFrameAppender.java:83)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushAndReset(AbstractOneInputOneOutputOneFramePushRuntime.java:63)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushIfNotFailed(AbstractOneInputOneOutputOneFramePushRuntime.java:69)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:55)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:57)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.AssignRuntimeFactory$1.close(AssignRuntimeFactory.java:122)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:57)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:57)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.AssignRuntimeFactory$1.close(AssignRuntimeFactory.java:122)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:57)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$2.close(AlgebricksMetaOperatorDescriptor.java:153)
>       at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:222)
>       ... 10 more
> Caused by: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:69)
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ANullableFieldPrinterFactory$1.print(ANullableFieldPrinterFactory.java:64)
>       at 
> org.apache.hyracks.algebricks.runtime.writers.PrinterBasedWriterFactory$1.printTuple(PrinterBasedWriterFactory.java:66)
>       at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:69)
>       ... 23 more
> Caused by: java.lang.IllegalStateException: 
> java.lang.IndexOutOfBoundsException
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:65)
>       ... 26 more
> Caused by: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.data.std.util.ByteArrayAccessibleOutputStream.write(ByteArrayAccessibleOutputStream.java:73)
>       at java.io.DataOutputStream.write(DataOutputStream.java:107)
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:224)
>       ... 27 more
> Mar 08, 2016 11:32:57 PM org.apache.hyracks.control.cc.work.JobCleanupWork run
> WARNING: Ignoring duplicate cleanup for JobRun with id: JID:0
> Mar 08, 2016 11:32:58 PM org.apache.hyracks.control.cc.work.JobCleanupWork run
> WARNING: Ignoring duplicate cleanup for JobRun with id: JID:0
> Mar 08, 2016 11:32:58 PM org.apache.hyracks.control.cc.work.JobCleanupWork run
> WARNING: Ignoring duplicate cleanup for JobRun with id: JID:0
> Mar 08, 2016 11:32:58 PM org.apache.hyracks.control.nc.Joblet close
> WARNING: Freeing leaked 524288 bytes
> Mar 08, 2016 11:32:58 PM org.apache.hyracks.control.nc.Joblet close
> WARNING: Freeing leaked 524288 bytes
> org.apache.hyracks.api.exceptions.HyracksException: Job failed on account of:
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.control.cc.job.JobRun.waitForCompletion(JobRun.java:211)
>       at 
> org.apache.hyracks.control.cc.work.WaitForJobCompletionWork$1.run(WaitForJobCompletionWork.java:48)
>       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)
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.control.common.utils.ExceptionUtils.setNodeIds(ExceptionUtils.java:45)
>       at org.apache.hyracks.control.nc.Task.run(Task.java:315)
>       ... 3 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:215)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.initialize(SuperActivityOperatorNodePushable.java:83)
>       at org.apache.hyracks.control.nc.Task.run(Task.java:258)
>       ... 3 more
> Caused by: java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>       at java.util.concurrent.FutureTask.get(FutureTask.java:192)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:213)
>       ... 5 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:225)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.EmptyTupleSourceRuntimeFactory$1.close(EmptyTupleSourceRuntimeFactory.java:60)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$1.initialize(AlgebricksMetaOperatorDescriptor.java:116)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.lambda$0(SuperActivityOperatorNodePushable.java:83)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$$Lambda$4/905753455.runAction(Unknown
>  Source)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:204)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:1)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>       ... 3 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:73)
>       at 
> org.apache.hyracks.dataflow.std.result.ResultWriterOperatorDescriptor$1.nextFrame(ResultWriterOperatorDescriptor.java:101)
>       at 
> org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.flush(AbstractFrameAppender.java:83)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushAndReset(AbstractOneInputOneOutputOneFramePushRuntime.java:63)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushIfNotFailed(AbstractOneInputOneOutputOneFramePushRuntime.java:69)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:55)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:57)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.AssignRuntimeFactory$1.close(AssignRuntimeFactory.java:122)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:57)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:57)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.AssignRuntimeFactory$1.close(AssignRuntimeFactory.java:122)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:57)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$2.close(AlgebricksMetaOperatorDescriptor.java:153)
>       at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:222)
>       ... 10 more
> Caused by: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:69)
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ANullableFieldPrinterFactory$1.print(ANullableFieldPrinterFactory.java:64)
>       at 
> org.apache.hyracks.algebricks.runtime.writers.PrinterBasedWriterFactory$1.printTuple(PrinterBasedWriterFactory.java:66)
>       at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:69)
>       ... 23 more
> Caused by: java.lang.IllegalStateException: 
> java.lang.IndexOutOfBoundsException
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:65)
>       ... 26 more
> Caused by: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.data.std.util.ByteArrayAccessibleOutputStream.write(ByteArrayAccessibleOutputStream.java:73)
>       at java.io.DataOutputStream.write(DataOutputStream.java:107)
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:224)
>       ... 27 more
> org.apache.hyracks.api.exceptions.HyracksException: Job failed on account of:
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.control.cc.job.JobRun.waitForCompletion(JobRun.java:211)
>       at 
> org.apache.hyracks.control.cc.work.WaitForJobCompletionWork$1.run(WaitForJobCompletionWork.java:48)
>       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)
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.control.common.utils.ExceptionUtils.setNodeIds(ExceptionUtils.java:45)
>       at org.apache.hyracks.control.nc.Task.run(Task.java:315)
>       ... 3 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:215)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.initialize(SuperActivityOperatorNodePushable.java:83)
>       at org.apache.hyracks.control.nc.Task.run(Task.java:258)
>       ... 3 more
> Caused by: java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>       at java.util.concurrent.FutureTask.get(FutureTask.java:192)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:213)
>       ... 5 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:225)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.EmptyTupleSourceRuntimeFactory$1.close(EmptyTupleSourceRuntimeFactory.java:60)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$1.initialize(AlgebricksMetaOperatorDescriptor.java:116)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.lambda$0(SuperActivityOperatorNodePushable.java:83)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$$Lambda$4/905753455.runAction(Unknown
>  Source)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:204)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:1)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>       ... 3 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:73)
>       at 
> org.apache.hyracks.dataflow.std.result.ResultWriterOperatorDescriptor$1.nextFrame(ResultWriterOperatorDescriptor.java:101)
>       at 
> org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.flush(AbstractFrameAppender.java:83)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushAndReset(AbstractOneInputOneOutputOneFramePushRuntime.java:63)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushIfNotFailed(AbstractOneInputOneOutputOneFramePushRuntime.java:69)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:55)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:57)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.AssignRuntimeFactory$1.close(AssignRuntimeFactory.java:122)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:57)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:57)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.AssignRuntimeFactory$1.close(AssignRuntimeFactory.java:122)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:57)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$2.close(AlgebricksMetaOperatorDescriptor.java:153)
>       at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:222)
>       ... 10 more
> Caused by: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:69)
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ANullableFieldPrinterFactory$1.print(ANullableFieldPrinterFactory.java:64)
>       at 
> org.apache.hyracks.algebricks.runtime.writers.PrinterBasedWriterFactory$1.printTuple(PrinterBasedWriterFactory.java:66)
>       at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:69)
>       ... 23 more
> Caused by: java.lang.IllegalStateException: 
> java.lang.IndexOutOfBoundsException
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:65)
>       ... 26 more
> Caused by: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.data.std.util.ByteArrayAccessibleOutputStream.write(ByteArrayAccessibleOutputStream.java:73)
>       at java.io.DataOutputStream.write(DataOutputStream.java:107)
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:224)
>       ... 27 more
> Mar 08, 2016 11:32:58 PM org.apache.asterix.api.http.servlet.APIServlet doPost
> SEVERE: Job failed on account of:
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
> org.apache.hyracks.api.exceptions.HyracksException: Job failed on account of:
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.control.cc.job.JobRun.waitForCompletion(JobRun.java:211)
>       at 
> org.apache.hyracks.control.cc.work.WaitForJobCompletionWork$1.run(WaitForJobCompletionWork.java:48)
>       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)
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.control.common.utils.ExceptionUtils.setNodeIds(ExceptionUtils.java:45)
>       at org.apache.hyracks.control.nc.Task.run(Task.java:315)
>       ... 3 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:215)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.initialize(SuperActivityOperatorNodePushable.java:83)
>       at org.apache.hyracks.control.nc.Task.run(Task.java:258)
>       ... 3 more
> Caused by: java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>       at java.util.concurrent.FutureTask.get(FutureTask.java:192)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:213)
>       ... 5 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:225)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.EmptyTupleSourceRuntimeFactory$1.close(EmptyTupleSourceRuntimeFactory.java:60)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$1.initialize(AlgebricksMetaOperatorDescriptor.java:116)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.lambda$0(SuperActivityOperatorNodePushable.java:83)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$$Lambda$4/905753455.runAction(Unknown
>  Source)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:204)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:1)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>       ... 3 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:73)
>       at 
> org.apache.hyracks.dataflow.std.result.ResultWriterOperatorDescriptor$1.nextFrame(ResultWriterOperatorDescriptor.java:101)
>       at 
> org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.flush(AbstractFrameAppender.java:83)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushAndReset(AbstractOneInputOneOutputOneFramePushRuntime.java:63)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushIfNotFailed(AbstractOneInputOneOutputOneFramePushRuntime.java:69)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:55)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:57)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.AssignRuntimeFactory$1.close(AssignRuntimeFactory.java:122)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:57)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:57)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.AssignRuntimeFactory$1.close(AssignRuntimeFactory.java:122)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:57)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$2.close(AlgebricksMetaOperatorDescriptor.java:153)
>       at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:222)
>       ... 10 more
> Caused by: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:69)
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ANullableFieldPrinterFactory$1.print(ANullableFieldPrinterFactory.java:64)
>       at 
> org.apache.hyracks.algebricks.runtime.writers.PrinterBasedWriterFactory$1.printTuple(PrinterBasedWriterFactory.java:66)
>       at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:69)
>       ... 23 more
> Caused by: java.lang.IllegalStateException: 
> java.lang.IndexOutOfBoundsException
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:65)
>       ... 26 more
> Caused by: java.lang.IndexOutOfBoundsException
>       at 
> org.apache.hyracks.data.std.util.ByteArrayAccessibleOutputStream.write(ByteArrayAccessibleOutputStream.java:73)
>       at java.io.DataOutputStream.write(DataOutputStream.java:107)
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:224)
>       ... 27 more
> {noformat}
> Log for AQL2:
> {noformat}
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 111311
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:215)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.initialize(SuperActivityOperatorNodePushable.java:83)
>       at org.apache.hyracks.control.nc.Task.run(Task.java:258)
>       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)
> Caused by: java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 111311
>       at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>       at java.util.concurrent.FutureTask.get(FutureTask.java:192)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:213)
>       ... 5 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 111311
>       at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:225)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.EmptyTupleSourceRuntimeFactory$1.close(EmptyTupleSourceRuntimeFactory.java:60)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$1.initialize(AlgebricksMetaOperatorDescriptor.java:116)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.lambda$0(SuperActivityOperatorNodePushable.java:83)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$$Lambda$7/1479562690.runAction(Unknown
>  Source)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:204)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:1)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>       ... 3 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 111311
>       at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:73)
>       at 
> org.apache.hyracks.dataflow.std.result.ResultWriterOperatorDescriptor$1.nextFrame(ResultWriterOperatorDescriptor.java:101)
>       at 
> org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.flush(AbstractFrameAppender.java:83)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushAndReset(AbstractOneInputOneOutputOneFramePushRuntime.java:63)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushIfNotFailed(AbstractOneInputOneOutputOneFramePushRuntime.java:69)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:55)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$2.close(AlgebricksMetaOperatorDescriptor.java:153)
>       at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:222)
>       ... 10 more
> Caused by: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 111311
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:69)
>       at 
> org.apache.hyracks.algebricks.runtime.writers.PrinterBasedWriterFactory$1.printTuple(PrinterBasedWriterFactory.java:66)
>       at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:69)
>       ... 17 more
> Caused by: java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 111311
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:65)
>       ... 19 more
> Caused by: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 111311
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:227)
>       ... 20 more
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 111311
>       at 
> org.apache.asterix.dataflow.data.nontagged.serde.AInt32SerializerDeserializer.getInt(AInt32SerializerDeserializer.java:50)
>       at 
> org.apache.asterix.dataflow.data.nontagged.serde.ARecordSerializerDeserializer.getRecordLength(ARecordSerializerDeserializer.java:226)
>       at 
> org.apache.asterix.om.util.NonTaggedFormatUtil.getFieldValueLength(NonTaggedFormatUtil.java:165)
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:218)
>       ... 21 more
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:215)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.initialize(SuperActivityOperatorNodePushable.java:83)
>       at org.apache.hyracks.control.nc.Task.run(Task.java:258)
>       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)
> Caused by: java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>       at java.util.concurrent.FutureTask.get(FutureTask.java:192)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:213)
>       ... 5 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:198)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.EmptyTupleSourceRuntimeFactory$1.close(EmptyTupleSourceRuntimeFactory.java:60)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$1.initialize(AlgebricksMetaOperatorDescriptor.java:116)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.lambda$0(SuperActivityOperatorNodePushable.java:83)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$$Lambda$7/1479562690.runAction(Unknown
>  Source)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:204)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:1)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>       ... 3 more
>       Suppressed: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>               at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:73)
>               at 
> org.apache.hyracks.dataflow.std.result.ResultWriterOperatorDescriptor$1.nextFrame(ResultWriterOperatorDescriptor.java:101)
>               at 
> org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.flush(AbstractFrameAppender.java:83)
>               at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushAndReset(AbstractOneInputOneOutputOneFramePushRuntime.java:63)
>               at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushIfNotFailed(AbstractOneInputOneOutputOneFramePushRuntime.java:69)
>               at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:55)
>               at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$2.close(AlgebricksMetaOperatorDescriptor.java:153)
>               at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:222)
>               ... 10 more
>       Caused by: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>               at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:69)
>               at 
> org.apache.hyracks.algebricks.runtime.writers.PrinterBasedWriterFactory$1.printTuple(PrinterBasedWriterFactory.java:66)
>               at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:69)
>               ... 17 more
>       Caused by: java.lang.IllegalStateException: 
> java.lang.IllegalStateException: java.lang.ArrayIndexOutOfBoundsException: 
> 85030
>               at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>               at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:65)
>               ... 19 more
>       Caused by: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>               at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>               at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:227)
>               ... 20 more
>       Caused by: java.lang.ArrayIndexOutOfBoundsException: 85030
>               at 
> org.apache.asterix.dataflow.data.nontagged.serde.AInt32SerializerDeserializer.getInt(AInt32SerializerDeserializer.java:50)
>               at 
> org.apache.asterix.dataflow.data.nontagged.serde.ARecordSerializerDeserializer.getRecordLength(ARecordSerializerDeserializer.java:226)
>               at 
> org.apache.asterix.om.util.NonTaggedFormatUtil.getFieldValueLength(NonTaggedFormatUtil.java:165)
>               at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:218)
>               ... 21 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:73)
>       at 
> org.apache.hyracks.dataflow.std.result.ResultWriterOperatorDescriptor$1.nextFrame(ResultWriterOperatorDescriptor.java:101)
>       at 
> org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.flush(AbstractFrameAppender.java:83)
>       at 
> org.apache.hyracks.dataflow.common.comm.util.FrameUtils.appendProjectionToWriter(FrameUtils.java:235)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.appendProjectionToFrame(AbstractOneInputOneOutputOneFramePushRuntime.java:95)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.appendProjectionToFrame(AbstractOneInputOneOutputOneFramePushRuntime.java:90)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.StreamProjectRuntimeFactory$1.nextFrame(StreamProjectRuntimeFactory.java:74)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$2.nextFrame(AlgebricksMetaOperatorDescriptor.java:148)
>       at 
> org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.flush(AbstractFrameAppender.java:83)
>       at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:196)
>       ... 10 more
> Caused by: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:69)
>       at 
> org.apache.hyracks.algebricks.runtime.writers.PrinterBasedWriterFactory$1.printTuple(PrinterBasedWriterFactory.java:66)
>       at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:69)
>       ... 19 more
> Caused by: java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:65)
>       ... 21 more
> Caused by: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:227)
>       ... 22 more
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.asterix.dataflow.data.nontagged.serde.AInt32SerializerDeserializer.getInt(AInt32SerializerDeserializer.java:50)
>       at 
> org.apache.asterix.dataflow.data.nontagged.serde.ARecordSerializerDeserializer.getRecordLength(ARecordSerializerDeserializer.java:226)
>       at 
> org.apache.asterix.om.util.NonTaggedFormatUtil.getFieldValueLength(NonTaggedFormatUtil.java:165)
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:218)
>       ... 23 more
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 110677
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:215)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.initialize(SuperActivityOperatorNodePushable.java:83)
>       at org.apache.hyracks.control.nc.Task.run(Task.java:258)
>       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)
> Caused by: java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 110677
>       at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>       at java.util.concurrent.FutureTask.get(FutureTask.java:192)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:213)
>       ... 5 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 110677
>       at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:198)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.EmptyTupleSourceRuntimeFactory$1.close(EmptyTupleSourceRuntimeFactory.java:60)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$1.initialize(AlgebricksMetaOperatorDescriptor.java:116)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.lambda$0(SuperActivityOperatorNodePushable.java:83)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$$Lambda$7/1479562690.runAction(Unknown
>  Source)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:204)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:1)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>       ... 3 more
>       Suppressed: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 110677
>               at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:73)
>               at 
> org.apache.hyracks.dataflow.std.result.ResultWriterOperatorDescriptor$1.nextFrame(ResultWriterOperatorDescriptor.java:101)
>               at 
> org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.flush(AbstractFrameAppender.java:83)
>               at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushAndReset(AbstractOneInputOneOutputOneFramePushRuntime.java:63)
>               at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushIfNotFailed(AbstractOneInputOneOutputOneFramePushRuntime.java:69)
>               at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:55)
>               at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$2.close(AlgebricksMetaOperatorDescriptor.java:153)
>               at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:222)
>               ... 10 more
>       Caused by: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 110677
>               at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:69)
>               at 
> org.apache.hyracks.algebricks.runtime.writers.PrinterBasedWriterFactory$1.printTuple(PrinterBasedWriterFactory.java:66)
>               at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:69)
>               ... 17 more
>       Caused by: java.lang.IllegalStateException: 
> java.lang.IllegalStateException: java.lang.ArrayIndexOutOfBoundsException: 
> 110677
>               at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>               at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:65)
>               ... 19 more
>       Caused by: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 110677
>               at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>               at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:227)
>               ... 20 more
>       Caused by: java.lang.ArrayIndexOutOfBoundsException: 110677
>               at 
> org.apache.asterix.dataflow.data.nontagged.serde.AInt32SerializerDeserializer.getInt(AInt32SerializerDeserializer.java:50)
>               at 
> org.apache.asterix.dataflow.data.nontagged.serde.ARecordSerializerDeserializer.getRecordLength(ARecordSerializerDeserializer.java:226)
>               at 
> org.apache.asterix.om.util.NonTaggedFormatUtil.getFieldValueLength(NonTaggedFormatUtil.java:165)
>               at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:218)
>               ... 21 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 110677
>       at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:73)
>       at 
> org.apache.hyracks.dataflow.std.result.ResultWriterOperatorDescriptor$1.nextFrame(ResultWriterOperatorDescriptor.java:101)
>       at 
> org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.flush(AbstractFrameAppender.java:83)
>       at 
> org.apache.hyracks.dataflow.common.comm.util.FrameUtils.appendProjectionToWriter(FrameUtils.java:235)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.appendProjectionToFrame(AbstractOneInputOneOutputOneFramePushRuntime.java:95)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.appendProjectionToFrame(AbstractOneInputOneOutputOneFramePushRuntime.java:90)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.StreamProjectRuntimeFactory$1.nextFrame(StreamProjectRuntimeFactory.java:74)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$2.nextFrame(AlgebricksMetaOperatorDescriptor.java:148)
>       at 
> org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.flush(AbstractFrameAppender.java:83)
>       at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:196)
>       ... 10 more
> Caused by: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 110677
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:69)
>       at 
> org.apache.hyracks.algebricks.runtime.writers.PrinterBasedWriterFactory$1.printTuple(PrinterBasedWriterFactory.java:66)
>       at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:69)
>       ... 19 more
> Caused by: java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 110677
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:65)
>       ... 21 more
> Caused by: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 110677
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:227)
>       ... 22 more
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 110677
>       at 
> org.apache.asterix.dataflow.data.nontagged.serde.AInt32SerializerDeserializer.getInt(AInt32SerializerDeserializer.java:50)
>       at 
> org.apache.asterix.dataflow.data.nontagged.serde.ARecordSerializerDeserializer.getRecordLength(ARecordSerializerDeserializer.java:226)
>       at 
> org.apache.asterix.om.util.NonTaggedFormatUtil.getFieldValueLength(NonTaggedFormatUtil.java:165)
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:218)
>       ... 23 more
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85258
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:215)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.initialize(SuperActivityOperatorNodePushable.java:83)
>       at org.apache.hyracks.control.nc.Task.run(Task.java:258)
>       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)
> Caused by: java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85258
>       at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>       at java.util.concurrent.FutureTask.get(FutureTask.java:192)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:213)
>       ... 5 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85258
>       at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:198)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.EmptyTupleSourceRuntimeFactory$1.close(EmptyTupleSourceRuntimeFactory.java:60)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$1.initialize(AlgebricksMetaOperatorDescriptor.java:116)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.lambda$0(SuperActivityOperatorNodePushable.java:83)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$$Lambda$7/1479562690.runAction(Unknown
>  Source)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:204)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:1)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>       ... 3 more
>       Suppressed: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85258
>               at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:73)
>               at 
> org.apache.hyracks.dataflow.std.result.ResultWriterOperatorDescriptor$1.nextFrame(ResultWriterOperatorDescriptor.java:101)
>               at 
> org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.flush(AbstractFrameAppender.java:83)
>               at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushAndReset(AbstractOneInputOneOutputOneFramePushRuntime.java:63)
>               at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushIfNotFailed(AbstractOneInputOneOutputOneFramePushRuntime.java:69)
>               at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:55)
>               at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$2.close(AlgebricksMetaOperatorDescriptor.java:153)
>               at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:222)
>               ... 10 more
>       Caused by: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85258
>               at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:69)
>               at 
> org.apache.hyracks.algebricks.runtime.writers.PrinterBasedWriterFactory$1.printTuple(PrinterBasedWriterFactory.java:66)
>               at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:69)
>               ... 17 more
>       Caused by: java.lang.IllegalStateException: 
> java.lang.IllegalStateException: java.lang.ArrayIndexOutOfBoundsException: 
> 85258
>               at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>               at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:65)
>               ... 19 more
>       Caused by: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85258
>               at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>               at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:227)
>               ... 20 more
>       Caused by: java.lang.ArrayIndexOutOfBoundsException: 85258
>               at 
> org.apache.asterix.dataflow.data.nontagged.serde.AInt32SerializerDeserializer.getInt(AInt32SerializerDeserializer.java:50)
>               at 
> org.apache.asterix.dataflow.data.nontagged.serde.ARecordSerializerDeserializer.getRecordLength(ARecordSerializerDeserializer.java:226)
>               at 
> org.apache.asterix.om.util.NonTaggedFormatUtil.getFieldValueLength(NonTaggedFormatUtil.java:165)
>               at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:218)
>               ... 21 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85258
>       at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:73)
>       at 
> org.apache.hyracks.dataflow.std.result.ResultWriterOperatorDescriptor$1.nextFrame(ResultWriterOperatorDescriptor.java:101)
>       at 
> org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.flush(AbstractFrameAppender.java:83)
>       at 
> org.apache.hyracks.dataflow.common.comm.util.FrameUtils.appendProjectionToWriter(FrameUtils.java:235)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.appendProjectionToFrame(AbstractOneInputOneOutputOneFramePushRuntime.java:95)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.appendProjectionToFrame(AbstractOneInputOneOutputOneFramePushRuntime.java:90)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.StreamProjectRuntimeFactory$1.nextFrame(StreamProjectRuntimeFactory.java:82)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$2.nextFrame(AlgebricksMetaOperatorDescriptor.java:148)
>       at 
> org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.flush(AbstractFrameAppender.java:83)
>       at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:196)
>       ... 10 more
> Caused by: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85258
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:69)
>       at 
> org.apache.hyracks.algebricks.runtime.writers.PrinterBasedWriterFactory$1.printTuple(PrinterBasedWriterFactory.java:66)
>       at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:69)
>       ... 19 more
> Caused by: java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85258
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:65)
>       ... 21 more
> Caused by: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85258
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:227)
>       ... 22 more
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 85258
>       at 
> org.apache.asterix.dataflow.data.nontagged.serde.AInt32SerializerDeserializer.getInt(AInt32SerializerDeserializer.java:50)
>       at 
> org.apache.asterix.dataflow.data.nontagged.serde.ARecordSerializerDeserializer.getRecordLength(ARecordSerializerDeserializer.java:226)
>       at 
> org.apache.asterix.om.util.NonTaggedFormatUtil.getFieldValueLength(NonTaggedFormatUtil.java:165)
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:218)
>       ... 23 more
> Mar 08, 2016 11:31:06 PM org.apache.hyracks.control.cc.work.JobCleanupWork run
> WARNING: Ignoring duplicate cleanup for JobRun with id: JID:0
> Mar 08, 2016 11:31:06 PM org.apache.hyracks.control.cc.work.JobCleanupWork run
> WARNING: Ignoring duplicate cleanup for JobRun with id: JID:0
> Mar 08, 2016 11:31:06 PM org.apache.hyracks.control.cc.work.JobCleanupWork run
> WARNING: Ignoring duplicate cleanup for JobRun with id: JID:0
> Mar 08, 2016 11:31:06 PM org.apache.hyracks.control.nc.Joblet close
> WARNING: Freeing leaked 262144 bytes
> Mar 08, 2016 11:31:06 PM org.apache.hyracks.control.nc.Joblet close
> WARNING: Freeing leaked 262144 bytes
> org.apache.hyracks.api.exceptions.HyracksException: Job failed on account of:
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.hyracks.control.cc.job.JobRun.waitForCompletion(JobRun.java:211)
>       at 
> org.apache.hyracks.control.cc.work.WaitForJobCompletionWork$1.run(WaitForJobCompletionWork.java:48)
>       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)
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.hyracks.control.common.utils.ExceptionUtils.setNodeIds(ExceptionUtils.java:45)
>       at org.apache.hyracks.control.nc.Task.run(Task.java:315)
>       ... 3 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:215)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.initialize(SuperActivityOperatorNodePushable.java:83)
>       at org.apache.hyracks.control.nc.Task.run(Task.java:258)
>       ... 3 more
> Caused by: java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>       at java.util.concurrent.FutureTask.get(FutureTask.java:192)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:213)
>       ... 5 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:198)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.EmptyTupleSourceRuntimeFactory$1.close(EmptyTupleSourceRuntimeFactory.java:60)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$1.initialize(AlgebricksMetaOperatorDescriptor.java:116)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.lambda$0(SuperActivityOperatorNodePushable.java:83)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$$Lambda$7/1479562690.runAction(Unknown
>  Source)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:204)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:1)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>       ... 3 more
>       Suppressed: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>               at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:73)
>               at 
> org.apache.hyracks.dataflow.std.result.ResultWriterOperatorDescriptor$1.nextFrame(ResultWriterOperatorDescriptor.java:101)
>               at 
> org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.flush(AbstractFrameAppender.java:83)
>               at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushAndReset(AbstractOneInputOneOutputOneFramePushRuntime.java:63)
>               at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushIfNotFailed(AbstractOneInputOneOutputOneFramePushRuntime.java:69)
>               at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:55)
>               at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$2.close(AlgebricksMetaOperatorDescriptor.java:153)
>               at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:222)
>               ... 10 more
>       Caused by: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>               at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:69)
>               at 
> org.apache.hyracks.algebricks.runtime.writers.PrinterBasedWriterFactory$1.printTuple(PrinterBasedWriterFactory.java:66)
>               at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:69)
>               ... 17 more
>       Caused by: java.lang.IllegalStateException: 
> java.lang.IllegalStateException: java.lang.ArrayIndexOutOfBoundsException: 
> 85030
>               at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>               at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:65)
>               ... 19 more
>       Caused by: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>               at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>               at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:227)
>               ... 20 more
>       Caused by: java.lang.ArrayIndexOutOfBoundsException: 85030
>               at 
> org.apache.asterix.dataflow.data.nontagged.serde.AInt32SerializerDeserializer.getInt(AInt32SerializerDeserializer.java:50)
>               at 
> org.apache.asterix.dataflow.data.nontagged.serde.ARecordSerializerDeserializer.getRecordLength(ARecordSerializerDeserializer.java:226)
>               at 
> org.apache.asterix.om.util.NonTaggedFormatUtil.getFieldValueLength(NonTaggedFormatUtil.java:165)
>               at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:218)
>               ... 21 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:73)
>       at 
> org.apache.hyracks.dataflow.std.result.ResultWriterOperatorDescriptor$1.nextFrame(ResultWriterOperatorDescriptor.java:101)
>       at 
> org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.flush(AbstractFrameAppender.java:83)
>       at 
> org.apache.hyracks.dataflow.common.comm.util.FrameUtils.appendProjectionToWriter(FrameUtils.java:235)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.appendProjectionToFrame(AbstractOneInputOneOutputOneFramePushRuntime.java:95)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.appendProjectionToFrame(AbstractOneInputOneOutputOneFramePushRuntime.java:90)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.StreamProjectRuntimeFactory$1.nextFrame(StreamProjectRuntimeFactory.java:74)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$2.nextFrame(AlgebricksMetaOperatorDescriptor.java:148)
>       at 
> org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.flush(AbstractFrameAppender.java:83)
>       at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:196)
>       ... 10 more
> Caused by: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:69)
>       at 
> org.apache.hyracks.algebricks.runtime.writers.PrinterBasedWriterFactory$1.printTuple(PrinterBasedWriterFactory.java:66)
>       at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:69)
>       ... 19 more
> Caused by: java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:65)
>       ... 21 more
> Caused by: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:227)
>       ... 22 more
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.asterix.dataflow.data.nontagged.serde.AInt32SerializerDeserializer.getInt(AInt32SerializerDeserializer.java:50)
>       at 
> org.apache.asterix.dataflow.data.nontagged.serde.ARecordSerializerDeserializer.getRecordLength(ARecordSerializerDeserializer.java:226)
>       at 
> org.apache.asterix.om.util.NonTaggedFormatUtil.getFieldValueLength(NonTaggedFormatUtil.java:165)
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:218)
>       ... 23 more
> org.apache.hyracks.api.exceptions.HyracksException: Job failed on account of:
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.hyracks.control.cc.job.JobRun.waitForCompletion(JobRun.java:211)
>       at 
> org.apache.hyracks.control.cc.work.WaitForJobCompletionWork$1.run(WaitForJobCompletionWork.java:48)
>       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)
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.hyracks.control.common.utils.ExceptionUtils.setNodeIds(ExceptionUtils.java:45)
>       at org.apache.hyracks.control.nc.Task.run(Task.java:315)
>       ... 3 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:215)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.initialize(SuperActivityOperatorNodePushable.java:83)
>       at org.apache.hyracks.control.nc.Task.run(Task.java:258)
>       ... 3 more
> Caused by: java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>       at java.util.concurrent.FutureTask.get(FutureTask.java:192)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:213)
>       ... 5 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:198)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.EmptyTupleSourceRuntimeFactory$1.close(EmptyTupleSourceRuntimeFactory.java:60)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$1.initialize(AlgebricksMetaOperatorDescriptor.java:116)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.lambda$0(SuperActivityOperatorNodePushable.java:83)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$$Lambda$7/1479562690.runAction(Unknown
>  Source)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:204)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:1)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>       ... 3 more
>       Suppressed: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>               at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:73)
>               at 
> org.apache.hyracks.dataflow.std.result.ResultWriterOperatorDescriptor$1.nextFrame(ResultWriterOperatorDescriptor.java:101)
>               at 
> org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.flush(AbstractFrameAppender.java:83)
>               at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushAndReset(AbstractOneInputOneOutputOneFramePushRuntime.java:63)
>               at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushIfNotFailed(AbstractOneInputOneOutputOneFramePushRuntime.java:69)
>               at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:55)
>               at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$2.close(AlgebricksMetaOperatorDescriptor.java:153)
>               at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:222)
>               ... 10 more
>       Caused by: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>               at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:69)
>               at 
> org.apache.hyracks.algebricks.runtime.writers.PrinterBasedWriterFactory$1.printTuple(PrinterBasedWriterFactory.java:66)
>               at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:69)
>               ... 17 more
>       Caused by: java.lang.IllegalStateException: 
> java.lang.IllegalStateException: java.lang.ArrayIndexOutOfBoundsException: 
> 85030
>               at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>               at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:65)
>               ... 19 more
>       Caused by: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>               at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>               at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:227)
>               ... 20 more
>       Caused by: java.lang.ArrayIndexOutOfBoundsException: 85030
>               at 
> org.apache.asterix.dataflow.data.nontagged.serde.AInt32SerializerDeserializer.getInt(AInt32SerializerDeserializer.java:50)
>               at 
> org.apache.asterix.dataflow.data.nontagged.serde.ARecordSerializerDeserializer.getRecordLength(ARecordSerializerDeserializer.java:226)
>               at 
> org.apache.asterix.om.util.NonTaggedFormatUtil.getFieldValueLength(NonTaggedFormatUtil.java:165)
>               at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:218)
>               ... 21 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:73)
>       at 
> org.apache.hyracks.dataflow.std.result.ResultWriterOperatorDescriptor$1.nextFrame(ResultWriterOperatorDescriptor.java:101)
>       at 
> org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.flush(AbstractFrameAppender.java:83)
>       at 
> org.apache.hyracks.dataflow.common.comm.util.FrameUtils.appendProjectionToWriter(FrameUtils.java:235)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.appendProjectionToFrame(AbstractOneInputOneOutputOneFramePushRuntime.java:95)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.appendProjectionToFrame(AbstractOneInputOneOutputOneFramePushRuntime.java:90)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.StreamProjectRuntimeFactory$1.nextFrame(StreamProjectRuntimeFactory.java:74)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$2.nextFrame(AlgebricksMetaOperatorDescriptor.java:148)
>       at 
> org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.flush(AbstractFrameAppender.java:83)
>       at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:196)
>       ... 10 more
> Caused by: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:69)
>       at 
> org.apache.hyracks.algebricks.runtime.writers.PrinterBasedWriterFactory$1.printTuple(PrinterBasedWriterFactory.java:66)
>       at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:69)
>       ... 19 more
> Caused by: java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:65)
>       ... 21 more
> Caused by: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:227)
>       ... 22 more
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.asterix.dataflow.data.nontagged.serde.AInt32SerializerDeserializer.getInt(AInt32SerializerDeserializer.java:50)
>       at 
> org.apache.asterix.dataflow.data.nontagged.serde.ARecordSerializerDeserializer.getRecordLength(ARecordSerializerDeserializer.java:226)
>       at 
> org.apache.asterix.om.util.NonTaggedFormatUtil.getFieldValueLength(NonTaggedFormatUtil.java:165)
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:218)
>       ... 23 more
> Mar 08, 2016 11:31:06 PM org.apache.asterix.api.http.servlet.APIServlet doPost
> SEVERE: Job failed on account of:
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
> org.apache.hyracks.api.exceptions.HyracksException: Job failed on account of:
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.hyracks.control.cc.job.JobRun.waitForCompletion(JobRun.java:211)
>       at 
> org.apache.hyracks.control.cc.work.WaitForJobCompletionWork$1.run(WaitForJobCompletionWork.java:48)
>       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)
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.hyracks.control.common.utils.ExceptionUtils.setNodeIds(ExceptionUtils.java:45)
>       at org.apache.hyracks.control.nc.Task.run(Task.java:315)
>       ... 3 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:215)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.initialize(SuperActivityOperatorNodePushable.java:83)
>       at org.apache.hyracks.control.nc.Task.run(Task.java:258)
>       ... 3 more
> Caused by: java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>       at java.util.concurrent.FutureTask.get(FutureTask.java:192)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:213)
>       ... 5 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:198)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.EmptyTupleSourceRuntimeFactory$1.close(EmptyTupleSourceRuntimeFactory.java:60)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$1.initialize(AlgebricksMetaOperatorDescriptor.java:116)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.lambda$0(SuperActivityOperatorNodePushable.java:83)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$$Lambda$7/1479562690.runAction(Unknown
>  Source)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:204)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable$1.call(SuperActivityOperatorNodePushable.java:1)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>       ... 3 more
>       Suppressed: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>               at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:73)
>               at 
> org.apache.hyracks.dataflow.std.result.ResultWriterOperatorDescriptor$1.nextFrame(ResultWriterOperatorDescriptor.java:101)
>               at 
> org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.flush(AbstractFrameAppender.java:83)
>               at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushAndReset(AbstractOneInputOneOutputOneFramePushRuntime.java:63)
>               at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushIfNotFailed(AbstractOneInputOneOutputOneFramePushRuntime.java:69)
>               at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:55)
>               at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$2.close(AlgebricksMetaOperatorDescriptor.java:153)
>               at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:222)
>               ... 10 more
>       Caused by: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>               at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:69)
>               at 
> org.apache.hyracks.algebricks.runtime.writers.PrinterBasedWriterFactory$1.printTuple(PrinterBasedWriterFactory.java:66)
>               at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:69)
>               ... 17 more
>       Caused by: java.lang.IllegalStateException: 
> java.lang.IllegalStateException: java.lang.ArrayIndexOutOfBoundsException: 
> 85030
>               at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>               at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:65)
>               ... 19 more
>       Caused by: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>               at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>               at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:227)
>               ... 20 more
>       Caused by: java.lang.ArrayIndexOutOfBoundsException: 85030
>               at 
> org.apache.asterix.dataflow.data.nontagged.serde.AInt32SerializerDeserializer.getInt(AInt32SerializerDeserializer.java:50)
>               at 
> org.apache.asterix.dataflow.data.nontagged.serde.ARecordSerializerDeserializer.getRecordLength(ARecordSerializerDeserializer.java:226)
>               at 
> org.apache.asterix.om.util.NonTaggedFormatUtil.getFieldValueLength(NonTaggedFormatUtil.java:165)
>               at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:218)
>               ... 21 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:73)
>       at 
> org.apache.hyracks.dataflow.std.result.ResultWriterOperatorDescriptor$1.nextFrame(ResultWriterOperatorDescriptor.java:101)
>       at 
> org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.flush(AbstractFrameAppender.java:83)
>       at 
> org.apache.hyracks.dataflow.common.comm.util.FrameUtils.appendProjectionToWriter(FrameUtils.java:235)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.appendProjectionToFrame(AbstractOneInputOneOutputOneFramePushRuntime.java:95)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.appendProjectionToFrame(AbstractOneInputOneOutputOneFramePushRuntime.java:90)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.std.StreamProjectRuntimeFactory$1.nextFrame(StreamProjectRuntimeFactory.java:74)
>       at 
> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$2.nextFrame(AlgebricksMetaOperatorDescriptor.java:148)
>       at 
> org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.flush(AbstractFrameAppender.java:83)
>       at 
> org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.close(IndexSearchOperatorNodePushable.java:196)
>       ... 10 more
> Caused by: 
> org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: 
> java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:69)
>       at 
> org.apache.hyracks.algebricks.runtime.writers.PrinterBasedWriterFactory$1.printTuple(PrinterBasedWriterFactory.java:66)
>       at 
> org.apache.hyracks.algebricks.runtime.serializer.ResultSerializerFactoryProvider$1$1.appendTuple(ResultSerializerFactoryProvider.java:69)
>       ... 19 more
> Caused by: java.lang.IllegalStateException: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>       at 
> org.apache.asterix.dataflow.data.nontagged.printers.json.clean.schema.ARecordPrinterFactory$1.print(ARecordPrinterFactory.java:65)
>       ... 21 more
> Caused by: java.lang.IllegalStateException: 
> java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:265)
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:227)
>       ... 22 more
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 85030
>       at 
> org.apache.asterix.dataflow.data.nontagged.serde.AInt32SerializerDeserializer.getInt(AInt32SerializerDeserializer.java:50)
>       at 
> org.apache.asterix.dataflow.data.nontagged.serde.ARecordSerializerDeserializer.getRecordLength(ARecordSerializerDeserializer.java:226)
>       at 
> org.apache.asterix.om.util.NonTaggedFormatUtil.getFieldValueLength(NonTaggedFormatUtil.java:165)
>       at 
> org.apache.asterix.om.pointables.ARecordVisitablePointable.set(ARecordVisitablePointable.java:218)
>       ... 23 more
> {noformat}



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

Reply via email to