hbase-9226: Thrift host and port are hardcoded in thrift2 DemoClient.java

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1514425 13f79535-47bb-0310-9956-ffa450edef68
HBASE-8667 Master and Regionserver not able to communicate if both bound to different network interfaces on the same machine

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1514427 13f79535-47bb-0310-9956-ffa450edef68