hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17680) Run mini cluster through JNI in tests
Date Tue, 28 Feb 2017 20:30:45 GMT

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

Enis Soztutar commented on HBASE-17680:
---------------------------------------

It is failing like this: 
{code}
====STANDARD ERR====

PASS    <100ms  3 Passed   0 Skipped   0 Failed   //core:get-test
PASS    <100ms 17 Passed   0 Skipped   0 Failed   //core:hbase_configuration-test
FAIL    <100ms  0 Passed   0 Skipped   1 Failed   //core:location-cache-test
FAILURE //core:location-cache-test main: test program aborted before finishing

====STANDARD OUT====
Running main() from gmock_main.cc
[==========] Running 3 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 3 tests from LocationCacheTest
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0228 20:25:37.822675 30820 mini-cluster.cc:57] set clspath 0
I0228 20:25:37.890406 30820 mini-cluster.cc:77] Launched JVM! -Djava.class.path=/usr/src/buck/build/bootstrapper/bootstrapper.jar:/home/enis/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/home/enis/.m2/repository/asm/asm/3.1/asm-3.1.jar:/home/enis/.m2/repository/com/github/stephenc/findbugs/findbugs-annotations/1.3.9-1/findbugs-annotations-1.3.9-1.jar:/home/enis/.m2/repository/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar:/home/enis/.m2/repository/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar:/home/enis/.m2/repository/com/google/guava/guava/12.0.1/guava-12.0.1.jar:/home/enis/.m2/repository/com/google/inject/guice/3.0/guice-3.0.jar:/home/enis/.m2/repository/com/google/inject/extensions/guice-servlet/3.0/guice-servlet-3.0.jar:/home/enis/.m2/repository/com/google/protobuf/protobuf-java/2.5.0/protobuf-java-2.5.0.jar:/home/enis/.m2/repository/com/jamesmurty/utils/java-xmlbuilder/0.4/java-xmlbuilder-0.4.jar:/home/enis/.m2/repository/com/jcraft/jsch/0.1.42/jsch-0.1.42.jar:/home/enis/.m2/repository/com/lmax/disruptor/3.3.0/disruptor-3.3.0.jar:/home/enis/.m2/repository/com/sun/jersey/jersey-client/1.9/jersey-client-1.9.jar:/home/enis/.m2/repository/com/sun/jersey/jersey-core/1.9/jersey-core-1.9.jar:/home/enis/.m2/repository/com/sun/jersey/jersey-json/1.9/jersey-json-1.9.jar:/home/enis/.m2/repository/com/sun/jersey/jersey-server/1.9/jersey-server-1.9.jar:/home/enis/.m2/repository/com/sun/jersey/contribs/jersey-guice/1.9/jersey-guice-1.9.jar:/home/enis/.m2/repository/com/sun/xml/bind/jaxb-impl/2.2.3-1/jaxb-impl-2.2.3-1.jar:/home/enis/.m2/repository/com/thoughtworks/paranamer/paranamer/2.3/paranamer-2.3.jar:/home/enis/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar:/home/enis/.m2/repository/commons-beanutils/commons-beanutils-core/1.8.3/commons-beanutils-core-1.8.3.jar:/home/enis/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar:/home/enis/.m2/repository/commons-codec/commons-codec/1.9/commons-codec-1.9.jar:/home/enis/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar:/home/enis/.m2/repository/commons-configuration/commons-configuration/1.6/commons-configuration-1.6.jar:/home/enis/.m2/repository/commons-daemon/commons-daemon/1.0.13/commons-daemon-1.0.13.jar:/home/enis/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar:/home/enis/.m2/repository/commons-el/commons-el/1.0/commons-el-1.0.jar:/home/enis/.m2/repository/commons-fileupload/commons-fileupload/1.3.1/commons-fileupload-1.3.1.jar:/home/enis/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar:/home/enis/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar:/home/enis/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar:/home/enis/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar:/home/enis/.m2/repository/commons-net/commons-net/3.1/commons-net-3.1.jar:/home/enis/.m2/repository/io/dropwizard/metrics/metrics-core/3.1.2/metrics-core-3.1.2.jar:/home/enis/.m2/repository/io/netty/netty-all/4.1.1.Final/netty-all-4.1.1.Final.jar:/home/enis/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar:/home/enis/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/home/enis/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar:/home/enis/.m2/repository/javax/xml/bind/jaxb-api/2.2.2/jaxb-api-2.2.2.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.102-1.b14.el7_2.x86_64/jre/../lib/tools.jar:/home/enis/.m2/repository/junit/junit/4.12/junit-4.12.jar:/home/enis/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar:/home/enis/.m2/repository/net/java/dev/jets3t/jets3t/0.9.0/jets3t-0.9.0.jar:/home/enis/.m2/repository/net/sourceforge/nekohtml/nekohtml/1.9.16/nekohtml-1.9.16.jar:/home/enis/.m2/repository/org/apache/avro/avro/1.7.6/avro-1.7.6.jar:/home/enis/.m2/repository/org/apache/commons/commons-compress/1.4.1/commons-compress-1.4.1.jar:/home/enis/.m2/repository/org/apache/commons/commons-math/2.2/commons-math-2.2.jar:/home/enis/.m2/repository/org/apache/commons/commons-math3/3.1.1/commons-math3-3.1.1.jar:/home/enis/.m2/repository/org/apache/curator/curator-client/2.7.1/curator-client-2.7.1.jar:/home/enis/.m2/repository/org/apache/curator/curator-framework/2.7.1/curator-framework-2.7.1.jar:/home/enis/.m2/repository/org/apache/curator/curator-recipes/2.7.1/curator-recipes-2.7.1.jar:/home/enis/.m2/repository/org/apache/directory/api/api-asn1-api/1.0.0-M20/api-asn1-api-1.0.0-M20.jar:/home/enis/.m2/repository/org/apache/directory/api/api-util/1.0.0-M20/api-util-1.0.0-M20.jar:/home/enis/.m2/repository/org/apache/directory/server/apacheds-i18n/2.0.0-M15/apacheds-i18n-2.0.0-M15.jar:/home/enis/.m2/repository/org/apache/directory/server/apacheds-kerberos-codec/2.0.0-M15/apacheds-kerberos-codec-2.0.0-M15.jar:/home/enis/.m2/repository/org/apache/hadoop/hadoop-annotations/2.7.1/hadoop-annotations-2.7.1.jar:/home/enis/.m2/repository/org/apache/hadoop/hadoop-auth/2.7.1/hadoop-auth-2.7.1.jar:/home/enis/.m2/repository/org/apache/hadoop/hadoop-client/2.7.1/hadoop-client-2.7.1.jar:/home/enis/.m2/repository/org/apache/hadoop/hadoop-common/2.7.1/hadoop-common-2.7.1.jar:/home/enis/.m2/repository/org/apache/hadoop/hadoop-common/2.7.1/hadoop-common-2.7.1-tests.jar:/home/enis/.m2/repository/org/apache/hadoop/hadoop-hdfs/2.7.1/hadoop-hdfs-2.7.1.jar:/home/enis/.m2/repository/org/apache/hadoop/hadoop-hdfs/2.7.1/hadoop-hdfs-2.7.1-tests.jar:/home/enis/.m2/repository/org/apache/hadoop/hadoop-mapreduce-client-app/2.7.1/hadoop-mapreduce-client-app-2.7.1.jar:/home/enis/.m2/repository/org/apache/hadoop/hadoop-mapreduce-client-common/2.7.1/hadoop-mapreduce-client-common-2.7.1.jar:/home/enis/.m2/repository/org/apache/hadoop/hadoop-mapreduce-client-core/2.7.1/hadoop-mapreduce-client-core-2.7.1.jar:/home/enis/.m2/repository/org/apache/hadoop/hadoop-mapreduce-client-hs/2.7.1/hadoop-mapreduce-client-hs-2.7.1.jar:/home/enis/.m2/repository/org/apache/hadoop/hadoop-mapreduce-client-jobclient/2.7.1/hadoop-mapreduce-client-jobclient-2.7.1.jar:/home/enis/.m2/repository/org/apache/hadoop/hadoop-mapreduce-client-jobclient/2.7.1/hadoop-mapreduce-client-jobclient-2.7.1-tests.jar:/home/enis/.m2/repository/org/apache/hadoop/hadoop-mapreduce-client-shuffle/2.7.1/hadoop-mapreduce-client-shuffle-2.7.1.jar:/home/enis/.m2/repository/org/apache/hadoop/hadoop-minicluster/2.7.1/hadoop-minicluster-2.7.1.jar:/home/enis/.m2/repository/org/apache/hadoop/hadoop-yarn-api/2.7.1/hadoop-yarn-api-2.7.1.jar:/home/enis/.m2/repository/org/apache/hadoop/hadoop-yarn-client/2.7.1/hadoop-yarn-client-2.7.1.jar:/home/enis/.m2/repository/org/apache/hadoop/hadoop-yarn-common/2.7.1/hadoop-yarn-common-2.7.1.jar:/home/enis/.m2/repository/org/apache/hadoop/hadoop-yarn-server-applicationhistoryservice/2.7.1/hadoop-yarn-server-applicationhistoryservice-2.7.1.jar:/home/enis/.m2/repository/org/apache/hadoop/hadoop-yarn-server-common/2.7.1/hadoop-yarn-server-common-2.7.1.jar:/home/enis/.m2/repository/org/apache/hadoop/hadoop-yarn-server-nodemanager/2.7.1/hadoop-yarn-server-nodemanager-2.7.1.jar:/home/enis/.m2/repository/org/apache/hadoop/hadoop-yarn-server-resourcemanager/2.7.1/hadoop-yarn-server-resourcemanager-2.7.1.jar:/home/enis/.m2/repository/org/apache/hadoop/hadoop-yarn-server-tests/2.7.1/hadoop-yarn-server-tests-2.7.1-tests.jar:/home/enis/.m2/repository/org/apache/hadoop/hadoop-yarn-server-web-proxy/2.7.1/hadoop-yarn-server-web-proxy-2.7.1.jar:/home/enis/projects/hbase/hbase-annotations/target/hbase-annotations-2.0.0-SNAPSHOT.jar:/home/enis/projects/hbase/hbase-annotations/target/hbase-annotations-2.0.0-SNAPSHOT-tests.jar:/home/enis/projects/hbase/hbase-client/target/hbase-client-2.0.0-SNAPSHOT.jar:/home/enis/projects/hbase/hbase-common/target/hbase-common-2.0.0-SNAPSHOT.jar:/home/enis/projects/hbase/hbase-common/target/hbase-common-2.0.0-SNAPSHOT-tests.jar:/home/enis/projects/hbase/hbase-external-blockcache/target/hbase-external-blockcache-2.0.0-SNAPSHOT.jar:/home/enis/projects/hbase/hbase-hadoop-compat/target/hbase-hadoop-compat-2.0.0-SNAPSHOT.jar:/home/enis/projects/hbase/hbase-hadoop-compat/target/hbase-hadoop-compat-2.0.0-SNAPSHOT-tests.jar:/home/enis/projects/hbase/hbase-hadoop2-compat/target/hbase-hadoop2-compat-2.0.0-SNAPSHOT.jar:/home/enis/projects/hbase/hbase-hadoop2-compat/target/hbase-hadoop2-compat-2.0.0-SNAPSHOT-tests.jar:/home/enis/projects/hbase/hbase-it/target/hbase-it-2.0.0-SNAPSHOT-tests.jar:/home/enis/projects/hbase/hbase-prefix-tree/target/hbase-prefix-tree-2.0.0-SNAPSHOT.jar:/home/enis/projects/hbase/hbase-procedure/target/hbase-procedure-2.0.0-SNAPSHOT.jar:/home/enis/projects/hbase/hbase-protocol/target/hbase-protocol-2.0.0-SNAPSHOT.jar:/home/enis/projects/hbase/hbase-resource-bundle/target/hbase-resource-bundle-2.0.0-SNAPSHOT.jar:/home/enis/projects/hbase/hbase-rest/target/hbase-rest-2.0.0-SNAPSHOT.jar:/home/enis/projects/hbase/hbase-rsgroup/target/hbase-rsgroup-2.0.0-SNAPSHOT.jar:/home/enis/projects/hbase/hbase-server/target/hbase-server-2.0.0-SNAPSHOT.jar:/home/enis/projects/hbase/hbase-server/target/hbase-server-2.0.0-SNAPSHOT-tests.jar:/home/enis/projects/hbase/hbase-shell/target/hbase-shell-2.0.0-SNAPSHOT.jar:/home/enis/projects/hbase/hbase-spark/target/hbase-spark-2.0.0-SNAPSHOT.jar:/home/enis/projects/hbase/hbase-testing-util/target/hbase-testing-util-2.0.0-SNAPSHOT.jar:/home/enis/projects/hbase/hbase-thrift/target/hbase-thrift-2.0.0-SNAPSHOT.jar:/home/enis/.m2/repository/org/apache/htrace/htrace-core/3.1.0-incubating/htrace-core-3.1.0-incubating.jar:/home/enis/.m2/repository/org/apache/httpcomponents/httpclient/4.3.6/httpclient-4.3.6.jar:/home/enis/.m2/repository/org/apache/httpcomponents/httpcore/4.4.4/httpcore-4.4.4.jar:/home/enis/.m2/repository/org/apache/thrift/libthrift/0.9.3/libthrift-0.9.3.jar:/home/enis/.m2/repository/org/apache/xmlgraphics/batik-css/1.8/batik-css-1.8.jar:/home/enis/.m2/repository/org/apache/xmlgraphics/batik-ext/1.8/batik-ext-1.8.jar:/home/enis/.m2/repository/org/apache/xmlgraphics/batik-util/1.8/batik-util-1.8.jar:/home/enis/.m2/repository/org/apache/zookeeper/zookeeper/3.4.8/zookeeper-3.4.8.jar:/home/enis/.m2/repository/org/apache/zookeeper/zookeeper/3.4.6/zookeeper-3.4.6-tests.jar:/home/enis/.m2/repository/org/beanshell/bsh-core/2.0b4/bsh-core-2.0b4.jar:/home/enis/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.13/jackson-core-asl-1.9.13.jar:/home/enis/.m2/repository/org/codehaus/jackson/jackson-jaxrs/1.9.13/jackson-jaxrs-1.9.13.jar:/home/enis/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.13/jackson-mapper-asl-1.9.13.jar:/home/enis/.m2/repository/org/codehaus/jackson/jackson-xc/1.9.13/jackson-xc-1.9.13.jar:/home/enis/.m2/repository/org/codehaus/jettison/jettison/1.3.3/jettison-1.3.3.jar:/home/enis/.m2/repository/org/fusesource/leveldbjni/leveldbjni-all/1.8/leveldbjni-all-1.8.jar:/home/enis/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/home/enis/.m2/repository/org/jamon/jamon-runtime/2.4.1/jamon-runtime-2.4.1.jar:/home/enis/.m2/repository/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar:/home/enis/.m2/repository/org/jruby/jcodings/jcodings/1.0.8/jcodings-1.0.8.jar:/home/enis/.m2/repository/org/jruby/joni/joni/2.1.2/joni-2.1.2.jar:/home/enis/.m2/repository/org/mockito/mockito-all/1.10.8/mockito-all-1.10.8.jar:/home/enis/.m2/repository/org/mortbay/jetty/jetty/6.1.26/jetty-6.1.26.jar:/home/enis/.m2/repository/org/mortbay/jetty/jetty-sslengine/6.1.26/jetty-sslengine-6.1.26.jar:/home/enis/.m2/repository/org/mortbay/jetty/jetty-util/6.1.26/jetty-util-6.1.26.jar:/home/enis/.m2/repository/org/mortbay/jetty/jsp-2.1/6.1.14/jsp-2.1-6.1.14.jar:/home/enis/.m2/repository/org/mortbay/jetty/jsp-api-2.1/6.1.14/jsp-api-2.1-6.1.14.jar:/home/enis/.m2/repository/org/mortbay/jetty/servlet-api-2.5/6.1.14/servlet-api-2.5-6.1.14.jar:/home/enis/.m2/repository/org/owasp/antisamy/antisamy/1.5.3/antisamy-1.5.3.jar:/home/enis/.m2/repository/org/owasp/esapi/esapi/2.1.0.1/esapi-2.1.0.1.jar:/home/enis/.m2/repository/org/slf4j/slf4j-api/1.7.7/slf4j-api-1.7.7.jar:/home/enis/.m2/repository/org/slf4j/slf4j-log4j12/1.7.7/slf4j-log4j12-1.7.7.jar:/home/enis/.m2/repository/org/tukaani/xz/1.0/xz-1.0.jar:/home/enis/.m2/repository/org/xerial/snappy/snappy-java/1.0.5/snappy-java-1.0.5.jar:/home/enis/.m2/repository/tomcat/jasper-compiler/5.5.23/jasper-compiler-5.5.23.jar:/home/enis/.m2/repository/tomcat/jasper-runtime/5.5.23/jasper-runtime-5.5.23.jar:/home/enis/.m2/repository/xalan/xalan/2.7.0/xalan-2.7.0.jar:/home/enis/.m2/repository/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar:/home/enis/.m2/repository/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.jar:/home/enis/.m2/repository/xml-apis/xml-apis-ext/1.3.04/xml-apis-ext-1.3.04.jar:/home/enis/.m2/repository/xmlenc/xmlenc/0.52/xmlenc-0.52.jar:/home/enis/.m2/repository/xom/xom/1.2.5/xom-1.2.5.jar
I0228 20:25:37.915246 30820 mini-cluster.cc:123] Couldn't find class HBaseTestingUtility

