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 2020/08/26 07:41:48 UTC

[GitHub] [hadoop-ozone] adoroszlai edited a comment on pull request #1343: HDDS-4137. Turn on the verbose mode of safe mode check on testlib

adoroszlai edited a comment on pull request #1343:
URL: https://github.com/apache/hadoop-ozone/pull/1343#issuecomment-680715682


   @maobaolong Thanks for updating the patch.  Sorry, I forgot that `OZONE_SAFEMODE_STATUS_COMMAND` needs to have a default value, so the following change is also needed:
   
   ```diff
   diff --git hadoop-ozone/dist/src/main/compose/testlib.sh hadoop-ozone/dist/src/main/compose/testlib.sh
   index 24a7de3b1..228572fe2 100755
   --- hadoop-ozone/dist/src/main/compose/testlib.sh
   +++ hadoop-ozone/dist/src/main/compose/testlib.sh
   @@ -63,7 +63,7 @@ find_tests(){
    ## @description wait until safemode exit (or 180 seconds)
    wait_for_safemode_exit(){
      # version-dependent
   -  : ${OZONE_ADMIN_COMMAND:=admin}
   +  : ${OZONE_SAFEMODE_STATUS_COMMAND:=ozone admin safemode status --verbose}
   
      #Reset the timer
      SECONDS=0
   ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org