protected void initZnode ( ) { try { ZooKeeperUtil . createAndFailSilent ( this , baseZnode ) ; ZooKeeperUtil . createAndFailSilent ( this , backupServersZnode ) ; } catch ( Exception e ) { LOG . fatal ( "Error to create znode " + baseZnode + " and " + backupServersZnode + ", exit immediately" , e ) ; System . exit ( 0 ) ; } }
Initialize the base znodes of chronos .