[
https://issues.apache.org/jira/browse/HBASE-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nitay Joffe updated HBASE-1268:
-------------------------------
Attachment: hbase-1268.patch
This should fix it. Essentially, the problem was there are two places now where
we parse the zoo.cfg file:
1) HQuorumPeer, HBase's class that launches ZooKeeper.
2) ZooKeeperWrapper, the wrapper for all things ZooKeeper related in HBase.
The code that parses the zoo.cfg was a bit out of sync between the two after
the variable substitution patch went in and so it was causing some differences
in what each thought was in the config file.
This fixes it by having ZooKeeperWrapper call HQuorumPeer's static parse method
to do its zoo.cfg parsing.
> ZooKeeper config parsing can break HBase startup
> ------------------------------------------------
>
> Key: HBASE-1268
> URL: https://issues.apache.org/jira/browse/HBASE-1268
> Project: Hadoop HBase
> Issue Type: Bug
> Reporter: Nitay Joffe
> Assignee: Nitay Joffe
> Fix For: 0.20.0
>
> Attachments: hbase-1268.patch
>
>
> http://hudson.zones.apache.org/hudson/job/HBase-Patch/536/changes
> Noticed by Ryan:
> " [junit] 2009-03-19 01:56:17,491 ERROR [main]
> zookeeper.ZooKeeperWrapper(97): Failed to create ZooKeeper object:
> java.net.UnknownHostException: ${hbase.master.hostname}"
> Something is going wrong with the parsing/variable substitution of the new
> zoo.cfg.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.