258259260261262263264265266267268
BookieServer bookie = getBookie(); if (bookie == null) { LOG.warn("Trying to shutdown a bookie " + bookieId + " that has not been initialized!"); } else { bookie.shutdown(); } } public int getBookieId() { return bookieId;