Uploaded image for project: 'Apache AsterixDB'
  1. Apache AsterixDB
  2. ASTERIXDB-1334

[IndexOutOfBoundsException/ArrayIndexOutOfBoundsException] Malformed records' offset and length on nested ADM types

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • None
    • TYPE - Data Model
    • None

    Description

      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:

      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
      

      DML:

      load dataset tweetDataset using localfs
      (("path"="127.0.0.1:///path/to/tweet.json"),("format"="adm"))
      

      AQL:

      //AQL1: IndexOutOfBoundsException
      for $x in dataset tweetDataset
      return $x.raw_source.user.entities
      
      //AQL2: ArrayIndexOutOfBoundsException
      for $x in dataset tweetDataset
      return $x
      

      Log for AQL1:

      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
      
      

      Log for AQL2:

      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
      

      Attachments

        Activity

          People

            wyk Wail Y. Alkowaileet
            wyk Wail Y. Alkowaileet
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: