From b06aeb1f01b8e01b64867dab161ee8ab8919714b Mon Sep 17 00:00:00 2001 From: Istvan Toth Date: Wed, 17 Jul 2024 14:51:44 +0200 Subject: [PATCH] update python-phoenixdb README --- python-phoenixdb/README.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python-phoenixdb/README.rst b/python-phoenixdb/README.rst index 1d70a6e..510f348 100644 --- a/python-phoenixdb/README.rst +++ b/python-phoenixdb/README.rst @@ -76,22 +76,22 @@ necessary requirements:: You can start a Phoenix QueryServer instance on http://localhost:8765 for testing by running the following command in the pohoenix-queryserver-parent directory:: - mvn clean verify -Pshade-javax-servlet -am -pl phoenix-queryserver-it -Dtest=foo \ + mvn clean verify -am -pl phoenix-queryserver-it -Dtest=foo \ -Dit.test=QueryServerBasicsIT#startLocalPQS \ -Ddo.not.randomize.pqs.port=true -Dstart.unsecure.pqs=true You can start a secure (https+kerberos) Phoenix QueryServer instance on https://localhost:8765 for testing by running the following command in the phoenix-queryserver-parent directory:: - mvn clean verify -Pshade-javax-servlet -am -pl phoenix-queryserver-it -Dtest=foo \ + mvn clean verify -am -pl phoenix-queryserver-it -Dtest=foo \ -Dit.test=SecureQueryServerPhoenixDBIT#startLocalPQS \ -Ddo.not.randomize.pqs.port=true -Dstart.secure.pqs=true this will also create a shell script in phoenix-queryserver-it/target/krb_setup.sh, that you can use to set up the environment for the tests. -Note: Depending on the Phoenix version used for building, you may or may not need the -`-Pshade-javax-servlet` option. See BUILDING.md in the repository root for more information. +Note: If you build with Phoenix 5.1, you need to add the `-Pshade-javax-servlet` option. +See BUILDING.md in the repository root for more information. If you want to use the library without installing the phoenixdb library, you can use the `PYTHONPATH` environment variable to point to the library directly::