[ 
https://issues.apache.org/jira/browse/HBASE-1639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12729703#action_12729703
 ] 

stack commented on HBASE-1639:
------------------------------

One thought, make the hostname compare looser.  Users may type in machine name 
of 'connelly' but over on host it may resolve as 'connelly.duboce.net'.  
Lowercase too in case stuff is off by an upper-case letter.  Also would suggest 
you emit at least as DEBUG the decision the writeMyID came too to help trace id 
issues.  Good stuff Nitay.

> clean checkout with empty hbase-site.xml, zk won't start
> --------------------------------------------------------
>
>                 Key: HBASE-1639
>                 URL: https://issues.apache.org/jira/browse/HBASE-1639
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>            Assignee: Nitay Joffe
>             Fix For: 0.20.0
>
>         Attachments: 1639.patch
>
>
> {code}
> st...@connelly:~/checkouts/hbase/cleantrunk$ ./bin/start-hbase.sh 
> localhost: starting zookeeper, logging to 
> /home/stack/checkouts/hbase/cleantrunk/bin/../logs/hbase-stack-zookeeper-connelly.out
> localhost: java.io.IOException: Could not find my address: connelly in list 
> of ZooKeeper quorum servers
> localhost:    at 
> org.apache.hadoop.hbase.zookeeper.HQuorumPeer.writeMyID(HQuorumPeer.java:112)
> localhost:    at 
> org.apache.hadoop.hbase.zookeeper.HQuorumPeer.main(HQuorumPeer.java:66)
> starting master, logging to 
> /home/stack/checkouts/hbase/cleantrunk/bin/../logs/hbase-stack-master-connelly.out
> localhost: starting regionserver, logging to 
> /home/stack/checkouts/hbase/cleantrunk/bin/../logs/hbase-stack-regionserver-connelly.out
> {code}
> Whats supposed to happen here in the default case?
> My machine name is connolly..  I don't have anything in hbase-site.xml

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to