GitXplorerGitXplorer
l

hivesever2-v400-sd-test

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
0d1191beacc607d2f7cf81928561e3b70a0920bf

update readme about HIVE-28430

llinghengqian committed 2 months ago
Unverified
c413a2f43a725e6be67f72b57a4f665a7403b45e

update readme for issue tracker

llinghengqian committed 2 months ago
Unverified
dea19b7f45de35b2d2afa815948dc87f55672d46

bump zookeeper server to `zookeeper:3.9.2-jre-17`

llinghengqian committed 2 months ago
Unverified
5f15e0aed4e897b0476b1bf6064788da14e492f7

remove author email

llinghengqian committed 2 months ago
Unverified
1ce8cfcb04306453b687ecd1d9060b8cfc07ca95

Completely fix unit tests connecting to hiveserver2 using zookeeper as service discovery

llinghengqian committed 2 months ago
Unverified
ead8672eb029e1cb98658859eb38e8c158200f17

fix test under zookeeper service discovery

llinghengqian committed 2 months ago

README

The README file for this repository.

hivesever2-v400-sd-test

sdk install java 22.0.2-graalce
sdk use java 22.0.2-graalce
git clone git@github.com:linghengqian/hivesever2-v400-sd-test.git
cd ./hivesever2-v400-sd-test/
docker compose -f ./docker-compose-lingh.yml pull
docker compose -f ./docker-compose-lingh.yml up -d

# ... Wait five seconds for HiveServer2 to finish initializing.

./mvnw clean test

docker compose -f ./docker-compose-lingh.yml down
  • Log as follows.
[INFO] Scanning for projects...
[INFO] 
[INFO] -----------------< com.lingh:hivesever2-v400-sd-test >------------------
[INFO] Building hivesever2-v400-sd-test 1.0-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] 2 problems were encountered while building the effective model for org.apache.yetus:audience-annotations:jar:0.5.0
[INFO] 
[INFO] --- clean:3.2.0:clean (default-clean) @ hivesever2-v400-sd-test ---
[INFO] Deleting /home/linghengqian/TwinklingLiftWorks/git/public/hivesever2-v400-sd-test/target
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ hivesever2-v400-sd-test ---
[INFO] skip non existing resourceDirectory /home/linghengqian/TwinklingLiftWorks/git/public/hivesever2-v400-sd-test/src/main/resources
[INFO] 
[INFO] --- compiler:3.13.0:compile (default-compile) @ hivesever2-v400-sd-test ---
[INFO] No sources to compile
[INFO] 
[INFO] --- resources:3.3.1:testResources (default-testResources) @ hivesever2-v400-sd-test ---
[INFO] skip non existing resourceDirectory /home/linghengqian/TwinklingLiftWorks/git/public/hivesever2-v400-sd-test/src/test/resources
[INFO] 
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ hivesever2-v400-sd-test ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 1 source file with javac [debug target 22] to target/test-classes
[INFO] 
[INFO] --- surefire:3.2.5:test (default-test) @ hivesever2-v400-sd-test ---
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.lingh.HiveTest
log4j:WARN No appenders could be found for logger (com.zaxxer.hikari.HikariConfig).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
testhivedrivertable
key     int
value   string
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.931 s -- in com.lingh.HiveTest
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  5.120 s
[INFO] Finished at: 2024-08-01T16:01:59+08:00
[INFO] ------------------------------------------------------------------------