lasagna icon indicating copy to clipboard operation
lasagna copied to clipboard

hive-metastore | sh: 1: /entrypoint.sh: Permission denied

Open underwater opened this issue 1 year ago • 1 comments

I tried to start the docker compose file, and getting hive-metastore | sh: 1: /entrypoint.sh: Permission denied hive-metastore | sh: 1: /entrypoint.sh: Permission denied hive-metastore | sh: 1: /entrypoint.sh: Permission denied hive-metastore | sh: 1: /entrypoint.sh: Permission denied hive-metastore | sh: 1: /entrypoint.sh: Permission denied hive-metastore | sh: 1: /entrypoint.sh: Permission denied hive-metastore | sh: 1: /entrypoint.sh: Permission denied hive-metastore | sh: 1: /entrypoint.sh: Permission denied hive-metastore exited with code 126

Is there anything else I should be doing ?

underwater avatar Feb 20 '24 09:02 underwater

i fixed it follow:

ENTRYPOINT ["sh", "-c", "/entrypoint.sh"]

CMD ["sh", "-c", "/usr/local/apache-hive-metastore-3.0.0-bin/bin/schematool -initSchema -dbType postgres && /usr/local/apache-hive-metastore-3.0.0-bin/bin/start-metastore"]

FashtimeDotCom avatar May 14 '24 11:05 FashtimeDotCom