Hi Michael,
Thanks for giving the tests a shot! Can you try the following?
- Are the tests being run using the docker-compose.yml file or do you
have your own environment set up? If you did not use docker, can you
try
running the tests using docker to see if they work? To do that, just
run
"docker-compose up --build" from the root directory.
- If you have your own environment, can you post the version of Phoenix
+ HBase being used?
- If you have Phoenix running in your own environment, were
transactions
enabled following the instructions here:
http://phoenix.apache.org/transactions.html?
- If that does not work, can you replace guava shipped with HBase
(11.0.2 for HBase 5.0) with Guava 13.0.1 (which is used by tephra) in
your $HBASE_PATH/lib folder?
Francis
On 13/09/2018 6:38 AM, Michael Mior wrote:
Thanks for rolling this so quickly Francis! I downloaded and
checked the
hash and signature and managed to build. I get the failures below when
running tests.
calcite-avatica-go_1 | === RUN TestPhoenixCommittingTransactions
calcite-avatica-go_1 | --- FAIL: TestPhoenixCommittingTransactions
(46.24s)
calcite-avatica-go_1 | driver_test.go:95: error on exec CREATE TABLE
test153678411465270855228 (
calcite-avatica-go_1 | int
INTEGER
PRIMARY KEY
calcite-avatica-go_1 | )
TRANSACTIONAL=true: An error was encountered while processing your
request:
RuntimeException: org.apache.phoenix.shaded.org
.apache.thrift.TException:
Unable to discover transaction service. -> TException: Unable to
discover
transaction service.
calcite-avatica-go_1 | === RUN TestPhoenixRollingBackTransactions
calcite-avatica-go_1 | --- FAIL: TestPhoenixRollingBackTransactions
(46.12s)
calcite-avatica-go_1 | driver_test.go:95: error on exec CREATE
TABLE
test153678416089522923246 (
calcite-avatica-go_1 | int
INTEGER
PRIMARY KEY
calcite-avatica-go_1 | )
TRANSACTIONAL=true: An error was encountered while processing your
request:
RuntimeException: org.apache.phoenix.shaded.org
.apache.thrift.TException:
Unable to discover transaction service. -> TException: Unable to
discover
transaction service.
calcite-avatica-go_1 | === RUN TestPhoenixOptimisticConcurrency
calcite-avatica-go_1 | --- FAIL: TestPhoenixOptimisticConcurrency
(46.12s)
calcite-avatica-go_1 | driver_test.go:95: error on exec CREATE TABLE
test15367842129113598722 (
calcite-avatica-go_1 | id
INTEGER
PRIMARY KEY,
calcite-avatica-go_1 | msg
VARCHAR,
calcite-avatica-go_1 | version
INTEGER
calcite-avatica-go_1 | )
TRANSACTIONAL=true: An error was encountered while processing your
request:
RuntimeException: org.apache.phoenix.shaded.org
.apache.thrift.TException:
Unable to discover transaction service. -> TException: Unable to
discover
transaction service.
calcite-avatica-go_1 | FAIL
calcite-avatica-go_1 | FAIL github.com/apache/calcite-avatica-go/v3
186.298s
calcite-avatica-go_1 | ?
github.com/apache/calcite-avatica-go/v3/errors [no test files]
calcite-avatica-go_1 | ?
github.com/apache/calcite-avatica-go/v3/generic [no test files]
calcite-avatica-go_1 | ?
github.com/apache/calcite-avatica-go/v3/hsqldb [no test files]
calcite-avatica-go_1 | ?
github.com/apache/calcite-avatica-go/v3/internal [no test
files]
calcite-avatica-go_1 | ?
github.com/apache/calcite-avatica-go/v3/message [no test files]
calcite-avatica-go_1 | ?
github.com/apache/calcite-avatica-go/v3/phoenix [no test files]
--
Michael Mior
[email protected]
Le mar. 11 sept. 2018 à 05:17, Francis Chuang
<[email protected]>
a
écrit :
Hi all,
I have created a release for Apache Calcite Avatica Go 3.2.0, release
candidate 0.
The release notes are available here: