[ https://issues.apache.org/jira/browse/ASTERIXDB-2235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16841819#comment-16841819 ]
Ali Alsuliman commented on ASTERIXDB-2235: ------------------------------------------ [~tillw] can we close this issue? it does not seem to be related to normalization? > Normalization exception during a sort > ------------------------------------- > > Key: ASTERIXDB-2235 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-2235 > Project: Apache AsterixDB > Issue Type: Bug > Affects Versions: 0.9.4 > Reporter: Taewoo Kim > Assignee: Ali Alsuliman > Priority: Major > Labels: triaged > Fix For: 0.9.4.2 > > > A Twittermap query generates that exception during an execution. And the node > becomes unavailable. > {code} > Jan 09, 2018 5:09:28 PM org.apache.hyracks.control.nc.Task run > WARNING: Task TAID:TID:ANID:ODID:2:0:7:0 failed with exception > org.apache.hyracks.api.exceptions.HyracksDataException: > java.lang.IllegalStateException: Corrupted string bytes: trying to access > entry 318767187 in a byte array of length 32768 > at > org.apache.hyracks.api.exceptions.HyracksDataException.create(HyracksDataException.java:48) > at org.apache.hyracks.control.nc.Task.pushFrames(Task.java:418) > at org.apache.hyracks.control.nc.Task.run(Task.java:323) > 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:744) > Caused by: java.lang.IllegalStateException: Corrupted string bytes: trying to > access entry 318767187 in a byte array of length 32768 > at > org.apache.hyracks.util.encoding.VarLenIntEncoderDecoder.decode(VarLenIntEncoderDecoder.java:82) > at > org.apache.hyracks.data.std.primitive.ByteArrayPointable.getContentLength(ByteArrayPointable.java:154) > at > org.apache.hyracks.data.std.primitive.ByteArrayPointable.normalize(ByteArrayPointable.java:174) > at > org.apache.hyracks.dataflow.common.data.normalizers.ByteArrayNormalizedKeyComputerFactory$1.normalize(ByteArrayNormalizedKeyComputerFactory.java:34) > at > org.apache.asterix.dataflow.data.nontagged.keynormalizers.AWrappedAscNormalizedKeyComputerFactory$1.normalize(AWrappedAscNormalizedKeyComputerFactory.java:46) > at > org.apache.hyracks.api.dataflow.value.INormalizedKeyComputer.normalize(INormalizedKeyComputer.java:25) > at > org.apache.hyracks.dataflow.std.sort.AbstractFrameSorter.sort(AbstractFrameSorter.java:193) > at > org.apache.hyracks.dataflow.std.sort.AbstractSortRunGenerator.close(AbstractSortRunGenerator.java:48) > at > org.apache.hyracks.dataflow.std.sort.AbstractSorterOperatorDescriptor$SortActivity$1.close(AbstractSorterOperatorDescriptor.java:132) > at org.apache.hyracks.control.nc.Task.pushFrames(Task.java:409) > ... 4 more > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)