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

[ZEPPELIN-6150] zeppelin.sh shall respect HADOOP_HOME to find hadoop command #4899

Merged
merged 3 commits into from
Nov 15, 2024

Conversation

pan3793
Copy link
Member

@pan3793 pan3793 commented Nov 15, 2024

What is this PR for?

Obviously, *_HOME should be respected if they are present, otherwise fallback to find the command in PATH.

What type of PR is it?

Improvement

What is the Jira issue?

ZEPPELIN-6150

How should this be tested?

Manually tested on a dev env, there are multiple Hadoop clients installed in one machine, and hadoop is not available in PATH, now I can set HADOOP_HOME to allow Zeppelin start.

Screenshots (if appropriate)

Questions:

  • Does the license files need to update? no
  • Is there breaking changes for older versions? might be
  • Does this needs documentation? no

@pan3793
Copy link
Member Author

pan3793 commented Nov 15, 2024

cc @Reamer, could you please take a look at this?

Reamer
Reamer previously approved these changes Nov 15, 2024
Copy link
Contributor

@Reamer Reamer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

bin/zeppelin.sh Outdated Show resolved Hide resolved
Co-authored-by: Philipp Dallig <philipp.dallig@gmail.com>
@pan3793
Copy link
Member Author

pan3793 commented Nov 15, 2024

MS Windows testing failure is irrelevant, thanks, merging to master/0.12

@pan3793 pan3793 merged commit d21e362 into apache:master Nov 15, 2024
16 of 17 checks passed
pan3793 added a commit that referenced this pull request Nov 15, 2024
…op` command

### What is this PR for?

Obviously, `*_HOME` should be respected if they are present, otherwise fallback to find the command in `PATH`.

### What type of PR is it?

Improvement

### What is the Jira issue?

ZEPPELIN-6150

### How should this be tested?

Manually tested on a dev env, there are multiple Hadoop clients installed in one machine, and `hadoop` is not available in `PATH`, now I can set `HADOOP_HOME` to allow Zeppelin start.

### Screenshots (if appropriate)

### Questions:
* Does the license files need to update? no
* Is there breaking changes for older versions? might be
* Does this needs documentation? no

Closes #4899 from pan3793/ZEPPELIN-6150.

Signed-off-by: Cheng Pan <chengpan@apache.org>
(cherry picked from commit d21e362)
Signed-off-by: Cheng Pan <chengpan@apache.org>
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

Successfully merging this pull request may close these issues.

2 participants