-
Couldn't load subscription status.
- Fork 64
Shard Admin Notes
In order to bring up a shard, an initial checkpoint is needed. The checkpoint will be stored in the path
/precog-<systemId>/shard/checkpoint/<hostname>
where systemId is defined in the shard config under services.quirrel.v1.queryExecutor.systemId. You can set this using the YggUtils utility with an initial JSON value (initial is a special value that resets to zero):
java -cp yggdrasil-assembly-1.1.1-SNAPSHOT.jar com.precog.yggdrasil.util.YggUtils zk -uc '/precog-dev/shard/checkpoint/devqclus02:initial'
And you can also confirm/view a checkpoint with the same utility:
java -cp yggdrasil-assembly-1.1.1-SNAPSHOT.jar com.precog.yggdrasil.util.YggUtils zk -c /precog-dev/shard/checkpoint
Note that the utility to view checkpoints needs to point at the parent of the checkpoint path.