-
Notifications
You must be signed in to change notification settings - Fork 9.1k
YARN-10020. Fix build instruction of hadoop-yarn-ui. #1750
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
|
||
### Building with Maven | ||
|
||
YARN-6278 added build profile using rontend-maven-plugin which |
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.
Should we put the link to the JIRA?
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.
Sure. I made it a hyperlink.
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
You can point the UI to custom locations by setting the environment variables in `src/main/webapp/config/configs.env`. | ||
|
||
In order to access RM from UI started by `yarn start`, | ||
you need to enbale CORS by setting `hadoop.http.cross-origin.enabled` to true |
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.
enable
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.
fixed.
* You can point the UI to custom locations by setting the environment variables in `src/main/webapp/config/configs.env` | ||
You can point the UI to custom locations by setting the environment variables in `src/main/webapp/config/configs.env`. | ||
|
||
In order to access RM from UI started by `yarn start`, |
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.
"from the UI"? I'm not sure what we are trying to say here.
I would recommend rephrasing this.
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.
addressed by adding the development context.
### Building with Maven | ||
|
||
[YARN-6278](https://issues.apache.org/jira/browse/YARN-6278) | ||
added build profile using frontend-maven-plugin which |
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.
"a" build profile.
What is "frontend-maven-plugin"? I think this looks more like:
"YARN-6278 added a build profile to frontend-maven-plugin which automatically..."
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.
added link to frontend-maven-plugin as a reference.
added build profile using frontend-maven-plugin which | ||
automatically installs Node.js and Yarn locally under target/webapp directory. | ||
After building yarn-ui by `mvn package -Pyarn-ui`, you can reuse | ||
locally installed Node.js and Yarn instead of manually installing them. |
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.
"you can reuse the locally installed..."
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.
fixed.
🎊 +1 overall
This message was automatically generated. |
Thanks for the review, @goiri. |
(cherry picked from commit 92c8962)
(cherry picked from commit 92c8962)
We don't need to manually install package managers such as yarn and bower as described in README.md since frontend-maven-plugin was introduced by YARN-6278.
https://issues.apache.org/jira/browse/YARN-10020