Skip to content
This repository has been archived by the owner on Dec 18, 2021. It is now read-only.

Commit

Permalink
Set HBASE_* env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
lalinsky committed Sep 4, 2017
1 parent 0b54a39 commit b0be054
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion ci/phoenix/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ RUN wget --no-verbose -O phoenix.tar.gz "$PHOENIX_URL" && \
RUN ln -sv /opt/phoenix/phoenix-*-server.jar /opt/hbase/lib/

ADD hbase-site.xml /opt/hbase/conf/hbase-site.xml
ADD hbase-site.xml /opt/phoenix/bin/hbase-site.xml

ENV HBASE_CONF_DIR /opt/hbase/conf
ENV HBASE_CP /opt/hbase/lib
ENV HBASE_HOME /opt/hbase

EXPOSE 8765

Expand Down
2 changes: 1 addition & 1 deletion ci/phoenix/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pids=()
/opt/hbase/bin/hbase-daemon.sh foreground_start master &
pids+=($!)

/opt/phoenix/bin/queryserver.py -Dphoenix.schema.isNamespaceMappingEnabled=true &
/opt/phoenix/bin/queryserver.py &
pids+=($!)

cleanup() {
Expand Down

0 comments on commit b0be054

Please sign in to comment.