Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

sentry-store package and startup script?

sentry-store package and startup script?

Contributor

Hello,

 

there is a problem with startup script in sentry-store package - startup sometimes fails, because pidfile is not created on background in time.

 

In my testing cluster I've used this crazy construct to wait (after setry startup command):

    i=0
    while ! test -f ${PIDFILE} -a $i -lt 100; do sleep 0.1; done

But simple 'sleep 1' could solve it too. :-)

Don't have an account?
Coming from Hortonworks? Activate your account here