HDDS-14452. Single container ozone quickstart image#49
Conversation
|
Hi @adoroszlai, I have created this PR against the "latest" branch for now. |
00547c9 to
60061fe
Compare
adoroszlai
left a comment
There was a problem hiding this comment.
Thanks @ptlrs for working on this.
Do you think we should create a "quickstart" branch for this image so that it can live separately?
It definitely needs a separate branch, but I'd prefer all-in-one as Docker tag, hence ozone-all-in-one as branch name.
(cherry picked from commit 6a5f821)
…ainer # Conflicts: # Dockerfile
Co-Authored-By: SaketaChalamchala <saketa.chalamchala@gmail.com> Co-Authored-By: Soumitra Sulav <40571322+ssulav@users.noreply.github.com>
ebae8a0 to
4e0d254
Compare
| ## Override via mounted config | ||
|
|
||
| Create your own `ozone-site.xml` that contains only the properties you want to change, then mount it on top of the baked-in copy: | ||
|
|
||
| ```bash | ||
| docker run -d \ | ||
| --name ozone \ | ||
| -p 9878:9878 -p 9888:9888 \ | ||
| -v "$(pwd)/my-ozone-site.xml:/etc/hadoop/ozone-site.xml:ro" \ | ||
| -v ozone-metadata:/data/metadata \ | ||
| -v ozone-hdds:/data/hdds \ | ||
| -v ozone-logs:/var/log/hadoop \ | ||
| apache/ozone:all-in-one | ||
| ``` | ||
|
|
||
| > **Note**: When you mount over `ozone-site.xml`, it fully replaces the baked-in file. Copy the original from [`conf/ozone-site.xml`](conf/ozone-site.xml) and edit only what you need. |
There was a problem hiding this comment.
I think this (only the properties you want to change) is confusing, since it fully replaces the baked-in file. Can you please combine and simplify the two instructions?
…mounting Co-Authored-By: SaketaChalamchala <saketa.chalamchala@gmail.com> Co-Authored-By: Soumitra Sulav <40571322+ssulav@users.noreply.github.com> Co-Authored-By: Doroszlai, Attila <6454655+adoroszlai@users.noreply.github.com>
|
Thanks @ptlrs, @SaketaChalamchala, @ssulav for the patch. |
|
Thank you for co-authoring this @SaketaChalamchala, @ssulav and @adoroszlai! |
Created a docker image based off of the slim Ozone image.
This image will provide a single container with all ozone components up and running.
This will be useful for quick POCs with Ozone.
https://issues.apache.org/jira/browse/HDDS-14452
Thanks @ssulav, @SaketaChalamchala and @adoroszlai for co-authoring this.