-
Notifications
You must be signed in to change notification settings - Fork 168
[#960] fix(dashboard): simplify dependency and correct the startup script #1347
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
|
What's this pr the relationship of #1326 |
1bca0ad to
0eb1ac8
Compare
|
@zuston @xianjingfeng @jerqi Modify the dashboard pom dependencies, modify the startup script to be independent of Hadoop, and separate the dashboard configuration file from the Coordinator configuration file so that it can be deployed independently. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1347 +/- ##
============================================
+ Coverage 53.22% 54.13% +0.90%
Complexity 2715 2715
============================================
Files 418 398 -20
Lines 23932 21571 -2361
Branches 2043 2043
============================================
- Hits 12738 11677 -1061
+ Misses 10408 9180 -1228
+ Partials 786 714 -72 ☔ View full report in Codecov by Sentry. |
zuston
left a comment
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.
|
Could you fix these two problems in this pr? @yl09099 |
This has been modified. |
It seems that one of them was fixed. But we still must set the env |
I have deleted the HDFS configuration in start-dashboard and do not need to set HADOOP_HOME on dashboard. |
Is there anything problems with the following code? |
0eb1ac8 to
0710fad
Compare
Learned, changed |
db54e97 to
de7a153
Compare
bin/utils.sh
Outdated
| if [[ $is_dashboard -eq 0 || -z "$HADOOP_HOME" ]]; then | ||
| echo "Dashboard need not HADOOP_HOME." | ||
| elif [[ -z "$HADOOP_HOME" ]]; then | ||
| echo "No env HADOOP_HOME." | ||
| exit 1 | ||
| fi |
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.
| if [[ $is_dashboard -eq 0 || -z "$HADOOP_HOME" ]]; then | |
| echo "Dashboard need not HADOOP_HOME." | |
| elif [[ -z "$HADOOP_HOME" ]]; then | |
| echo "No env HADOOP_HOME." | |
| exit 1 | |
| fi | |
| if [[ -z "$HADOOP_HOME" ]]; then | |
| if [[ $is_dashboard -eq 1 ]]; then | |
| echo "Dashboard need not HADOOP_HOME." | |
| else | |
| echo "No env HADOOP_HOME." | |
| exit 1 | |
| fi | |
| fi |
bin/utils.sh
Outdated
| is_dashboard=1 | ||
| if [ $# -eq 1 ]; then | ||
| is_dashboard=$1 | ||
| fi |
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.
| is_dashboard=1 | |
| if [ $# -eq 1 ]; then | |
| is_dashboard=$1 | |
| fi | |
| is_dashboard=0 | |
| if [ $# -eq 1 ]; then | |
| is_dashboard=1 | |
| fi |
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.
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.
Have no better idea. Follow your suggestion.
de7a153 to
1d8942d
Compare
xianjingfeng
left a comment
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
|
Thanks @yl09099 @xianjingfeng |
* master: (23 commits) format use synchronized format modify to singleton format format format format format change Coordinator to singleton like ShuffleServerClientFactory.java [apache#1189] feat(server): Add netty used direct memory size metric (apache#1363) format format format rename file rename [apache#960] fix(dashboard): simplify dependency and correct the startup script (apache#1347) [apache#1348] improvement(metrics): Unify tags generation for shuffle-server metrics reporter (apache#1349) [MINOR] chore: fix kubernetes ci pipeline (apache#1368) [MINOR] fix(spark): Fix NPE for ShuffleWriteClientImpl.unregisterShuffle (apache#1367) ...
…re_1119_new_2023_12_23 * feature_1119_BUFFER_LIMIT_OF_HUGE_PARTITION: add file for commit [apache#1189] feat(server): Add netty used direct memory size metric (apache#1363) format format format rename file rename [apache#960] fix(dashboard): simplify dependency and correct the startup script (apache#1347) [apache#1348] improvement(metrics): Unify tags generation for shuffle-server metrics reporter (apache#1349) [MINOR] chore: fix kubernetes ci pipeline (apache#1368) [MINOR] fix(spark): Fix NPE for ShuffleWriteClientImpl.unregisterShuffle (apache#1367) format code format code 添加堆外内存监控的代码
…tup script (apache#1347) ### What changes were proposed in this pull request? simplify dependency and correct the startup script. ### Why are the changes needed? Fix: apache#960 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Needn't.
What changes were proposed in this pull request?
simplify dependency and correct the startup script.
Why are the changes needed?
(Please clarify why the changes are needed. For instance,
Fix: #960
Does this PR introduce any user-facing change?
(Please list the user-facing changes introduced by your change, including
No.
How was this patch tested?
Needn't.