You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2022/04/29 02:20:54 UTC
[GitHub] [ozone] MLikeWater commented on a diff in pull request #3338: HDDS-6657. Improve Ozone integrated Ranger configuration instructions
MLikeWater commented on code in PR #3338:
URL: https://github.com/apache/ozone/pull/3338#discussion_r861424040
##########
hadoop-ozone/dist/src/shell/ozone/start-ozone.sh:
##########
@@ -83,6 +83,8 @@ OZONE_JUMBO_RETCOUNTER=$?
#---------------------------------------------------------
# Ozone ozonemanager nodes
OM_NODES=$("${OZONE_HOME}/bin/ozone" getconf -ozonemanagers 2>/dev/null)
+TMP_OM_NODES=$("${OZONE_HOME}/bin/ozone" getconf -ozonemanagers 2>/dev/null)
+OM_NODES=`echo $TMP_OM_NODES | grep -o '\([0-9]\{1,3\}\.\)\{3\}[0-9]\{1,3\}' | sort -d | uniq`
Review Comment:
I am very sorry that I did not read it carefully when submitting it
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org