Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Won't Do
-
None
-
None
-
None
Description
Issue :
Bookkeeper journal manager create all the Namenode related znode under '/ledgers' znode in zookeeper. When bookkeeper read all the ledgers from '/ledgers' znode it consider this znode (version, lock, maxtxid) as incorrect format ledger and log following error.
2012-04-20 11:52:25,611 - WARN [main-EventThread:AbstractZkLedgerManager$2@123] - Error extracting ledgerId from ZK ledger node: ledgers 2012-04-20 11:52:25,611 - WARN [main-EventThread:AbstractZkLedgerManager$2@123] - Error extracting ledgerId from ZK ledger node: lock 2012-04-20 11:52:25,612 - WARN [main-EventThread:AbstractZkLedgerManager$2@123] - Error extracting ledgerId from ZK ledger node: maxtxid 2012-04-20 11:52:26,613 - WARN [main-EventThread:AbstractZkLedgerManager$2@123] - Error extracting ledgerId from ZK ledger node: version 2012-04-20 11:52:26,613 - WARN [main-EventThread:AbstractZkLedgerManager$2@123] - Error extracting ledgerId from ZK ledger node: ledgers 2012-04-20 11:52:26,613 - WARN [main-EventThread:AbstractZkLedgerManager$2@123] - Error extracting ledgerId from ZK ledger node: lock 2012-04-20 11:52:26,613 - WARN [main-EventThread:AbstractZkLedgerManager$2@123] - Error extracting ledgerId from ZK ledger node: maxtxid 2012-04-20 11:52:27,614 - WARN [main-EventThread:AbstractZkLedgerManager$2@123] - Error extracting ledgerId from ZK ledger node: version 2012-04-20 11:52:27,614 - WARN [main-EventThread:AbstractZkLedgerManager$2@123] - Error extracting ledgerId from ZK ledger node: ledgers 2012-04-20 11:52:27,614 - WARN [main-EventThread:AbstractZkLedgerManager$2@123] - Error extracting ledgerId from ZK ledger node: lock 2012-04-20 11:52:27,615 - WARN [main-EventThread:AbstractZkLedgerManager$2@123] - Error extracting ledgerId from ZK ledger node: maxtxid 2012-04-20 11:52:28,616 - WARN [main-EventThread:AbstractZkLedgerManager$2@123] - Error extracting ledgerId from ZK ledger node: version 2012-04-20 11:52:28,616 - WARN [main-EventThread:AbstractZkLedgerManager$2@123] - Error extracting ledgerId from ZK ledger node: ledgers
I think Namenode related znode should be create in separate znode in zookeeper.
Attachments
Issue Links
- is part of
-
HDFS-3058 HA: Bring BookKeeperJournalManager up to date with HA changes
- Closed