asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Till (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ASTERIXDB-2235) Normalization exception during a sort
Date Wed, 10 Jan 2018 16:47:00 GMT

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

Till commented on ASTERIXDB-2235:
---------------------------------

 [~wangsaeu] Is this reproducible or do you have a way to find out what data was being sorted?

> Normalization exception during a sort
> -------------------------------------
>
>                 Key: ASTERIXDB-2235
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2235
>             Project: Apache AsterixDB
>          Issue Type: Bug
>            Reporter: Taewoo Kim
>
> 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
(v6.4.14#64029)

Mime
View raw message