[ https://issues.apache.org/jira/browse/TEPHRA-238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16154253#comment-16154253 ]
Andreas Neumann commented on TEPHRA-238: ---------------------------------------- We could add reflection to the test class but the idea of a compat module is to avoid that... I could see that it is not a big deal for tests only. Let me see what else I find. > Support HBase 1.3.x > ------------------- > > Key: TEPHRA-238 > URL: https://issues.apache.org/jira/browse/TEPHRA-238 > Project: Tephra > Issue Type: Improvement > Components: core > Affects Versions: 0.12.0-incubating > Environment: Phoenix 4.11.0 > HBase 1.3.1 > Reporter: Francis Chuang > Assignee: Poorna Chandra > Priority: Minor > Fix For: 0.13.0-incubating > > > It would be nice if tephra can be made to be compatible with HBase 1.3.1. > I am using the apache-phoenix-4.11.0-HBase-1.3 release with HBase 1.3.1 and > tephra logs the following when starting: > {code:java} > Wed Jul 19 00:36:32 UTC 2017 Starting tephra service on > mf82633-phoenix.mf82633 > -f: file size (blocks) unlimited > -t: cpu time (seconds) unlimited > -d: data seg size (kb) unlimited > -s: stack size (kb) 8192 > -c: core file size (blocks) unlimited > -m: resident set size (kb) unlimited > -l: locked memory (kb) 64 > -p: processes unlimited > -n: file descriptors 1048576 > -v: address space (kb) unlimited > -w: locks unlimited > -e: scheduling priority 0 > -r: real-time priority 0 > Command: /usr/lib/jvm/java-1.8-openjdk/jre/bin/java -XX:+UseConcMarkSweepGC > -cp > /opt/hbase/bin/../lib/*:/opt/hbase/bin/../conf/:/opt/hbase/phoenix-client/target/*:/opt/hbase/conf:/usr/lib/jvm/java-1.8-openjdk/jre/lib/tools.jar:/opt/hbase:/opt/hbase/lib/activation-1.1.jar:/opt/hbase/lib/aopalliance-1.0.jar:/opt/hbase/lib/apacheds-i18n-2.0.0-M15.jar:/opt/hbase/lib/apacheds-kerberos-codec-2.0.0-M15.jar:/opt/hbase/lib/api-asn1-api-1.0.0-M20.jar:/opt/hbase/lib/api-util-1.0.0-M20.jar:/opt/hbase/lib/asm-3.1.jar:/opt/hbase/lib/avro-1.7.4.jar:/opt/hbase/lib/commons-beanutils-1.7.0.jar:/opt/hbase/lib/commons-beanutils-core-1.8.0.jar:/opt/hbase/lib/commons-cli-1.2.jar:/opt/hbase/lib/commons-codec-1.9.jar:/opt/hbase/lib/commons-collections-3.2.2.jar:/opt/hbase/lib/commons-compress-1.4.1.jar:/opt/hbase/lib/commons-configuration-1.6.jar:/opt/hbase/lib/commons-daemon-1.0.13.jar:/opt/hbase/lib/commons-digester-1.8.jar:/opt/hbase/lib/commons-el-1.0.jar:/opt/hbase/lib/commons-httpclient-3.1.jar:/opt/hbase/lib/commons-io-2.4.jar:/opt/hbase/lib/commons-lang-2.6.jar:/opt/hbase/lib/commons-logging-1.2.jar:/opt/hbase/lib/commons-math-2.2.jar:/opt/hbase/lib/commons-math3-3.1.1.jar:/opt/hbase/lib/commons-net-3.1.jar:/opt/hbase/lib/disruptor-3.3.0.jar:/opt/hbase/lib/findbugs-annotations-1.3.9-1.jar:/opt/hbase/lib/guice-3.0.jar:/opt/hbase/lib/guice-servlet-3.0.jar:/opt/hbase/lib/hadoop-annotations-2.5.1.jar:/opt/hbase/lib/hadoop-auth-2.5.1.jar:/opt/hbase/lib/hadoop-client-2.5.1.jar:/opt/hbase/lib/hadoop-common-2.5.1.jar:/opt/hbase/lib/hadoop-hdfs-2.5.1.jar:/opt/hbase/lib/hadoop-mapreduce-client-app-2.5.1.jar:/opt/hbase/lib/hadoop-mapreduce-client-common-2.5.1.jar:/opt/hbase/lib/hadoop-mapreduce-client-core-2.5.1.jar:/opt/hbase/lib/hadoop-mapreduce-client-jobclient-2.5.1.jar:/opt/hbase/lib/hadoop-mapreduce-client-shuffle-2.5.1.jar:/opt/hbase/lib/hadoop-yarn-api-2.5.1.jar:/opt/hbase/lib/hadoop-yarn-client-2.5.1.jar:/opt/hbase/lib/hadoop-yarn-common-2.5.1.jar:/opt/hbase/lib/hadoop-yarn-server-common-2.5.1.jar:/opt/hbase/lib/hbase-annotations-1.3.1-tests.jar:/opt/hbase/lib/hbase-annotations-1.3.1.jar:/opt/hbase/lib/hbase-client-1.3.1.jar:/opt/hbase/lib/hbase-common-1.3.1-tests.jar:/opt/hbase/lib/hbase-common-1.3.1.jar:/opt/hbase/lib/hbase-examples-1.3.1.jar:/opt/hbase/lib/hbase-external-blockcache-1.3.1.jar:/opt/hbase/lib/hbase-hadoop-compat-1.3.1.jar:/opt/hbase/lib/hbase-hadoop2-compat-1.3.1.jar:/opt/hbase/lib/hbase-it-1.3.1-tests.jar:/opt/hbase/lib/hbase-it-1.3.1.jar:/opt/hbase/lib/hbase-prefix-tree-1.3.1.jar:/opt/hbase/lib/hbase-procedure-1.3.1.jar:/opt/hbase/lib/hbase-protocol-1.3.1.jar:/opt/hbase/lib/hbase-resource-bundle-1.3.1.jar:/opt/hbase/lib/hbase-rest-1.3.1.jar:/opt/hbase/lib/hbase-server-1.3.1-tests.jar:/opt/hbase/lib/hbase-server-1.3.1.jar:/opt/hbase/lib/hbase-shell-1.3.1.jar:/opt/hbase/lib/hbase-thrift-1.3.1.jar:/opt/hbase/lib/htrace-core-3.1.0-incubating.jar:/opt/hbase/lib/httpclient-4.2.5.jar:/opt/hbase/lib/httpcore-4.4.1.jar:/opt/hbase/lib/jackson-core-asl-1.9.13.jar:/opt/hbase/lib/jackson-jaxrs-1.9.13.jar:/opt/hbase/lib/jackson-mapper-asl-1.9.13.jar:/opt/hbase/lib/jackson-xc-1.9.13.jar:/opt/hbase/lib/jamon-runtime-2.4.1.jar:/opt/hbase/lib/jasper-compiler-5.5.23.jar:/opt/hbase/lib/jasper-runtime-5.5.23.jar:/opt/hbase/lib/java-xmlbuilder-0.4.jar:/opt/hbase/lib/javax.inject-1.jar:/opt/hbase/lib/jaxb-api-2.2.2.jar:/opt/hbase/lib/jaxb-impl-2.2.3-1.jar:/opt/hbase/lib/jcodings-1.0.8.jar:/opt/hbase/lib/jersey-client-1.9.jar:/opt/hbase/lib/jersey-core-1.9.jar:/opt/hbase/lib/jersey-guice-1.9.jar:/opt/hbase/lib/jersey-json-1.9.jar:/opt/hbase/lib/jersey-server-1.9.jar:/opt/hbase/lib/jets3t-0.9.0.jar:/opt/hbase/lib/jettison-1.3.3.jar:/opt/hbase/lib/jetty-6.1.26.jar:/opt/hbase/lib/jetty-sslengine-6.1.26.jar:/opt/hbase/lib/jetty-util-6.1.26.jar:/opt/hbase/lib/joni-2.1.2.jar:/opt/hbase/lib/jruby-complete-1.6.8.jar:/opt/hbase/lib/jsch-0.1.42.jar:/opt/hbase/lib/jsp-2.1-6.1.14.jar:/opt/hbase/lib/jsp-api-2.1-6.1.14.jar:/opt/hbase/lib/junit-4.12.jar:/opt/hbase/lib/leveldbjni-all-1.8.jar:/opt/hbase/lib/libthrift-0.9.3.jar:/opt/hbase/lib/log4j-1.2.17.jar:/opt/hbase/lib/metrics-core-2.2.0.jar:/opt/hbase/lib/netty-all-4.0.23.Final.jar:/opt/hbase/lib/paranamer-2.3.jar:/opt/hbase/lib/phoenix-4.11.0-HBase-1.3-client.jar:/opt/hbase/lib/phoenix-4.11.0-HBase-1.3-server.jar:/opt/hbase/lib/protobuf-java-2.5.0.jar:/opt/hbase/lib/remotecontent?filepath=com%2Fgoogle%2Fguava%2Fguava%2F13.0.1%2Fguava-13.0.1.jar:/opt/hbase/lib/servlet-api-2.5-6.1.14.jar:/opt/hbase/lib/servlet-api-2.5.jar:/opt/hbase/lib/slf4j-api-1.7.7.jar:/opt/hbase/lib/slf4j-log4j12-1.7.5.jar:/opt/hbase/lib/snappy-java-1.0.4.1.jar:/opt/hbase/lib/spymemcached-2.11.6.jar:/opt/hbase/lib/xmlenc-0.52.jar:/opt/hbase/lib/xz-1.0.jar:/opt/hbase/lib/zookeeper-3.4.6.jar:: > org.apache.tephra.TransactionServiceMain > SLF4J: Class path contains multiple SLF4J bindings. > SLF4J: Found binding in > [jar:file:/opt/hbase/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: Found binding in > [jar:file:/opt/hbase/lib/phoenix-4.11.0-HBase-1.3-client.jar!/org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an > explanation. > SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] > Exception in thread "main" com.google.inject.ProvisionException: Guice > provision errors: > 1) Unknown HBase version: 1.3.1 > 1 error > at > org.apache.tephra.util.HBaseVersionSpecificFactory.get(HBaseVersionSpecificFactory.java:56) > at > org.apache.tephra.util.ConfigurationFactory.<init>(ConfigurationFactory.java:56) > at > org.apache.tephra.TransactionServiceMain.init(TransactionServiceMain.java:95) > at > org.apache.tephra.TransactionServiceMain.doMain(TransactionServiceMain.java:84) > at > org.apache.tephra.TransactionServiceMain.main(TransactionServiceMain.java:49) > 2017-07-19 00:36:32,914 INFO [Thread-0] tephra.TransactionServiceMain: > Stopping TransactionServiceMain > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)