====STANDARD ERR====

PASS    <100ms  2 Passed   0 Skipped   0 Failed   //core:request_converter-test
PASS    <100ms  2 Passed   0 Skipped   0 Failed   //core:result-test
PASS    <100ms  5 Passed   0 Skipped   0 Failed   //core:scan-test
PASS    <100ms  2 Passed   0 Skipped   0 Failed   //core:time_range-test
TESTS FAILED: 3 FAILURES
Failed target: //core:filter-test
FAIL //core:filter-test
Failed target: //core:location-cache-test
FAIL //core:location-cache-test
Failed target: //core:client-test
FAIL //core:client-test
{code}

Somehow the HBaseTestingUtility cannot be loaded from the classpath (see the above error message).


> Run mini cluster through JNI in tests
> -------------------------------------
>
>                 Key: HBASE-17680
>                 URL: https://issues.apache.org/jira/browse/HBASE-17680
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: 17680.v14.txt, 17680.v17.txt, 17680.v18.txt, 17680.v1.txt, 17680.v20.txt,
17680.v22.txt, 17680.v3.txt, 17680.v8.txt
>
>
> Currently tests start local hbase cluster through hbase shell.
> There is less control over the configuration of the local cluster this way.
> This issue would replace hbase shell with JNI interface to mini cluster.
> We would have full control over the cluster behavior.
> Thanks to [~devaraj] who started this initiative.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message