Details
-
Bug
-
Status: In Progress
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
Failed tests: TestSortImpl.testLargeBatch:513->runJumboBatchTest:486->runLargeSortTest:455 Value of 1:0 expected:<0> but was:<1>
The test fails due to memory corruption caused by a write out of the direct buffer allocated space. With bounds check enabled, the test fails reliably with
/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/bin/java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:57731,suspend=y,server=n -Dvisualvm.id=131461133353377 -Ddrill.exec.rpc.user.timeout=0 -Ddrill.exec.rpc.bit.timeout=0 -Dlog.path=${DRILL_LOG_DIR}/drill.log -Dlog.query.path=${DRILL_LOG_DIR}/query.log -Djava.io.tmpdir=/Users/vrozov/Projects/Apache/drill/exec/java-exec/target -Xms512m -Xmx4096m -Ddrill.exec.http.enabled=false -Ddrill.exec.sys.store.provider.local.write=false -Dorg.apache.drill.exec.server.Drillbit.system_options=org.apache.drill.exec.compile.ClassTransformer.scalar_replacement=on -Ddrill.test.query.printing.silent=true -Ddrill.catastrophic_to_standard_out=true -XX:MaxPermSize=512M -XX:MaxDirectMemorySize=3072M -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -XX:+CMSClassUnloadingEnabled -ea -Didea.test.cyclic.buffer.size=1048576 -javaagent:/Users/vrozov/Library/Caches/IntelliJIdea2017.3/captureAgent/debugger-agent.jar=/private/var/folders/52/11m3mlk902g_wwp856y3sdvc0000gp/T/capture.props -Dfile.encoding=UTF-8 -classpath "/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/junit/lib/junit-rt.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/junit/lib/junit5-rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/jaccess.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/javaws.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/jfxswt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/management-agent.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/plugin.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/packager.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/tools.jar:/Users/vrozov/Projects/Apache/drill/exec/java-exec/target/test-classes:/Users/vrozov/Projects/Apache/drill/exec/java-exec/target/classes:/Users/vrozov/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/Users/vrozov/.m2/repository/org/apache/kerby/kerb-client/1.0.0-RC2/kerb-client-1.0.0-RC2.jar:/Users/vrozov/.m2/repository/org/apache/kerby/kerby-config/1.0.0-RC2/kerby-config-1.0.0-RC2.jar:/Users/vrozov/.m2/repository/org/apache/kerby/kerb-common/1.0.0-RC2/kerb-common-1.0.0-RC2.jar:/Users/vrozov/.m2/repository/org/apache/kerby/kerb-crypto/1.0.0-RC2/kerb-crypto-1.0.0-RC2.jar:/Users/vrozov/.m2/repository/org/apache/kerby/kerb-util/1.0.0-RC2/kerb-util-1.0.0-RC2.jar:/Users/vrozov/.m2/repository/org/apache/kerby/kerb-core/1.0.0-RC2/kerb-core-1.0.0-RC2.jar:/Users/vrozov/.m2/repository/org/apache/kerby/kerby-asn1/1.0.0-RC2/kerby-asn1-1.0.0-RC2.jar:/Users/vrozov/.m2/repository/org/apache/kerby/kerby-pkix/1.0.0-RC2/kerby-pkix-1.0.0-RC2.jar:/Users/vrozov/.m2/repository/org/apache/kerby/kerby-util/1.0.0-RC2/kerby-util-1.0.0-RC2.jar:/Users/vrozov/.m2/repository/org/apache/kerby/kerb-simplekdc/1.0.0-RC2/kerb-simplekdc-1.0.0-RC2.jar:/Users/vrozov/.m2/repository/org/apache/kerby/kerb-server/1.0.0-RC2/kerb-server-1.0.0-RC2.jar:/Users/vrozov/.m2/repository/org/apache/kerby/kerb-identity/1.0.0-RC2/kerb-identity-1.0.0-RC2.jar:/Users/vrozov/.m2/repository/org/apache/kerby/kerb-admin/1.0.0-RC2/kerb-admin-1.0.0-RC2.jar:/Users/vrozov/.m2/repository/org/ow2/asm/asm-debug-all/5.0.3/asm-debug-all-5.0.3.jar:/Users/vrozov/Projects/Apache/drill/contrib/data/tpch-sample-data/target/classes:/Users/vrozov/.m2/repository/org/apache/commons/commons-pool2/2.1/commons-pool2-2.1.jar:/Users/vrozov/.m2/repository/com/univocity/univocity-parsers/1.3.0/univocity-parsers-1.3.0.jar:/Users/vrozov/.m2/repository/org/apache/commons/commons-math/2.2/commons-math-2.2.jar:/Users/vrozov/.m2/repository/com/thoughtworks/paranamer/paranamer/2.5.6/paranamer-2.5.6.jar:/Users/vrozov/.m2/repository/xerces/xercesImpl/2.11.0/xercesImpl-2.11.0.jar:/Users/vrozov/.m2/repository/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar:/Users/vrozov/.m2/repository/xalan/xalan/2.7.1/xalan-2.7.1.jar:/Users/vrozov/.m2/repository/xalan/serializer/2.7.1/serializer-2.7.1.jar:/Users/vrozov/.m2/repository/com/sun/codemodel/codemodel/2.6/codemodel-2.6.jar:/Users/vrozov/.m2/repository/org/eclipse/jetty/jetty-server/9.1.5.v20140505/jetty-server-9.1.5.v20140505.jar:/Users/vrozov/.m2/repository/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar:/Users/vrozov/.m2/repository/org/eclipse/jetty/jetty-http/9.1.5.v20140505/jetty-http-9.1.5.v20140505.jar:/Users/vrozov/.m2/repository/org/eclipse/jetty/jetty-util/9.1.5.v20140505/jetty-util-9.1.5.v20140505.jar:/Users/vrozov/.m2/repository/org/eclipse/jetty/jetty-io/9.1.5.v20140505/jetty-io-9.1.5.v20140505.jar:/Users/vrozov/.m2/repository/org/eclipse/jetty/jetty-servlet/9.1.5.v20140505/jetty-servlet-9.1.5.v20140505.jar:/Users/vrozov/.m2/repository/org/eclipse/jetty/jetty-security/9.1.5.v20140505/jetty-security-9.1.5.v20140505.jar:/Users/vrozov/.m2/repository/org/eclipse/jetty/jetty-servlets/9.1.5.v20140505/jetty-servlets-9.1.5.v20140505.jar:/Users/vrozov/.m2/repository/org/glassfish/jersey/containers/jersey-container-jetty-servlet/2.8/jersey-container-jetty-servlet-2.8.jar:/Users/vrozov/.m2/repository/org/glassfish/jersey/containers/jersey-container-servlet/2.8/jersey-container-servlet-2.8.jar:/Users/vrozov/.m2/repository/org/glassfish/jersey/containers/jersey-container-servlet-core/2.8/jersey-container-servlet-core-2.8.jar:/Users/vrozov/.m2/repository/org/glassfish/jersey/containers/jersey-container-jetty-http/2.8/jersey-container-jetty-http-2.8.jar:/Users/vrozov/.m2/repository/org/eclipse/jetty/jetty-continuation/9.1.1.v20140108/jetty-continuation-9.1.1.v20140108.jar:/Users/vrozov/.m2/repository/org/eclipse/jetty/jetty-webapp/9.1.1.v20140108/jetty-webapp-9.1.1.v20140108.jar:/Users/vrozov/.m2/repository/org/eclipse/jetty/jetty-xml/9.1.1.v20140108/jetty-xml-9.1.1.v20140108.jar:/Users/vrozov/.m2/repository/org/glassfish/jersey/core/jersey-common/2.8/jersey-common-2.8.jar:/Users/vrozov/.m2/repository/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2.jar:/Users/vrozov/.m2/repository/org/glassfish/jersey/bundles/repackaged/jersey-guava/2.8/jersey-guava-2.8.jar:/Users/vrozov/.m2/repository/org/glassfish/hk2/hk2-api/2.2.0/hk2-api-2.2.0.jar:/Users/vrozov/.m2/repository/org/glassfish/hk2/hk2-utils/2.2.0/hk2-utils-2.2.0.jar:/Users/vrozov/.m2/repository/org/glassfish/hk2/external/aopalliance-repackaged/2.2.0/aopalliance-repackaged-2.2.0.jar:/Users/vrozov/.m2/repository/org/glassfish/hk2/hk2-locator/2.2.0/hk2-locator-2.2.0.jar:/Users/vrozov/.m2/repository/org/glassfish/hk2/osgi-resource-locator/1.0.1/osgi-resource-locator-1.0.1.jar:/Users/vrozov/.m2/repository/org/glassfish/jersey/core/jersey-server/2.8/jersey-server-2.8.jar:/Users/vrozov/.m2/repository/org/glassfish/jersey/core/jersey-client/2.8/jersey-client-2.8.jar:/Users/vrozov/.m2/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar:/Users/vrozov/.m2/repository/javax/ws/rs/javax.ws.rs-api/2.0/javax.ws.rs-api-2.0.jar:/Users/vrozov/.m2/repository/org/glassfish/jersey/media/jersey-media-multipart/2.8/jersey-media-multipart-2.8.jar:/Users/vrozov/.m2/repository/org/glassfish/hk2/external/javax.inject/2.2.0/javax.inject-2.2.0.jar:/Users/vrozov/.m2/repository/org/jvnet/mimepull/mimepull/1.9.3/mimepull-1.9.3.jar:/Users/vrozov/.m2/repository/org/glassfish/jersey/media/jersey-media-json-jackson/2.8/jersey-media-json-jackson-2.8.jar:/Users/vrozov/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.13/jackson-core-asl-1.9.13.jar:/Users/vrozov/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.13/jackson-mapper-asl-1.9.13.jar:/Users/vrozov/.m2/repository/org/codehaus/jackson/jackson-jaxrs/1.9.13/jackson-jaxrs-1.9.13.jar:/Users/vrozov/.m2/repository/org/codehaus/jackson/jackson-xc/1.9.13/jackson-xc-1.9.13.jar:/Users/vrozov/.m2/repository/com/fasterxml/jackson/jaxrs/jackson-jaxrs-json-provider/2.7.9/jackson-jaxrs-json-provider-2.7.9.jar:/Users/vrozov/.m2/repository/com/fasterxml/jackson/jaxrs/jackson-jaxrs-base/2.7.9/jackson-jaxrs-base-2.7.9.jar:/Users/vrozov/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.7.9/jackson-core-2.7.9.jar:/Users/vrozov/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.7.9.1/jackson-databind-2.7.9.1.jar:/Users/vrozov/.m2/repository/com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.7.9/jackson-module-jaxb-annotations-2.7.9.jar:/Users/vrozov/.m2/repository/org/mongodb/mongo-java-driver/3.2.0/mongo-java-driver-3.2.0.jar:/Users/vrozov/.m2/repository/com/fasterxml/jackson/module/jackson-module-afterburner/2.7.9/jackson-module-afterburner-2.7.9.jar:/Users/vrozov/.m2/repository/org/glassfish/jersey/ext/jersey-mvc-freemarker/2.8/jersey-mvc-freemarker-2.8.jar:/Users/vrozov/.m2/repository/org/glassfish/jersey/ext/jersey-mvc/2.8/jersey-mvc-2.8.jar:/Users/vrozov/.m2/repository/org/apache/calcite/calcite-core/1.4.0-drill-r23/calcite-core-1.4.0-drill-r23.jar:/Users/vrozov/.m2/repository/org/apache/calcite/calcite-avatica/1.4.0-drill-r23/calcite-avatica-1.4.0-drill-r23.jar:/Users/vrozov/.m2/repository/org/apache/calcite/calcite-linq4j/1.4.0-drill-r23/calcite-linq4j-1.4.0-drill-r23.jar:/Users/vrozov/.m2/repository/commons-dbcp/commons-dbcp/1.4/commons-dbcp-1.4.jar:/Users/vrozov/.m2/repository/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar:/Users/vrozov/.m2/repository/net/hydromatic/eigenbase-properties/1.1.5/eigenbase-properties-1.1.5.jar:/Users/vrozov/.m2/repository/org/codehaus/janino/janino/2.7.6/janino-2.7.6.jar:/Users/vrozov/.m2/repository/org/codehaus/janino/commons-compiler/2.7.6/commons-compiler-2.7.6.jar:/Users/vrozov/.m2/repository/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.jar:/Users/vrozov/.m2/repository/net/sf/jpam/jpam/1.1/jpam-1.1.jar:/Users/vrozov/.m2/repository/org/bouncycastle/bcpkix-jdk15on/1.52/bcpkix-jdk15on-1.52.jar:/Users/vrozov/.m2/repository/org/bouncycastle/bcprov-jdk15on/1.52/bcprov-jdk15on-1.52.jar:/Users/vrozov/.m2/repository/org/freemarker/freemarker/2.3.26-incubating/freemarker-2.3.26-incubating.jar:/Users/vrozov/.m2/repository/net/hydromatic/foodmart-data-json/0.4/foodmart-data-json-0.4.jar:/Users/vrozov/.m2/repository/org/apache/parquet/parquet-column/1.8.1-drill-r0/parquet-column-1.8.1-drill-r0.jar:/Users/vrozov/.m2/repository/org/apache/parquet/parquet-hadoop/1.8.1-drill-r0/parquet-hadoop-1.8.1-drill-r0.jar:/Users/vrozov/.m2/repository/commons-pool/commons-pool/1.5.4/commons-pool-1.5.4.jar:/Users/vrozov/.m2/repository/org/apache/parquet/parquet-format/2.3.0-incubating/parquet-format-2.3.0-incubating.jar:/Users/vrozov/.m2/repository/org/apache/parquet/parquet-common/1.8.1-drill-r0/parquet-common-1.8.1-drill-r0.jar:/Users/vrozov/.m2/repository/org/apache/parquet/parquet-jackson/1.8.1-drill-r0/parquet-jackson-1.8.1-drill-r0.jar:/Users/vrozov/.m2/repository/org/apache/parquet/parquet-encoding/1.8.1-drill-r0/parquet-encoding-1.8.1-drill-r0.jar:/Users/vrozov/.m2/repository/org/apache/parquet/parquet-generator/1.8.1-drill-r0/parquet-generator-1.8.1-drill-r0.jar:/Users/vrozov/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/Users/vrozov/Projects/Apache/drill/protocol/target/classes:/Users/vrozov/.m2/repository/com/dyuproject/protostuff/protostuff-core/1.0.8/protostuff-core-1.0.8.jar:/Users/vrozov/.m2/repository/com/dyuproject/protostuff/protostuff-api/1.0.8/protostuff-api-1.0.8.jar:/Users/vrozov/.m2/repository/com/dyuproject/protostuff/protostuff-json/1.0.8/protostuff-json-1.0.8.jar:/Users/vrozov/Projects/Apache/drill/common/target/classes:/Users/vrozov/.m2/repository/com/typesafe/config/1.0.0/config-1.0.0.jar:/Users/vrozov/.m2/repository/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1.jar:/Users/vrozov/.m2/repository/org/msgpack/msgpack/0.6.6/msgpack-0.6.6.jar:/Users/vrozov/.m2/repository/com/googlecode/json-simple/json-simple/1.1.1/json-simple-1.1.1.jar:/Users/vrozov/.m2/repository/org/reflections/reflections/0.9.8/reflections-0.9.8.jar:/Users/vrozov/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/Users/vrozov/.m2/repository/org/javassist/javassist/3.16.1-GA/javassist-3.16.1-GA.jar:/Users/vrozov/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.7.9/jackson-annotations-2.7.9.jar:/Users/vrozov/.m2/repository/com/codahale/metrics/metrics-core/3.0.1/metrics-core-3.0.1.jar:/Users/vrozov/.m2/repository/com/codahale/metrics/metrics-servlets/3.0.1/metrics-servlets-3.0.1.jar:/Users/vrozov/.m2/repository/com/codahale/metrics/metrics-healthchecks/3.0.1/metrics-healthchecks-3.0.1.jar:/Users/vrozov/.m2/repository/com/codahale/metrics/metrics-json/3.0.1/metrics-json-3.0.1.jar:/Users/vrozov/.m2/repository/com/codahale/metrics/metrics-jvm/3.0.1/metrics-jvm-3.0.1.jar:/Users/vrozov/.m2/repository/org/antlr/antlr-runtime/3.4/antlr-runtime-3.4.jar:/Users/vrozov/.m2/repository/org/antlr/stringtemplate/3.2.1/stringtemplate-3.2.1.jar:/Users/vrozov/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar:/Users/vrozov/Projects/Apache/drill/logical/target/classes:/Users/vrozov/Projects/Apache/drill/exec/rpc/target/classes:/Users/vrozov/.m2/repository/io/netty/netty-transport-native-epoll/4.0.48.Final/netty-transport-native-epoll-4.0.48.Final-linux-x86_64.jar:/Users/vrozov/Projects/Apache/drill/exec/memory/base/target/classes:/Users/vrozov/Projects/Apache/drill/exec/vector/target/classes:/Users/vrozov/Projects/Apache/drill/common/target/test-classes:/Users/vrozov/.m2/repository/com/beust/jcommander/1.30/jcommander-1.30.jar:/Users/vrozov/.m2/repository/org/apache/curator/curator-x-discovery/2.7.1/curator-x-discovery-2.7.1.jar:/Users/vrozov/.m2/repository/org/apache/curator/curator-recipes/2.7.1/curator-recipes-2.7.1.jar:/Users/vrozov/.m2/repository/org/apache/curator/curator-framework/2.7.1/curator-framework-2.7.1.jar:/Users/vrozov/.m2/repository/org/apache/zookeeper/zookeeper/3.4.6/zookeeper-3.4.6.jar:/Users/vrozov/.m2/repository/jline/jline/0.9.94/jline-0.9.94.jar:/Users/vrozov/.m2/repository/org/apache/curator/curator-test/2.7.1/curator-test-2.7.1.jar:/Users/vrozov/.m2/repository/com/carrotsearch/hppc/0.7.1/hppc-0.7.1.jar:/Users/vrozov/.m2/repository/com/google/protobuf/protobuf-java/2.5.0/protobuf-java-2.5.0.jar:/Users/vrozov/.m2/repository/org/mortbay/jetty/jetty-util/6.1.26/jetty-util-6.1.26.jar:/Users/vrozov/.m2/repository/joda-time/joda-time/2.9/joda-time-2.9.jar:/Users/vrozov/.m2/repository/commons-net/commons-net/3.6/commons-net-3.6.jar:/Users/vrozov/.m2/repository/commons-validator/commons-validator/1.4.1/commons-validator-1.4.1.jar:/Users/vrozov/.m2/repository/commons-beanutils/commons-beanutils/1.8.3/commons-beanutils-1.8.3.jar:/Users/vrozov/.m2/repository/commons-digester/commons-digester/1.8.1/commons-digester-1.8.1.jar:/Users/vrozov/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/Users/vrozov/.m2/repository/org/apache/hadoop/hadoop-common/2.7.0-mapr-1707/hadoop-common-2.7.0-mapr-1707.jar:/Users/vrozov/.m2/repository/org/apache/hadoop/hadoop-annotations/2.7.0-mapr-1707/hadoop-annotations-2.7.0-mapr-1707.jar:/Users/vrozov/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar:/Users/vrozov/.m2/repository/org/apache/commons/commons-math3/3.1.1/commons-math3-3.1.1.jar:/Users/vrozov/.m2/repository/xmlenc/xmlenc/0.52/xmlenc-0.52.jar:/Users/vrozov/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar:/Users/vrozov/.m2/repository/org/mortbay/jetty/jetty/6.1.26/jetty-6.1.26.jar:/Users/vrozov/.m2/repository/javax/servlet/jsp/jsp-api/2.1/jsp-api-2.1.jar:/Users/vrozov/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar:/Users/vrozov/.m2/repository/commons-configuration/commons-configuration/1.6/commons-configuration-1.6.jar:/Users/vrozov/.m2/repository/commons-beanutils/commons-beanutils-core/1.8.0/commons-beanutils-core-1.8.0.jar:/Users/vrozov/.m2/repository/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar:/Users/vrozov/.m2/repository/org/apache/hadoop/hadoop-auth/2.7.0-mapr-1707/hadoop-auth-2.7.0-mapr-1707.jar:/Users/vrozov/.m2/repository/org/apache/httpcomponents/httpclient/4.5.2/httpclient-4.5.2.jar:/Users/vrozov/.m2/repository/org/apache/httpcomponents/httpcore/4.4.4/httpcore-4.4.4.jar:/Users/vrozov/.m2/repository/org/apache/directory/server/apacheds-kerberos-codec/2.0.0-M15/apacheds-kerberos-codec-2.0.0-M15.jar:/Users/vrozov/.m2/repository/org/apache/directory/server/apacheds-i18n/2.0.0-M15/apacheds-i18n-2.0.0-M15.jar:/Users/vrozov/.m2/repository/org/apache/directory/api/api-asn1-api/1.0.0-M20/api-asn1-api-1.0.0-M20.jar:/Users/vrozov/.m2/repository/org/apache/directory/api/api-util/1.0.0-M20/api-util-1.0.0-M20.jar:/Users/vrozov/.m2/repository/com/jcraft/jsch/0.1.42/jsch-0.1.42.jar:/Users/vrozov/.m2/repository/org/apache/curator/curator-client/2.7.1/curator-client-2.7.1.jar:/Users/vrozov/.m2/repository/org/apache/htrace/htrace-core/3.1.0-incubating/htrace-core-3.1.0-incubating.jar:/Users/vrozov/.m2/repository/org/apache/commons/commons-compress/1.4.1/commons-compress-1.4.1.jar:/Users/vrozov/.m2/repository/org/tukaani/xz/1.0/xz-1.0.jar:/Users/vrozov/.m2/repository/org/apache/hadoop/hadoop-common/2.7.0-mapr-1707/hadoop-common-2.7.0-mapr-1707-tests.jar:/Users/vrozov/.m2/repository/org/apache/hadoop/hadoop-client/2.7.0-mapr-1707/hadoop-client-2.7.0-mapr-1707.jar:/Users/vrozov/.m2/repository/org/apache/hadoop/hadoop-hdfs/2.7.0-mapr-1707/hadoop-hdfs-2.7.0-mapr-1707.jar:/Users/vrozov/.m2/repository/org/apache/hadoop/hadoop-mapreduce-client-app/2.7.0-mapr-1707/hadoop-mapreduce-client-app-2.7.0-mapr-1707.jar:/Users/vrozov/.m2/repository/org/apache/hadoop/hadoop-mapreduce-client-common/2.7.0-mapr-1707/hadoop-mapreduce-client-common-2.7.0-mapr-1707.jar:/Users/vrozov/.m2/repository/org/apache/hadoop/hadoop-yarn-client/2.7.0-mapr-1707/hadoop-yarn-client-2.7.0-mapr-1707.jar:/Users/vrozov/.m2/repository/org/apache/hadoop/hadoop-yarn-server-common/2.7.0-mapr-1707/hadoop-yarn-server-common-2.7.0-mapr-1707.jar:/Users/vrozov/.m2/repository/org/apache/hadoop/hadoop-mapreduce-client-shuffle/2.7.0-mapr-1707/hadoop-mapreduce-client-shuffle-2.7.0-mapr-1707.jar:/Users/vrozov/.m2/repository/org/apache/hadoop/hadoop-yarn-api/2.7.0-mapr-1707/hadoop-yarn-api-2.7.0-mapr-1707.jar:/Users/vrozov/.m2/repository/org/apache/hadoop/hadoop-mapreduce-client-core/2.7.0-mapr-1707/hadoop-mapreduce-client-core-2.7.0-mapr-1707.jar:/Users/vrozov/.m2/repository/org/apache/hadoop/hadoop-yarn-common/2.7.0-mapr-1707/hadoop-yarn-common-2.7.0-mapr-1707.jar:/Users/vrozov/.m2/repository/javax/xml/bind/jaxb-api/2.2.2/jaxb-api-2.2.2.jar:/Users/vrozov/.m2/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar:/Users/vrozov/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar:/Users/vrozov/.m2/repository/org/apache/hadoop/hadoop-mapreduce-client-jobclient/2.7.0-mapr-1707/hadoop-mapreduce-client-jobclient-2.7.0-mapr-1707.jar:/Users/vrozov/.m2/repository/org/apache/avro/avro/1.7.7/avro-1.7.7.jar:/Users/vrozov/.m2/repository/org/apache/avro/avro-mapred/1.7.7/avro-mapred-1.7.7.jar:/Users/vrozov/.m2/repository/org/apache/avro/avro-ipc/1.7.7/avro-ipc-1.7.7.jar:/Users/vrozov/.m2/repository/org/apache/velocity/velocity/1.7/velocity-1.7.jar:/Users/vrozov/.m2/repository/org/apache/avro/avro-ipc/1.7.7/avro-ipc-1.7.7-tests.jar:/Users/vrozov/.m2/repository/org/apache/hadoop/hadoop-hdfs/2.7.0-mapr-1707/hadoop-hdfs-2.7.0-mapr-1707-tests.jar:/Users/vrozov/.m2/repository/com/sun/jersey/jersey-server/1.9/jersey-server-1.9.jar:/Users/vrozov/.m2/repository/asm/asm/3.1/asm-3.1.jar:/Users/vrozov/.m2/repository/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13.jar:/Users/vrozov/.m2/repository/org/fusesource/leveldbjni/leveldbjni-all/1.8/leveldbjni-all-1.8.jar:/Users/vrozov/.m2/repository/nl/basjes/parse/httpdlog/httpdlog-parser/2.4/httpdlog-parser-2.4.jar:/Users/vrozov/.m2/repository/nl/basjes/parse/parser-core/2.4/parser-core-2.4.jar:/Users/vrozov/.m2/repository/org/glassfish/javax.json/1.0.4/javax.json-1.0.4.jar:/Users/vrozov/.m2/repository/org/kohsuke/libpam4j/1.8-rev1/libpam4j-1.8-rev1.jar:/Users/vrozov/.m2/repository/net/java/dev/jna/jna/4.5.0/jna-4.5.0.jar:/Users/vrozov/.m2/repository/io/netty/netty-tcnative/2.0.1.Final/netty-tcnative-2.0.1.Final.jar:/Users/vrozov/.m2/repository/com/mapr/hadoop/maprfs/5.2.1-mapr/maprfs-5.2.1-mapr.jar:/Users/vrozov/.m2/repository/com/tdunning/json/1.8/json-1.8.jar:/Users/vrozov/.m2/repository/commons-codec/commons-codec/1.10/commons-codec-1.10.jar:/Users/vrozov/.m2/repository/io/netty/netty-handler/4.0.48.Final/netty-handler-4.0.48.Final.jar:/Users/vrozov/.m2/repository/io/netty/netty-buffer/4.0.48.Final/netty-buffer-4.0.48.Final.jar:/Users/vrozov/.m2/repository/io/netty/netty-transport/4.0.48.Final/netty-transport-4.0.48.Final.jar:/Users/vrozov/.m2/repository/io/netty/netty-codec/4.0.48.Final/netty-codec-4.0.48.Final.jar:/Users/vrozov/.m2/repository/io/netty/netty-common/4.0.48.Final/netty-common-4.0.48.Final.jar:/Users/vrozov/.m2/repository/com/google/guava/guava/18.0/guava-18.0.jar:/Users/vrozov/.m2/repository/org/slf4j/slf4j-api/1.7.6/slf4j-api-1.7.6.jar:/Users/vrozov/.m2/repository/org/slf4j/jul-to-slf4j/1.7.6/jul-to-slf4j-1.7.6.jar:/Users/vrozov/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.6/jcl-over-slf4j-1.7.6.jar:/Users/vrozov/.m2/repository/org/slf4j/log4j-over-slf4j/1.7.6/log4j-over-slf4j-1.7.6.jar:/Users/vrozov/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar:/Users/vrozov/.m2/repository/com/googlecode/jmockit/jmockit/1.3/jmockit-1.3.jar:/Users/vrozov/.m2/repository/junit/junit/4.11/junit-4.11.jar:/Users/vrozov/.m2/repository/org/mockito/mockito-core/1.9.5/mockito-core-1.9.5.jar:/Users/vrozov/.m2/repository/org/objenesis/objenesis/1.0/objenesis-1.0.jar:/Users/vrozov/.m2/repository/ch/qos/logback/logback-classic/1.0.13/logback-classic-1.0.13.jar:/Users/vrozov/.m2/repository/ch/qos/logback/logback-core/1.0.13/logback-core-1.0.13.jar:/Users/vrozov/.m2/repository/de/huxhorn/lilith/de.huxhorn.lilith.logback.appender.multiplex-classic/0.9.44/de.huxhorn.lilith.logback.appender.multiplex-classic-0.9.44.jar:/Users/vrozov/.m2/repository/de/huxhorn/sulky/de.huxhorn.sulky.codec/0.9.17/de.huxhorn.sulky.codec-0.9.17.jar:/Users/vrozov/.m2/repository/de/huxhorn/sulky/de.huxhorn.sulky.io/0.9.17/de.huxhorn.sulky.io-0.9.17.jar:/Users/vrozov/.m2/repository/de/huxhorn/lilith/de.huxhorn.lilith.logback.converter-classic/0.9.44/de.huxhorn.lilith.logback.converter-classic-0.9.44.jar:/Users/vrozov/.m2/repository/de/huxhorn/lilith/de.huxhorn.lilith.data.converter/0.9.44/de.huxhorn.lilith.data.converter-0.9.44.jar:/Users/vrozov/.m2/repository/de/huxhorn/lilith/de.huxhorn.lilith.logback.classic/0.9.44/de.huxhorn.lilith.logback.classic-0.9.44.jar:/Users/vrozov/.m2/repository/de/huxhorn/lilith/de.huxhorn.lilith.data.logging/0.9.44/de.huxhorn.lilith.data.logging-0.9.44.jar:/Users/vrozov/.m2/repository/de/huxhorn/sulky/de.huxhorn.sulky.formatting/0.9.17/de.huxhorn.sulky.formatting-0.9.17.jar:/Users/vrozov/.m2/repository/de/huxhorn/lilith/de.huxhorn.lilith.data.eventsource/0.9.44/de.huxhorn.lilith.data.eventsource-0.9.44.jar:/Users/vrozov/.m2/repository/de/huxhorn/lilith/de.huxhorn.lilith.logback.appender.multiplex-core/0.9.44/de.huxhorn.lilith.logback.appender.multiplex-core-0.9.44.jar:/Users/vrozov/.m2/repository/de/huxhorn/lilith/de.huxhorn.lilith.sender/0.9.44/de.huxhorn.lilith.sender-0.9.44.jar:/Users/vrozov/.m2/repository/de/huxhorn/lilith/de.huxhorn.lilith.data.logging.protobuf/0.9.44/de.huxhorn.lilith.data.logging.protobuf-0.9.44.jar:/Users/vrozov/.m2/repository/org/xerial/snappy/snappy-java/1.1.2.6/snappy-java-1.1.2.6.jar:./exec/jdbc/src/test/resources/storage-plugins.json" com.intellij.rt.execution.junit.JUnitStarter -ideVersion5 -junit4 org.apache.drill.exec.physical.impl.xsort.managed.TestSortImpl,testLargeBatch Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512M; support was removed in 8.0 objc[23526]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/bin/java (0x10df1c4c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x10dfef4e0). One of the two will be used. Which one is undefined. Connected to the target VM, address: '127.0.0.1:57731', transport: 'socket' Running org.apache.drill.exec.physical.impl.xsort.managed.TestSortImpl#testLargeBatch 20:16:24.942 [main] ERROR org.apache.drill.TestReporter - Test Failed (d: 1 B(1 B), h: 79.6 MiB(123.0 MiB), nh: 15.0 MiB(34.6 MiB)): testLargeBatch(org.apache.drill.exec.physical.impl.xsort.managed.TestSortImpl) java.lang.IndexOutOfBoundsException: index: 262144, length: 4 (expected: range(0, 262144)) at io.netty.buffer.DrillBuf.checkIndexD(DrillBuf.java:122) ~[classes/:4.0.48.Final] at io.netty.buffer.DrillBuf.chk(DrillBuf.java:146) ~[classes/:4.0.48.Final] at io.netty.buffer.DrillBuf.unsafePutInt(DrillBuf.java:898) ~[classes/:4.0.48.Final] at org.apache.drill.exec.vector.accessor.writer.OffsetVectorWriter.fillEmpties(OffsetVectorWriter.java:234) ~[classes/:na] at org.apache.drill.exec.vector.accessor.writer.AbstractFixedWidthWriter.setValueCount(AbstractFixedWidthWriter.java:240) ~[classes/:na] at org.apache.drill.exec.vector.accessor.writer.OffsetVectorWriter.endWrite(OffsetVectorWriter.java:271) ~[classes/:na] at org.apache.drill.exec.vector.accessor.writer.BaseVarWidthWriter.endWrite(BaseVarWidthWriter.java:146) ~[classes/:na] at org.apache.drill.exec.vector.accessor.writer.AbstractTupleWriter.endWrite(AbstractTupleWriter.java:330) ~[classes/:na] at org.apache.drill.test.rowSet.RowSetWriterImpl.done(RowSetWriterImpl.java:146) ~[test-classes/:na] at org.apache.drill.test.rowSet.RowSetBuilder.build(RowSetBuilder.java:123) ~[test-classes/:na] at org.apache.drill.exec.physical.impl.xsort.managed.TestSortImpl$DataGenerator.nextRowSet(TestSortImpl.java:363) ~[test-classes/:na] at org.apache.drill.exec.physical.impl.xsort.managed.TestSortImpl.runLargeSortTest(TestSortImpl.java:423) ~[test-classes/:na] at org.apache.drill.exec.physical.impl.xsort.managed.TestSortImpl.runJumboBatchTest(TestSortImpl.java:471) ~[test-classes/:na] at org.apache.drill.exec.physical.impl.xsort.managed.TestSortImpl.testLargeBatch(TestSortImpl.java:498) ~[test-classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_144] at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68) [junit-rt.jar:na] at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47) [junit-rt.jar:na] at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242) [junit-rt.jar:na] at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70) [junit-rt.jar:na] java.lang.IndexOutOfBoundsException: index: 262144, length: 4 (expected: range(0, 262144)) at io.netty.buffer.DrillBuf.checkIndexD(DrillBuf.java:122) at io.netty.buffer.DrillBuf.chk(DrillBuf.java:146) at io.netty.buffer.DrillBuf.unsafePutInt(DrillBuf.java:898) at org.apache.drill.exec.vector.accessor.writer.OffsetVectorWriter.fillEmpties(OffsetVectorWriter.java:234) at org.apache.drill.exec.vector.accessor.writer.AbstractFixedWidthWriter.setValueCount(AbstractFixedWidthWriter.java:240) at org.apache.drill.exec.vector.accessor.writer.OffsetVectorWriter.endWrite(OffsetVectorWriter.java:271) at org.apache.drill.exec.vector.accessor.writer.BaseVarWidthWriter.endWrite(BaseVarWidthWriter.java:146) at org.apache.drill.exec.vector.accessor.writer.AbstractTupleWriter.endWrite(AbstractTupleWriter.java:330) at org.apache.drill.test.rowSet.RowSetWriterImpl.done(RowSetWriterImpl.java:146) at org.apache.drill.test.rowSet.RowSetBuilder.build(RowSetBuilder.java:123) at org.apache.drill.exec.physical.impl.xsort.managed.TestSortImpl$DataGenerator.nextRowSet(TestSortImpl.java:363) at org.apache.drill.exec.physical.impl.xsort.managed.TestSortImpl.runLargeSortTest(TestSortImpl.java:423) at org.apache.drill.exec.physical.impl.xsort.managed.TestSortImpl.runJumboBatchTest(TestSortImpl.java:471) at org.apache.drill.exec.physical.impl.xsort.managed.TestSortImpl.testLargeBatch(TestSortImpl.java:498) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.lang.reflect.Method.invoke(Method.java:498) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68) at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47) at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70) Suppressed: java.lang.IllegalStateException: Allocator[ROOT] closed with outstanding buffers allocated (3). Allocator(ROOT) 0/1572864/2097152/3221225472 (res/actual/peak/limit) child allocators: 0 ledgers: 3 ledger[36] allocator: ROOT), isOwning: true, size: 1048576, references: 1, life: 131492636109442..0, allocatorManager: [36, life: 131492636032897..0] holds 1 buffers. DrillBuf[37], udle: [37 0..1048576] ledger[35] allocator: ROOT), isOwning: true, size: 262144, references: 1, life: 131492625821800..0, allocatorManager: [35, life: 131492625778906..0] holds 1 buffers. DrillBuf[36], udle: [36 0..262144] ledger[34] allocator: ROOT), isOwning: true, size: 262144, references: 1, life: 131492625159049..0, allocatorManager: [34, life: 131492625086922..0] holds 1 buffers. DrillBuf[35], udle: [35 0..262144] reservations: 0 at org.apache.drill.exec.memory.BaseAllocator.close(BaseAllocator.java:503) at org.apache.drill.test.OperatorFixture.close(OperatorFixture.java:279) at org.apache.drill.exec.physical.impl.xsort.managed.TestSortImpl.testLargeBatch(TestSortImpl.java:499) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at mockit.integration.junit4.internal.JUnit4TestRunnerDecorator.executeTestMethod(JUnit4TestRunnerDecorator.java:120) at mockit.integration.junit4.internal.JUnit4TestRunnerDecorator.invokeExplosively(JUnit4TestRunnerDecorator.java:65) at mockit.integration.junit4.internal.MockFrameworkMethod.invokeExplosively(MockFrameworkMethod.java:29) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at mockit.internal.util.MethodReflection.invokeWithCheckedThrows(MethodReflection.java:95) at mockit.internal.annotations.MockMethodBridge.callMock(MockMethodBridge.java:76) at mockit.internal.annotations.MockMethodBridge.invoke(MockMethodBridge.java:41) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.junit.runner.JUnitCore.run(JUnitCore.java:160) ... 4 more Disconnected from the target VM, address: '127.0.0.1:57731', transport: 'socket'
Attachments
Issue Links
- Is contained by
-
DRILL-6080 Sort incorrectly limits batch size to 65535 records rather than 65536
- Resolved