YARN-11439. Fix Typo of hadoop-yarn-ui README.md. (#5405)

Co-authored-by: Shilun Fan <slfan1989@apache.org>
Reviewed-by: Ayush Saxena <ayushsaxena@apache.org>
Signed-off-by: Shilun Fan <slfan1989@apache.org>
This commit is contained in:
slfan1989 2023-02-18 13:14:01 +08:00 committed by GitHub
parent 02fd87a4d8
commit 7e486038ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ The YARN UI is an Ember based web-app that provides visualization of the applica
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 make the UI running on Ember server (started by `yarn start`) In order to make the UI running on Ember server (started by `yarn start`)
work with independently running ResouceManager, work with independently running ResourceManager,
you need to enable CORS by setting `hadoop.http.cross-origin.enabled` to true you need to enable CORS by setting `hadoop.http.cross-origin.enabled` to true
and adding `org.apache.hadoop.security.HttpCrossOriginFilterInitializer` and adding `org.apache.hadoop.security.HttpCrossOriginFilterInitializer`
to `hadoop.http.filter.initializers` in core-site.xml of the ResourceManager. to `hadoop.http.filter.initializers` in core-site.xml of the ResourceManager.