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

[#596] feat(doc): Add doc for Hadoop access #602

Merged
merged 5 commits into from
Oct 26, 2023

Conversation

mchades
Copy link
Contributor

@mchades mchades commented Oct 26, 2023

What changes were proposed in this pull request?

  • add How to access Hadoop
  • add runtime environment set up doc
  • Revised some content

Why are the changes needed?

The workaround of cannot specify the Hadoop username

Does this PR introduce any user-facing change?

no

How was this patch tested?

local test

@mchades mchades requested review from jerryshao and yuqi1129 October 26, 2023 03:04
@mchades mchades marked this pull request as ready for review October 26, 2023 03:05
@github-actions
Copy link

github-actions bot commented Oct 26, 2023

Code Coverage Report

Overall Project 67.16% 🟢

There is no coverage information present for the Files changed

conf/gravitino-env.sh.template Outdated Show resolved Hide resolved
docs/gravitino-server-config.md Outdated Show resolved Hide resolved
Currently, Gravitino server use `gravitino` as default Hadoop username, since Gravitino need to access Hadoop(HDFS, YARN etc.) while
performing certain operations, please make sure that `gravitino` have the necessary permissions for accessing HDFS or
you can change the value of `HADOOP_USER_NAME` by editing the `gravitino-env.sh` file before starting the Gravitino
server.
Copy link
Contributor

Choose a reason for hiding this comment

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

I think what you need to write is to explain the limitation of current Gravitino, and describe the workaround solutions to users, and tell users we will add user impersonation support in future.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have updated the doc, how about the current describtion?


Gravitino server also supports setting up runtime environment variables by editing the `gravitino-env.sh` file, which is located in the `conf` directory.

### How to access Hadoop
Copy link
Contributor

Choose a reason for hiding this comment

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

could you add a link to How to access Hadoop in Iceberg-rest-service.md?

Copy link
Contributor

Choose a reason for hiding this comment

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

@mchades please address this comment.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Solved. Please review again, thanks.

@jerryshao
Copy link
Contributor

@mchades Can you please change the PR title and description to reflect what you changed here?

@mchades mchades changed the title [#596] improvement(env): Add default Hadoop username [#596] doc(Hadoop): Add doc for Hadoop access Oct 26, 2023
@jerryshao jerryshao changed the title [#596] doc(Hadoop): Add doc for Hadoop access [#596] feat(doc): Add doc for Hadoop access Oct 26, 2023
@jerryshao jerryshao merged commit 1654e7e into apache:main Oct 26, 2023
jerryshao pushed a commit that referenced this pull request Oct 26, 2023
### What changes were proposed in this pull request?
 - add `How to access Hadoop`
 - add runtime environment set up doc
 - Revised some content

### Why are the changes needed?
The workaround of cannot specify the Hadoop username

### Does this PR introduce _any_ user-facing change?
no

### How was this patch tested?
local test
jerryshao pushed a commit that referenced this pull request Oct 26, 2023
### What changes were proposed in this pull request?
 - add `How to access Hadoop`
 - add runtime environment set up doc
 - Revised some content

### Why are the changes needed?
The workaround of cannot specify the Hadoop username

### Does this PR introduce _any_ user-facing change?
no

### How was this patch tested?
local test
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.

3 participants