Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
underwater opened this issue Feb 20, 2024 · 1 comment
Open

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

underwater opened this issue Feb 20, 2024 · 1 comment

Comments

@underwater
Copy link

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 ?

@FashtimeDotCom
Copy link

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"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants