anchor.diff:  :WaitLoop
           for /f "tokens=*" %%i in ('FINDSTR /C:"The resource manager with 4 local nodes created on" %SCHED_OUT%') do set RM_URL_STR=%%i
           IF NOT ["%RM_URL_STR%"]==[""] (
  -                SET RM_URL=%RM_URL_STR:~28%
  +                SET RM_URL=%RM_URL_STR:~50%
           )
   
           for /f "tokens=*" %%i in ('FINDSTR /C:"The scheduler created on" %SCHED_OUT%') do set SCHED_URL_STR=%%i
  
positive.code: 
      set TMP_VAR=%~1
      IF %TMP_VAR:~0,2% == -D (
          set SCHED_JVM_D_OPTS=%TMP_VAR% %SCHED_JVM_D_OPTS%    
          goto :ParamParseShift
      )
  
  
negative.code:                 echo Waiting for the scheduler...
                  call :delay 5 
          ) ELSE (
                  SET SCHED_URL=%SCHED_URL_STR:~24%
                  GOTO :EndWaitLoop
          )
  
  