-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[ZEPPELIN-6032] Provide docker-compose-zeppelin-only.yml file for quick start #4776
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
Conversation
If and only if you are talking about running Zeppelin on users' local machine, can we consider making the filename more specific or writing additional instructions? Current filename |
docker/.env.template
Outdated
@@ -0,0 +1,2 @@ | |||
ZEPPELIN_IMAGE=apache/zeppelin | |||
ZEPPELIN_IMAGE_TAG=0.11.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ZEPPELIN_IMAGE_TAG=0.11.2 | |
ZEPPELIN_IMAGE_TAG=0.11.2-SNAPSHOT |
@JooHyukKim |
there are a few set of docker files under |
@pan3793 |
I understand @pan3793's worries. I will also keep track of the files and we can discuss the future roadmap. @ParkGyeongTae As the next step, could you please add some descriptions for your docker-compose file on README.md? It would be better to have more details. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@jongyoul |
…Conf in all files" This reverts commit 8d5b3c5.
I have similar questions about it. it's unclear to me what the use case is: is it for users to quickly explore Zeppelin with one command? if so, the ZEPPELIN_IMAGE_TAG should use the latest released one instead of the developing SNAPSHOT version, and since you are using docker compose, we just need a preset is it for developers to quickly test their changes? if so, you should leave docs to instruct developers how to apply their changes to the environment, and how to attach the process to debug. given there was a set of scripts under |
@pan3793 |
@pan3793 I have modified the path of the docker-compose file and removed the .env file for a quicker start. Please review. |
### Zeppelin Only | ||
#### Run docker-compose | ||
```bash | ||
docker-compose -f docker-compose-zeppelin-only.yml up |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docker-compose
was deprecated for a long time and removed in the recent Docker Desktop versions, use v2 docker compose
instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pan3793 I have made the changes.
@pan3793 Could you please help to review it? |
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
version: "3.8" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested this patch locally and found
WARN[0000] /Users/chengpan/Projects/apache-zeppelin/scripts/docker/zeppelin-quick-start/docker-compose-zeppelin-only.yml:
version
is obsolete
according to https://forums.docker.com/t/docker-compose-yml-version-is-obsolete/141313 let's delete this line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pan3793 I have completed this task.
zeppelin-server: | ||
hostname: zeppelin | ||
container_name: zeppelin | ||
image: apache/zeppelin:0.11.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
! zeppelin-server The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
I tested it in an Apple Silicon machine, seems we don't provide arm64 image, this is a thing we can improve later
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will complete this task later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is another story, and should be done in another PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I plan to create a new issue for this task and proceed with it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ParkGyeongTae the change lgtm except to one nit, please update the PR title and description to match your change.
Thanks, merged to master |
@pan3793 Thank you for your review. :) |
What is this PR for?
I hope the Apache Zeppelin project provides a YAML file that can be run with the
docker compose
command. If this file is provided, I expect that more users will be able to run it easily.What type of PR is it?
Improvement
Todos
What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-6032
How should this be tested?
cd scripts/docker/zeppelin-quick-start
docker compose -f docker-compose-zeppelin-only.yml up
Screenshots (if appropriate)
Questions: