As mentioned in YARN-4855, document should be updated since commands has changed.
Use CliParser to parse options in RMAdminCLI
Should check if node exists when replace nodelabels
This message was automatically generated.
Hi Tao Jie, Would mind also uploading the final html generated by running yarn site:site ? Easier to review !
Attached picture of generated html, which is easier to review.
Thanks Tao Jie,
As per the discussion/conclusion in YARN-5697 we can revisit this, till then will cancel the patch
Updated the document respect to discussion in YARN-5697, and changed the position of the option -failOnUnknownNodes
+1 LGTM, will commit it shortly!
Tao Jie, Patch seems to not apply properly in branch-2.8, could you please rebase for it ?
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10761 (See https://builds.apache.org/job/Hadoop-trunk-Commit/10761/)
YARN-5720. Update document for "rmadmin -replaceLabelOnNode". (naganarasimha_gr: rev 0e75496049001b00c00901fcbfe3d4229b2fd64a)
It seems that nodeLabel related commends is not included in YarnCommands.html in branch-2.8.
YARN-4884 is the one which adds it, have commented there, if possible will get that merged and then apply this !
Thanks for the contribution Tao Jie, have committed the modifications to branch 2.8 too !