Ashwath
01/13/2022, 6:56 AMItai Admi
01/13/2022, 7:09 AMBarak Amar
hive/Dockerfile
and add the following line, after COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh
Following, in the docker-compose directory run the same as before - docker-compose down, build and up.
In case hive is still reporting an error, send the output of:
docker-compose logs hive-metastore
Itai Admi
01/13/2022, 7:58 AMC:\Users\User\code\lakefs\deployments\compose> docker-compose logs hive-metastore
Attaching to hive
hive | /bin/sh: 1: /entrypoint.sh: not found
Barak Amar
Barak Amar
docker build -t hive .
Ashwath
01/13/2022, 8:06 AMItai Admi
01/13/2022, 8:06 AMentrypoint.sh
is indeed missing, trying to figure out what went wrongAshwath
01/13/2022, 8:06 AMItai Admi
01/13/2022, 8:07 AMAshwath
01/13/2022, 8:07 AMBarak Amar
Itai Admi
01/13/2022, 8:18 AMBarak Amar
Barak Amar
Barak Amar
Barak Amar
Barak Amar
Itai Admi
01/13/2022, 8:29 AMbugfix/bagel-bash
branch. Is there something else I need to do for the changes to apply?Itai Admi
01/13/2022, 8:31 AMRUN sed -i -e 's/\r$//' entrypoint.sh
to the Dockerfile solved it for hive
but we don’t have a Dockerfile for spark-thrift
which is failing for the same reasons.Barak Amar
Barak Amar
Barak Amar
Itai Admi
01/13/2022, 8:39 AMBarak Amar
Itai Admi
01/13/2022, 8:46 AMItai Admi
01/13/2022, 8:47 AMItai Admi
01/13/2022, 8:51 AM/r/n -> /n
conversion with notepad+, solved it for hive
container (with Dockerfile), but for spark-thrift
container (just a mount of that file) I still get the same errorBarak Amar
Itai Admi
01/13/2022, 10:37 AMbugfix/bagel-bash
, and run docker-compose down, build and up and see if it’s fixed?Ashwath
01/13/2022, 10:49 AMAshwath
01/13/2022, 10:50 AMbugfix/bagel-bash
, is this command to run.. ? if yes please let me know where and what is full command. i could not see in docker-composeItai Admi
01/13/2022, 10:51 AMItai Admi
01/13/2022, 10:51 AMgit checkout bugfix/bagel-bash
Ashwath
01/13/2022, 10:58 AMItai Admi
01/13/2022, 11:00 AMgit fetch
beforeAshwath
01/13/2022, 11:19 AMAshwath
01/13/2022, 11:19 AMBarak Amar
Barak Amar
Ashwath
01/13/2022, 11:26 AMItai Admi
01/13/2022, 12:32 PMspark-thrift
container was able to run. I made another push to the same branch bugfix/bagel-bash
for the hive
container. Could you try again, git fetch
, git pull
, then docker-compose down, build, up and see if that helps?
FYI this is just to get you unblocked, the actual fix should be cleaner than what currently exists in this branch..Itai Admi
01/13/2022, 12:34 PM.gitattribute
file did not force line endings on his machineBarak Amar
Ashwath
01/13/2022, 12:49 PMItai Admi
01/13/2022, 12:50 PMspark-thrift
which should fix this as it did for the hive
Itai Admi
01/13/2022, 1:11 PMItai Admi
01/13/2022, 1:11 PMItai Admi
01/13/2022, 1:12 PMAshwath
01/13/2022, 1:46 PMItai Admi
01/13/2022, 1:47 PMItai Admi
01/13/2022, 1:50 PMItai Admi
01/13/2022, 3:47 PMmaster
branch. You can checkout that branch, run git checkout-index --force --all
to sync the files.
When you build the containers, make sure you skip the cache usage:
docker-compose build --no-cache
.Ashwath
02/11/2022, 7:52 AMYoni Augarten
02/11/2022, 8:50 AMYoni Augarten
02/11/2022, 8:51 AMAshwath
02/11/2022, 9:07 AMYoni Augarten
02/11/2022, 9:17 AMYoni Augarten
02/11/2022, 10:44 AMAshwath
02/11/2022, 10:56 AM