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

Throw Permission denied error when try to run demo in docker #451

Open
2 of 4 tasks
charlesy6 opened this issue May 30, 2024 · 6 comments
Open
2 of 4 tasks

Throw Permission denied error when try to run demo in docker #451

charlesy6 opened this issue May 30, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@charlesy6
Copy link

charlesy6 commented May 30, 2024

Search before asking

  • I had searched in the issues and found no similar issues.

Please describe the bug 🐞

Throw Permission denied error when try to run demo in docker.

image


image

Are you willing to submit PR?

  • I am willing to submit a PR!
  • I am willing to submit a PR but need help getting started!

Code of Conduct

@charlesy6 charlesy6 added the bug Something isn't working label May 30, 2024
@daragu
Copy link
Contributor

daragu commented Jun 4, 2024

hi @charlesy6, what environment are you using?

@sagarlakshmipathy
Copy link
Contributor

@charlesy6 did you also run the shell script to setup the cluster? https://xtable.apache.org/docs/demo/docker#setting-up-docker-cluster

@vinishjail97
Copy link
Contributor

@charlesy6 Is this an issue of surfacing the right error at the top ? This may be a setting in the Jupyter notebook to increase limit of the stack trace.

Regarding the permission denied errors, can you share details regarding the environment you are using ?

@daragu
Copy link
Contributor

daragu commented Jun 11, 2024

Met the same exception when the use the root user start the docker-compose.

[root@djump /work/xtable/incubator-xtable]#  
[root@djump /work/xtable/incubator-xtable]#  ll
total 108K
drwxr-xr-x 3 root root 4.0K Jun 11 15:23 assets
-rw-r--r-- 1 root root 3.9K Jun 11 15:23 ci.md
drwxr-xr-x 7 root root 4.0K Jun 11 15:37 demo
-rw-r--r-- 1 root root  12K Jun 11 15:23 LICENSE
-rw-r--r-- 1 root root  837 Jun 11 15:23 lombok.config
-rw-r--r-- 1 root root  176 Jun 11 15:23 NOTICE
-rw-r--r-- 1 root root  33K Jun 11 15:23 pom.xml
-rw-r--r-- 1 root root 8.3K Jun 11 15:23 README.md
drwxr-xr-x 2 root root 4.0K Jun 11 15:23 style
drwxr-xr-x 3 root root 4.0K Jun 11 16:22 target
drwxr-xr-x 6 root root 4.0K Jun 11 15:23 website
drwxr-xr-x 4 root root 4.0K Jun 11 15:23 xtable-api
drwxr-xr-x 4 root root 4.0K Jun 11 15:23 xtable-core
drwxr-xr-x 5 root root 4.0K Jun 11 15:23 xtable-hudi-support
drwxr-xr-x 4 root root 4.0K Jun 11 15:24 xtable-utilities
[root@djump /work/xtable/incubator-xtable]#  
[root@djump /work/xtable/incubator-xtable]#  
[root@djump /work/xtable/incubator-xtable]#  docker exec jupyter ls -al /home/data
total 476
drwxr-xr-x 3 root root   4096 Jun 11 07:23 .
drwxr-xr-x 1 root root   4096 Jun 11 07:37 ..
drwxr-xr-x 4 root root   4096 Jun 11 07:23 db
-rw-r--r-- 1 root root 468583 Jun 11 07:23 DimCustomer_round2.csv
[root@djump /work/xtable/incubator-xtable]#  
[root@djump /work/xtable/incubator-xtable]#  
[root@djump /work/xtable/incubator-xtable]#  
[root@djump /work/xtable/incubator-xtable]#  docker exec -it jupyter bash
(base) jovyan@jupyter:~$ 
(base) jovyan@jupyter:~$ echo 0 > /home/data/abc
bash: /home/data/abc: Permission denied
(base) jovyan@jupyter:~$ 

And, I found the https://forums.docker.com/t/another-docker-compose-permissions-using-volumes-question/131998

@daragu
Copy link
Contributor

daragu commented Jun 11, 2024

cc @charlesy6, can you confirm if it is the same scene?

@charlesy6
Copy link
Author

cc @charlesy6, can you confirm if it is the same scene?

yes, i use root to run the demo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants