Skip to content

Commit

Permalink
RANGER-5161: Docker setup updated to use Hive 4.0.1 (#540)
Browse files Browse the repository at this point in the history
  • Loading branch information
mneethiraj authored Mar 11, 2025
1 parent 0c9bb81 commit e5e18ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dev-support/ranger-docker/.env
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ SOLR_VERSION=8.11.3
# service versions
HADOOP_VERSION=3.3.6
HBASE_VERSION=2.6.0
HIVE_VERSION=3.1.3
HIVE_VERSION=4.0.1
HIVE_HADOOP_VERSION=3.1.1
KAFKA_VERSION=2.8.2
KNOX_VERSION=2.0.0
Expand Down
2 changes: 2 additions & 0 deletions dev-support/ranger-docker/Dockerfile.ranger-hive
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ COPY ./dist/version /home/ranger/dist/
COPY ./dist/ranger-${HIVE_PLUGIN_VERSION}-hive-plugin.tar.gz /home/ranger/dist/
COPY ./downloads/apache-hive-${HIVE_VERSION}-bin.tar.gz /home/ranger/dist/
COPY ./downloads/hadoop-${HIVE_HADOOP_VERSION}.tar.gz /home/ranger/dist/
COPY ./downloads/postgresql-42.2.16.jre7.jar /home/ranger/dist/
COPY ./downloads/mysql-connector-java-8.0.28.jar /home/ranger/dist/
COPY ./downloads/ojdbc8.jar /home/ranger/dist/

Expand All @@ -38,6 +39,7 @@ COPY ./scripts/hive-site-${RANGER_DB_TYPE}.xml /home/ranger/scripts/hiv
RUN tar xvfz /home/ranger/dist/apache-hive-${HIVE_VERSION}-bin.tar.gz --directory=/opt/ && \
ln -s /opt/apache-hive-${HIVE_VERSION}-bin /opt/hive && \
rm -f /home/ranger/dist/apache-hive-${HIVE_VERSION}-bin.tar.gz && \
mv /home/ranger/dist/postgresql-42.2.16.jre7.jar /opt/hive/lib/ && \
mv /home/ranger/dist/mysql-connector-java-8.0.28.jar /opt/hive/lib/ && \
mv /home/ranger/dist/ojdbc8.jar /opt/hive/lib/ && \
tar xvfz /home/ranger/dist/hadoop-${HIVE_HADOOP_VERSION}.tar.gz --directory=/opt/ && \
Expand Down

0 comments on commit e5e18ac

Please sign in to comment.