You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by ja...@apache.org on 2023/07/13 21:03:39 UTC

[pinot] branch master updated: Update aws 2.20.94 (#11088)

This is an automated email from the ASF dual-hosted git repository.

jackie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new 6ef119005e Update aws 2.20.94 (#11088)
6ef119005e is described below

commit 6ef119005ea322071386e5451c64e2c7cf076d6d
Author: Gonzalo Ortiz Jaureguizar <go...@users.noreply.github.com>
AuthorDate: Thu Jul 13 23:03:34 2023 +0200

    Update aws 2.20.94 (#11088)
---
 docker/images/pinot/Dockerfile_mio | 79 ++++++++++++++++++++++++++++++++++++++
 pom.xml                            |  2 +-
 2 files changed, 80 insertions(+), 1 deletion(-)

diff --git a/docker/images/pinot/Dockerfile_mio b/docker/images/pinot/Dockerfile_mio
new file mode 100644
index 0000000000..4f09ad768a
--- /dev/null
+++ b/docker/images/pinot/Dockerfile_mio
@@ -0,0 +1,79 @@
+#
+# 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.
+#
+ARG PINOT_BASE_IMAGE_TAG=openjdk11
+FROM apachepinot/pinot-base-build:${PINOT_BASE_IMAGE_TAG} AS pinot_build_env
+
+LABEL MAINTAINER=dev@pinot.apache.org
+
+ARG PINOT_BRANCH=poc_yielding_logs
+ARG KAFKA_VERSION=2.0
+ARG JDK_VERSION=11
+ARG PINOT_GIT_URL="https://github.com/gortiz/pinot.git"
+ARG CI=true
+RUN echo "Trying to build Pinot from [ ${PINOT_GIT_URL} ] on branch [ ${PINOT_BRANCH} ] with Kafka version [ ${KAFKA_VERSION} ] and CI [ ${CI} ]"
+ENV PINOT_HOME=/opt/pinot
+ENV PINOT_BUILD_DIR=/opt/pinot-build
+ENV MAVEN_HOME /usr/share/maven
+ENV MAVEN_CONFIG /opt/.m2
+
+RUN git clone ${PINOT_GIT_URL} ${PINOT_BUILD_DIR} && \
+    cd ${PINOT_BUILD_DIR} && \
+    git checkout ${PINOT_BRANCH} && \
+    mvn install package -DskipTests -Pbin-dist -Pbuild-shaded-jar -Djdk.version=${JDK_VERSION} -T1C && \
+    rm -rf /root/.m2 && \
+    mkdir -p ${PINOT_HOME}/configs && \
+    mkdir -p ${PINOT_HOME}/data && \
+    cp -r build/* ${PINOT_HOME}/. && \
+    chmod +x ${PINOT_HOME}/bin/*.sh
+
+FROM apachepinot/pinot-base-runtime:${PINOT_BASE_IMAGE_TAG}
+
+LABEL MAINTAINER=dev@pinot.apache.org
+
+RUN case `uname -m` in \
+      x86_64) arch=x64; ;; \
+      aarch64) arch=arm64; ;; \
+      *) echo "platform=$(uname -m) un-supported, exit ..."; exit 1; ;; \
+    esac \
+    && mkdir -p /usr/local/lib/async-profiler \
+    && curl -L https://github.com/jvm-profiling-tools/async-profiler/releases/download/v2.9/async-profiler-2.9-linux-${arch}.tar.gz | tar -xz --strip-components 1 -C /usr/local/lib/async-profiler
+
+ENV PINOT_HOME=/opt/pinot
+ENV JAVA_OPTS="-Xms4G -Xmx4G -Dpinot.admin.system.exit=false"
+
+VOLUME ["${PINOT_HOME}/configs", "${PINOT_HOME}/data"]
+
+COPY --from=pinot_build_env ${PINOT_HOME} ${PINOT_HOME}
+COPY bin ${PINOT_HOME}/bin
+COPY etc ${PINOT_HOME}/etc
+COPY examples ${PINOT_HOME}/examples
+
+RUN wget -O ${PINOT_HOME}/etc/jmx_prometheus_javaagent/jmx_prometheus_javaagent-0.12.0.jar https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/0.12.0/jmx_prometheus_javaagent-0.12.0.jar
+RUN wget -O ${PINOT_HOME}/etc/jmx_prometheus_javaagent/jmx_prometheus_javaagent-0.16.1.jar https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/0.16.1/jmx_prometheus_javaagent-0.16.1.jar && \
+    ln -s ${PINOT_HOME}/etc/jmx_prometheus_javaagent/jmx_prometheus_javaagent-0.16.1.jar ${PINOT_HOME}/etc/jmx_prometheus_javaagent/jmx_prometheus_javaagent.jar
+
+
+# expose ports for controller/broker/server/admin
+EXPOSE 9000 8099 8098 8097 8096
+
+WORKDIR ${PINOT_HOME}
+
+ENTRYPOINT ["./bin/pinot-admin.sh"]
+
+CMD ["-help"]
diff --git a/pom.xml b/pom.xml
index a188f53926..36bd55ed9d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -159,7 +159,7 @@
     <jmh.version>1.26</jmh.version>
     <audienceannotations.version>0.13.0</audienceannotations.version>
     <clp-ffi.version>0.4.3</clp-ffi.version>
-    <aws.sdk.version>2.20.87</aws.sdk.version>
+    <aws.sdk.version>2.20.94</aws.sdk.version>
     <!-- Sets the VM argument line used when unit tests are run. -->
     <argLine>-Xms4g -Xmx4g</argLine>
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org