question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to use RocksDB in docker

See original GitHub issue

Alluxio Version:

2.1.0-SNAPSHOT

Describe the bug Follow the guide: https://docs.alluxio.io/os/user/stable/en/deploy/Running-Alluxio-On-Docker.html ,and try to change metadata store from HEAP to RocksDB.

 docker run -d   -p 19999:19999   --net=alluxio_nw   --name=alluxio-master   --hostname=alluxio-master   -e ALLUXIO_JAVA_OPTS="-Dalluxio.master.hostname=alluxio-master alluxio.master.metastore=ROCKS "   -v journal:/opt/alluxio/journal   -v ufs:/opt/alluxio/underFSStorage   alluxio/alluxio:2.1.0-SNAPSHOT master

The logs show:

/entrypoint.sh: line 81: /usr/lib/jvm/java-1.8-openjdk/jre/lib/security/java.security: Permission denied

To Reproduce Steps to reproduce the behavior (as minimally and precisely as possible)

Expected behavior A clear and concise description of what you expected to happen.

Urgency Describe the impact and urgency of the bug.

Additional context Add any other context about the problem here.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ZacBlancocommented, Aug 21, 2019

I feel like this is something that should be done as part of the container build process rather than the entrypoint

0reactions
madanaditcommented, Aug 21, 2019

@apc999 the documentation is broken right now (the instructions are correct but it won’t work because of the bug). is created a PR to fix this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to run Faust from Docker - ERROR: Failed building wheel ...
Can anyone help me to move on with this? I'd like to use Faust from Docker on Kubernetes. python · docker · faust....
Read more >
ERROR: Failed building wheel for python-rocksdb-docker
[Solved]-How to run Faust from Docker - ERROR: Failed building wheel for python-rocksdb-docker ... Accordingly, you'll need to build and install RocksDB. This...
Read more >
Kubernetes+RocksDB+local storage | Facebook
Kubernetes+RocksDB+local storage I have the following setup: One node with 1) Golang app using read only RocksDB. 2) Docker image with RocksDB...
Read more >
RocksDB error with KStream-Apache Mail Archives - Re
Re: RocksDB error with KStream ... I finally solved the issue by shifting from openjdk to https://hub.docker.com/r/anapsix/alpine-java/ in my container.
Read more >
arangodb - Official Image - Docker Hub
Build high performance applications using a convenient SQL-like query language or ... Various default sizes are calculated based on this value (e.g. RocksDB...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found