[ 
https://issues.apache.org/jira/browse/HIVE-26400?focusedWorklogId=852495&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-852495
 ]

ASF GitHub Bot logged work on HIVE-26400:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 23/Mar/23 11:58
            Start Date: 23/Mar/23 11:58
    Worklog Time Spent: 10m 
      Work Description: cdmikechen commented on code in PR #3448:
URL: https://github.com/apache/hive/pull/3448#discussion_r1146075254


##########
packaging/src/docker/Dockerfile:
##########
@@ -0,0 +1,54 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+FROM openjdk:8-jre
+
+ARG HADOOP_VERSION
+ARG HIVE_VERSION
+ARG TEZ_VERSION
+
+# Install dependencies
+RUN set -ex; \
+  apt-get update; \
+  apt-get -y install curl; \
+  apt-get -y install procps; \
+  rm -rf /var/lib/apt/lists/*
+
+COPY hadoop-$HADOOP_VERSION.tar.gz /opt
+COPY apache-hive-$HIVE_VERSION-bin.tar.gz /opt
+COPY apache-tez-$TEZ_VERSION-bin.tar.gz /opt
+
+RUN tar -xzvf /opt/hadoop-$HADOOP_VERSION.tar.gz -C /opt/ && \

Review Comment:
   How big is your final docker image? Maybe it's better to describe it like 
this





Issue Time Tracking
-------------------

    Worklog Id:     (was: 852495)
    Time Spent: 8h 40m  (was: 8.5h)

> Provide docker images for Hive
> ------------------------------
>
>                 Key: HIVE-26400
>                 URL: https://issues.apache.org/jira/browse/HIVE-26400
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Build Infrastructure
>            Reporter: Zhihua Deng
>            Assignee: Zhihua Deng
>            Priority: Blocker
>              Labels: hive-4.0.0-must, pull-request-available
>          Time Spent: 8h 40m
>  Remaining Estimate: 0h
>
> Make Apache Hive be able to run inside docker container in pseudo-distributed 
> mode, with MySQL/Derby as its back database, provide the following:
>  * Quick-start/Debugging/Prepare a test env for Hive;
>  * Tools to build target image with specified version of Hive and its 
> dependencies;
>  * Images can be used as the basis for the Kubernetes operator.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to