You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello - Not sure if you are still supporting this project, I was trying to setup presto - adls. When I run following command, docker-compose up --build
it results in below error -
Building hive Step 1/11 : FROM sequenceiq/hadoop-docker:2.7.0 ---> 789fa0a3b911 Step 2/11 : ENV HIVE_VERSION=1.2.2 ---> Using cache ---> 5bdae9f17fcf Step 3/11 : ENV HIVE_HOME=/usr/local/hive ---> Using cache ---> e68c54223447 Step 4/11 : ENV PATH=$HIVE_HOME/bin:$PATH ---> Using cache ---> a489bafae500 Step 5/11 : RUN curl -s -O http://apache.claz.org/hive/hive-${HIVE_VERSION}/apache-hive-${HIVE_VERSION}-bin.tar.gz && tar -zxf ./apache-hive-${HIVE_VERSION}-bin.tar.gz && mv ./apache-hive-${HIVE_VERSION}-bin $HIVE_HOME && rm -f ./apache-hive-${HIVE_VERSION}-bin.tar.gz ---> Using cache ---> 6d324b07e4e6 Step 6/11 : RUN cd $HIVE_HOME/lib && curl -O http://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.6.0/jackson-core-2.6.0.jar && curl -O http://repo1.maven.org/maven2/com/microsoft/azure/azure-storage/2.0.0/azure-storage-2.0.0.jar && curl -O http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-azure/2.7.3/hadoop-azure-2.7.3.jar && curl -O http://repo1.maven.org/maven2/com/microsoft/azure/azure-data-lake-store-sdk/2.1.5/azure-data-lake-store-sdk-2.1.5.jar && curl -O http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-azure-datalake/3.0.0-alpha3/hadoop-azure-datalake-3.0.0-alpha3.jar ---> Using cache ---> a79a3b19fff9 Step 7/11 : RUN yum erase -y jdk && curl -s -LO 'http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.rpm' -H 'Cookie: oraclelicense=accept-securebackup-cookie' && rpm -i jdk-8u131-linux-x64.rpm && rm jdk-8u131-linux-x64.rpm ---> Using cache ---> b7ad21faacc8 Step 8/11 : EXPOSE 9083 ---> Using cache ---> 3640798b10c4 Step 9/11 : ADD files/metastore-start.sh /etc/metastore-start.sh ---> Using cache ---> a162fec3ce71 Step 10/11 : RUN chmod +x /etc/metastore-start.sh && sleep 1 ---> Using cache ---> 9017b13d2f3d Step 11/11 : CMD /etc/metastore-start.sh ---> Using cache ---> 1f57dd02c7f6 Successfully built 1f57dd02c7f6 Successfully tagged docker-presto-adls-wasb_hive:latest Building presto Step 1/15 : FROM openjdk:8 ---> 81f83aac57d6 Step 2/15 : ENV DEBIAN_FRONTEND noninteractive ---> Using cache ---> 4d2c0f5544b3 Step 3/15 : ENV PRESTO_VERSION 0.178 ---> Using cache ---> 9132b625c4dd Step 4/15 : ENV PRESTO_DIR /opt/presto ---> Using cache ---> 1337cc5043f7 Step 5/15 : ENV PRESTO_DATA_DIR /opt/presto/data ---> Using cache ---> 5c57fe77ecbd Step 6/15 : RUN apt-get update && apt-get install -y python uuid-runtime vim less ---> Using cache ---> 5bc2ee79f1d1 Step 7/15 : RUN curl -s -O https://repo1.maven.org/maven2/com/facebook/presto/presto-server/$PRESTO_VERSION/presto-server-$PRESTO_VERSION.tar.gz && tar xvf presto-server-$PRESTO_VERSION.tar.gz ---> Using cache ---> 1e973151a7dd Step 8/15 : RUN curl -s -O https://repo1.maven.org/maven2/com/facebook/presto/presto-cli/$PRESTO_VERSION/presto-cli-$PRESTO_VERSION-executable.jar && mv presto-cli-$PRESTO_VERSION-executable.jar presto && chmod +x presto ---> Using cache ---> 4ed4d50cf84e Step 9/15 : RUN mkdir -p $PRESTO_DIR && mkdir -p $PRESTO_DATA_DIR && mkdir -p $PRESTO_DIR/etc/catalog && cp -r presto-server-$PRESTO_VERSION/* $PRESTO_DIR && rm -r presto-server-$PRESTO_VERSION && rm presto-server-$PRESTO_VERSION.tar.gz && mv presto $PRESTO_DIR/ ---> Using cache ---> ca92fc755b6f Step 10/15 : RUN cd $PRESTO_DIR/plugin/hive-hadoop2 && curl -O http://repo1.maven.org/maven2/commons-lang/commons-lang/2.6/commons-lang-2.6.jar && curl -O http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-util/6.1.26/jetty-util-6.1.26.jar && curl -O http://repo1.maven.org/maven2/com/microsoft/azure/azure-storage/2.0.0/azure-storage-2.0.0.jar && curl -O http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-azure/2.7.3/hadoop-azure-2.7.3.jar && curl -O http://repo1.maven.org/maven2/com/microsoft/azure/azure-data-lake-store-sdk/2.1.5/azure-data-lake-store-sdk-2.1.5.jar && curl -O http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-azure-datalake/3.0.0-alpha3/hadoop-azure-datalake-3.0.0-alpha3.jar ---> Using cache ---> ce8d5b37cc21 Step 11/15 : ADD files /_build/ ---> Using cache ---> e7eaec35f790 Step 12/15 : RUN chmod +x /_build/create-configs.sh && sleep 1 && /_build/create-configs.sh && mv /_build/adls-wasb-site.xml $PRESTO_DIR/etc/catalog/ && mv /_build/presto-start.sh /etc/presto-start.sh && chmod +x /etc/presto-start.sh && sleep 1 && mv /_build/motd.txt /etc/motd && rm -rf /_build ---> Running in 7ecfd8007a7e /bin/sh: 1: /_build/create-configs.sh: not found ERROR: Service 'presto' failed to build: The command '/bin/sh -c chmod +x /_build/create-configs.sh && sleep 1 && /_build/create-configs.sh && mv /_build/adls-wasb-site.xml $PRESTO_DIR/etc/catalog/ && mv /_build/presto-start.sh /etc/presto-start.sh && chmod +x /etc/presto-start.sh && sleep 1 && mv /_build/motd.txt /etc/motd && rm -rf /_build' returned a non-zero code: 127
Please let me know if you can think of reason for the same or any step I might have missed.
Thanks
The text was updated successfully, but these errors were encountered:
Sounds like there could be some some line-ending (Unix vs Windows) issue happening. Can you please try to make sure that all of the line-endings in the .sh files you check out from the repo are Unix-style locally before you run the build?
Hello - Not sure if you are still supporting this project, I was trying to setup presto - adls. When I run following command,
docker-compose up --build
it results in below error -
Building hive Step 1/11 : FROM sequenceiq/hadoop-docker:2.7.0 ---> 789fa0a3b911 Step 2/11 : ENV HIVE_VERSION=1.2.2 ---> Using cache ---> 5bdae9f17fcf Step 3/11 : ENV HIVE_HOME=/usr/local/hive ---> Using cache ---> e68c54223447 Step 4/11 : ENV PATH=$HIVE_HOME/bin:$PATH ---> Using cache ---> a489bafae500 Step 5/11 : RUN curl -s -O http://apache.claz.org/hive/hive-${HIVE_VERSION}/apache-hive-${HIVE_VERSION}-bin.tar.gz && tar -zxf ./apache-hive-${HIVE_VERSION}-bin.tar.gz && mv ./apache-hive-${HIVE_VERSION}-bin $HIVE_HOME && rm -f ./apache-hive-${HIVE_VERSION}-bin.tar.gz ---> Using cache ---> 6d324b07e4e6 Step 6/11 : RUN cd $HIVE_HOME/lib && curl -O http://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.6.0/jackson-core-2.6.0.jar && curl -O http://repo1.maven.org/maven2/com/microsoft/azure/azure-storage/2.0.0/azure-storage-2.0.0.jar && curl -O http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-azure/2.7.3/hadoop-azure-2.7.3.jar && curl -O http://repo1.maven.org/maven2/com/microsoft/azure/azure-data-lake-store-sdk/2.1.5/azure-data-lake-store-sdk-2.1.5.jar && curl -O http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-azure-datalake/3.0.0-alpha3/hadoop-azure-datalake-3.0.0-alpha3.jar ---> Using cache ---> a79a3b19fff9 Step 7/11 : RUN yum erase -y jdk && curl -s -LO 'http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.rpm' -H 'Cookie: oraclelicense=accept-securebackup-cookie' && rpm -i jdk-8u131-linux-x64.rpm && rm jdk-8u131-linux-x64.rpm ---> Using cache ---> b7ad21faacc8 Step 8/11 : EXPOSE 9083 ---> Using cache ---> 3640798b10c4 Step 9/11 : ADD files/metastore-start.sh /etc/metastore-start.sh ---> Using cache ---> a162fec3ce71 Step 10/11 : RUN chmod +x /etc/metastore-start.sh && sleep 1 ---> Using cache ---> 9017b13d2f3d Step 11/11 : CMD /etc/metastore-start.sh ---> Using cache ---> 1f57dd02c7f6 Successfully built 1f57dd02c7f6 Successfully tagged docker-presto-adls-wasb_hive:latest Building presto Step 1/15 : FROM openjdk:8 ---> 81f83aac57d6 Step 2/15 : ENV DEBIAN_FRONTEND noninteractive ---> Using cache ---> 4d2c0f5544b3 Step 3/15 : ENV PRESTO_VERSION 0.178 ---> Using cache ---> 9132b625c4dd Step 4/15 : ENV PRESTO_DIR /opt/presto ---> Using cache ---> 1337cc5043f7 Step 5/15 : ENV PRESTO_DATA_DIR /opt/presto/data ---> Using cache ---> 5c57fe77ecbd Step 6/15 : RUN apt-get update && apt-get install -y python uuid-runtime vim less ---> Using cache ---> 5bc2ee79f1d1 Step 7/15 : RUN curl -s -O https://repo1.maven.org/maven2/com/facebook/presto/presto-server/$PRESTO_VERSION/presto-server-$PRESTO_VERSION.tar.gz && tar xvf presto-server-$PRESTO_VERSION.tar.gz ---> Using cache ---> 1e973151a7dd Step 8/15 : RUN curl -s -O https://repo1.maven.org/maven2/com/facebook/presto/presto-cli/$PRESTO_VERSION/presto-cli-$PRESTO_VERSION-executable.jar && mv presto-cli-$PRESTO_VERSION-executable.jar presto && chmod +x presto ---> Using cache ---> 4ed4d50cf84e Step 9/15 : RUN mkdir -p $PRESTO_DIR && mkdir -p $PRESTO_DATA_DIR && mkdir -p $PRESTO_DIR/etc/catalog && cp -r presto-server-$PRESTO_VERSION/* $PRESTO_DIR && rm -r presto-server-$PRESTO_VERSION && rm presto-server-$PRESTO_VERSION.tar.gz && mv presto $PRESTO_DIR/ ---> Using cache ---> ca92fc755b6f Step 10/15 : RUN cd $PRESTO_DIR/plugin/hive-hadoop2 && curl -O http://repo1.maven.org/maven2/commons-lang/commons-lang/2.6/commons-lang-2.6.jar && curl -O http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-util/6.1.26/jetty-util-6.1.26.jar && curl -O http://repo1.maven.org/maven2/com/microsoft/azure/azure-storage/2.0.0/azure-storage-2.0.0.jar && curl -O http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-azure/2.7.3/hadoop-azure-2.7.3.jar && curl -O http://repo1.maven.org/maven2/com/microsoft/azure/azure-data-lake-store-sdk/2.1.5/azure-data-lake-store-sdk-2.1.5.jar && curl -O http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-azure-datalake/3.0.0-alpha3/hadoop-azure-datalake-3.0.0-alpha3.jar ---> Using cache ---> ce8d5b37cc21 Step 11/15 : ADD files /_build/ ---> Using cache ---> e7eaec35f790 Step 12/15 : RUN chmod +x /_build/create-configs.sh && sleep 1 && /_build/create-configs.sh && mv /_build/adls-wasb-site.xml $PRESTO_DIR/etc/catalog/ && mv /_build/presto-start.sh /etc/presto-start.sh && chmod +x /etc/presto-start.sh && sleep 1 && mv /_build/motd.txt /etc/motd && rm -rf /_build ---> Running in 7ecfd8007a7e /bin/sh: 1: /_build/create-configs.sh: not found ERROR: Service 'presto' failed to build: The command '/bin/sh -c chmod +x /_build/create-configs.sh && sleep 1 && /_build/create-configs.sh && mv /_build/adls-wasb-site.xml $PRESTO_DIR/etc/catalog/ && mv /_build/presto-start.sh /etc/presto-start.sh && chmod +x /etc/presto-start.sh && sleep 1 && mv /_build/motd.txt /etc/motd && rm -rf /_build' returned a non-zero code: 127
Please let me know if you can think of reason for the same or any step I might have missed.
Thanks
The text was updated successfully, but these errors were encountered: