Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The used Zookeeper image doesn't work. #116

Closed
cd1989 opened this issue Jan 15, 2020 · 1 comment
Closed

The used Zookeeper image doesn't work. #116

cd1989 opened this issue Jan 15, 2020 · 1 comment
Assignees

Comments

@cd1989
Copy link

cd1989 commented Jan 15, 2020

Entrypoint /usr/local/bin/zookeeperStart.sh of pravega/zookeeper:0.2.5 has following logic:

if [[ "$WRITE_CONFIGURATION" == true ]]; then
  . . .
  else
    echo Writing configuration gleaned from zookeeper ensemble
    echo "$CONFIG" | grep -v "^version="> $DYNCONFIG
  fi
fi

But $CONFIG is not set.

After changed to following, it works:

if [[ "$WRITE_CONFIGURATION" == true ]]; then
  . . .
  else
    echo Writing configuration gleaned from zookeeper ensemble
    java -jar /root/zu.jar get-all ${DOMAIN}:${CLIENT_PORT} | grep -v "^version=" > $DYNCONFIG
  fi
fi
@pbelgundi pbelgundi self-assigned this Feb 17, 2020
@pbelgundi
Copy link
Contributor

Fixed by #120

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants