[jira] [Updated] (HBASE-18124) Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer

2017-05-27 Thread liubangchen (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-18124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liubangchen updated HBASE-18124:

Description: 
Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
two way to locate datanode use by name or hostname.

I’m a engineer of  cloud computing , and I’m in charge of to make Hbase as a 
cloud service,when we make hbase as a cloud service we need  hbase support 
other way to support locate hmaster or hregionserver
Our Hbase cloud service architectue shown as follows 1.jpg

1.VM
User’s Hbase client work in vm and use virtual ip address to access hbase 
cluster.
2.NAT
   Network Address Translation, vip(Virtual Network Address) to pip (Physical 
Network Address)
3. HbaseCluster Service
 HbaseCluster Service work in physical network

Problem
1.  View on vm
  On vm side vm use vip to communication,but hbase have only one way to 
communication use struct named
  ServerName. When Hmaster startup will store master address and meta 
region server address in zookeeper, 
   then the address is pip(Physical Network Address)   because hbase 
cluster work in physical network . when vm 
  get the address from zookeeper will not work because   vm use vip to 
communication,one way to  solve this is to 
  make physical machine host as vip like 192.168.0.1,but is not better to 
make this.
2.  View on Physical machine
Physical machine use pip to communication

Solution
1.   protocol extend change proto message to below:
  {code}
  message ServerName {
  required string host_name = 1;
 optional uint32 port = 2;
 optional uint64 start_code = 3;
  optional string name=4;
 }
  {code}

 add a filed named name like hdfs’s datablock location
2.   metatable extend 
   add column to hbase:meta named info:namelocation
3.   hbase-server
  add params 
 {code}
  hbase.regionserver.servername
  
hbase.regionserver.servername
10.0.1.1
 
  {code}
  to regionserver namelocation
  add params
 {code}
   hbase.master.servername 
   
   hbase.master.servername
   10.0.1.2
   
 {code}
   to set master namelocation
4.   hbase-client
  add params 
{code}
 hbase.client.use.hostname 
 
 hbase.client.use.hostname
 true
 
{code}
 to choose which address to use

This patch is base on Hbase-1.3.0

  was:
Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
two way to locate datanode use by name or hostname.

I’m a engineer of  cloud computing , and I’m in charge of to make Hbase as a 
cloud service,when we make hbase as a cloud service we need  hbase support 
other way to support locate hmaster or hregionserver
Our Hbase cloud service architectue shown as follows 

{image}
1.jpg
{image}

1.VM
User’s Hbase client work in vm and use virtual ip address to access hbase 
cluster.
2.NAT
   Network Address Translation, vip(Virtual Network Address) to pip (Physical 
Network Address)
3. HbaseCluster Service
 HbaseCluster Service work in physical network

Problem
1.  View on vm
  On vm side vm use vip to communication,but hbase have only one way to 
communication use struct named
  ServerName. When Hmaster startup will store master address and meta 
region server address in zookeeper, 
   then the address is pip(Physical Network Address)   because hbase 
cluster work in physical network . when vm 
  get the address from zookeeper will not work because   vm use vip to 
communication,one way to  solve this is to 
  make physical machine host as vip like 192.168.0.1,but is not better to 
make this.
2.  View on Physical machine
Physical machine use pip to communication

Solution
1.   protocol extend change proto message to below:
  {code}
  message ServerName {
  required string host_name = 1;
 optional uint32 port = 2;
 optional uint64 start_code = 3;
  optional string name=4;
 }
  {code}

 add a filed named name like hdfs’s datablock location
2.   metatable extend 
   add column to hbase:meta named info:namelocation
3.   hbase-server
  add params 
 {code}
  hbase.regionserver.servername
  
hbase.regionserver.servername
10.0.1.1
 
  {code}
  to regionserver namelocation
  add params
 {code}
   hbase.master.servername 
   
   hbase.master.servername
   10.0.1.2
   
 {code}
   to set master namelocation
4.   hbase-client
  add params 
{code}
 hbase.client.use.hostname 
 
 hbase.client.use.hostname
 true
 
{code}
 to choose which address to use

This patch is base on Hbase-1.3.0


> Add Property name Of 

[jira] [Updated] (HBASE-18124) Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer

2017-05-27 Thread liubangchen (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-18124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liubangchen updated HBASE-18124:

Description: 
Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
two way to locate datanode use by name or hostname.

I’m a engineer of  cloud computing , and I’m in charge of to make Hbase as a 
cloud service,when we make hbase as a cloud service we need  hbase support 
other way to support locate hmaster or hregionserver
Our Hbase cloud service architectue shown as follows 

{image}
1.jpg
{image}

1.VM
User’s Hbase client work in vm and use virtual ip address to access hbase 
cluster.
2.NAT
   Network Address Translation, vip(Virtual Network Address) to pip (Physical 
Network Address)
3. HbaseCluster Service
 HbaseCluster Service work in physical network

Problem
1.  View on vm
  On vm side vm use vip to communication,but hbase have only one way to 
communication use struct named
  ServerName. When Hmaster startup will store master address and meta 
region server address in zookeeper, 
   then the address is pip(Physical Network Address)   because hbase 
cluster work in physical network . when vm 
  get the address from zookeeper will not work because   vm use vip to 
communication,one way to  solve this is to 
  make physical machine host as vip like 192.168.0.1,but is not better to 
make this.
2.  View on Physical machine
Physical machine use pip to communication

Solution
1.   protocol extend change proto message to below:
  {code}
  message ServerName {
  required string host_name = 1;
 optional uint32 port = 2;
 optional uint64 start_code = 3;
  optional string name=4;
 }
  {code}

 add a filed named name like hdfs’s datablock location
2.   metatable extend 
   add column to hbase:meta named info:namelocation
3.   hbase-server
  add params 
 {code}
  hbase.regionserver.servername
  
hbase.regionserver.servername
10.0.1.1
 
  {code}
  to regionserver namelocation
  add params
 {code}
   hbase.master.servername 
   
   hbase.master.servername
   10.0.1.2
   
 {code}
   to set master namelocation
4.   hbase-client
  add params 
{code}
 hbase.client.use.hostname 
 
 hbase.client.use.hostname
 true
 
{code}
 to choose which address to use

This patch is base on Hbase-1.3.0

  was:
Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
two way to locate datanode use by name or hostname.

I’m a engineer of  cloud computing , and I’m in charge of to make Hbase as a 
cloud service,when we make hbase as a cloud service we need  hbase support 
other way to support locate hmaster or hregionserver
Our Hbase cloud service architectue shown as follows 1.jpg

1.VM
User’s Hbase client work in vm and use virtual ip address to access hbase 
cluster.
2.NAT
   Network Address Translation, vip(Virtual Network Address) to pip (Physical 
Network Address)
3. HbaseCluster Service
 HbaseCluster Service work in physical network

Problem
1.  View on vm
  On vm side vm use vip to communication,but hbase have only one way to 
communication use struct named
  ServerName. When Hmaster startup will store master address and meta 
region server address in zookeeper, 
   then the address is pip(Physical Network Address)   because hbase 
cluster work in physical network . when vm 
  get the address from zookeeper will not work because   vm use vip to 
communication,one way to  solve this is to 
  make physical machine host as vip like 192.168.0.1,but is not better to 
make this.
2.  View on Physical machine
Physical machine use pip to communication

Solution
1.   protocol extend change proto message to below:
  {code}
  message ServerName {
  required string host_name = 1;
 optional uint32 port = 2;
 optional uint64 start_code = 3;
  optional string name=4;
 }
  {code}

 add a filed named name like hdfs’s datablock location
2.   metatable extend 
   add column to hbase:meta named info:namelocation
3.   hbase-server
  add params 
 {code}
  hbase.regionserver.servername
  
hbase.regionserver.servername
10.0.1.1
 
  {code}
  to regionserver namelocation
  add params
 {code}
   hbase.master.servername 
   
   hbase.master.servername
   10.0.1.2
   
 {code}
   to set master namelocation
4.   hbase-client
  add params 
{code}
 hbase.client.use.hostname 
 
 hbase.client.use.hostname
 true
 
{code}
 to choose which address to use

This patch is base on Hbase-1.3.0


> Add Property name Of 

[jira] [Updated] (HBASE-18124) Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer

2017-05-27 Thread liubangchen (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-18124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liubangchen updated HBASE-18124:

Description: 
Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
two way to locate datanode use by name or hostname.

I’m a engineer of  cloud computing , and I’m in charge of to make Hbase as a 
cloud service,when we make hbase as a cloud service we need  hbase support 
other way to support locate hmaster or hregionserver
Our Hbase cloud service architectue shown as follows 1.jpg

1.VM
User’s Hbase client work in vm and use virtual ip address to access hbase 
cluster.
2.NAT
   Network Address Translation, vip(Virtual Network Address) to pip (Physical 
Network Address)
3. HbaseCluster Service
 HbaseCluster Service work in physical network

Problem
1.  View on vm
  On vm side vm use vip to communication,but hbase have only one way to 
communication use struct named
  ServerName. When Hmaster startup will store master address and meta 
region server address in zookeeper, 
   then the address is pip(Physical Network Address)   because hbase 
cluster work in physical network . when vm 
  get the address from zookeeper will not work because   vm use vip to 
communication,one way to  solve this is to 
  make physical machine host as vip like 192.168.0.1,but is not better to 
make this.
2.  View on Physical machine
Physical machine use pip to communication

Solution
1.   protocol extend change proto message to below:
  {code}
  message ServerName {
  required string host_name = 1;
 optional uint32 port = 2;
 optional uint64 start_code = 3;
  optional string name=4;
 }
  {code}

 add a filed named name like hdfs’s datablock location
2.   metatable extend 
   add column to hbase:meta named info:namelocation
3.   hbase-server
  add params 
 {code}
  hbase.regionserver.servername
  
hbase.regionserver.servername
10.0.1.1
 
  {code}
  to regionserver namelocation
  add params
 {code}
   hbase.master.servername 
   
   hbase.master.servername
   10.0.1.2
   
 {code}
   to set master namelocation
4.   hbase-client
  add params 
{code}
 hbase.client.use.hostname 
 
 hbase.client.use.hostname
 true
 
{code}
 to choose which address to use

This patch is base on Hbase-1.3.0

  was:
Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
two way to locate datanode use by name or hostname.

I’m a engineer of  cloud computing , and I’m in charge of to make Hbase as a 
cloud service,when we make hbase as a cloud service we need  hbase support 
other way to support locate hmaster or hregionserver

Tencent Hbase cloud service architectue shown as follows 1.jpg

1.VM
User’s Hbase client work in vm and use virtual ip address to access hbase 
cluster.
2.NAT
   Network Address Translation, vip(Virtual Network Address) to pip (Physical 
Network Address)
3. HbaseCluster Service
 HbaseCluster Service work in physical network

Problem
1.  View on vm
  On vm side vm use vip to communication,but hbase have only one way to 
communication use struct named
  ServerName. When Hmaster startup will store master address and meta 
region server address in zookeeper, 
   then the address is pip(Physical Network Address)   because hbase 
cluster work in physical network . when vm 
  get the address from zookeeper will not work because   vm use vip to 
communication,one way to  solve this is to 
  make physical machine host as vip like 192.168.0.1,but is not better to 
make this.
2.  View on Physical machine
Physical machine use pip to communication

Solution
1.   protocol extend change proto message to below:
  {code}
  message ServerName {
  required string host_name = 1;
 optional uint32 port = 2;
 optional uint64 start_code = 3;
  optional string name=4;
 }
  {code}

 add a filed named name like hdfs’s datablock location
2.   metatable extend 
   add column to hbase:meta named info:namelocation
3.   hbase-server
  add params 
 {code}
  hbase.regionserver.servername
  
hbase.regionserver.servername
10.0.1.1
 
  {code}
  to regionserver namelocation
  add params
 {code}
   hbase.master.servername 
   
   hbase.master.servername
   10.0.1.2
   
 {code}
   to set master namelocation
4.   hbase-client
  add params 
{code}
 hbase.client.use.hostname 
 
 hbase.client.use.hostname
 true
 
{code}
 to choose which address to use

This patch is base on Hbase-1.3.0


> Add Property name Of Strcut 

[jira] [Updated] (HBASE-18124) Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer

2017-05-27 Thread liubangchen (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-18124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liubangchen updated HBASE-18124:

Attachment: HBASE-18124.pdf

> Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer
> -
>
> Key: HBASE-18124
> URL: https://issues.apache.org/jira/browse/HBASE-18124
> Project: HBase
>  Issue Type: New Feature
>  Components: Client, hbase, master
>Reporter: liubangchen
>Assignee: liubangchen
> Attachments: 1.jpg, HBASE-18124.patch, HBASE-18124.pdf
>
>
> Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
> two way to locate datanode use by name or hostname.
> I’m a engineer of  cloud computing , and I’m in charge of to make Hbase as a 
> cloud service,when we make hbase as a cloud service we need  hbase support 
> other way to support locate hmaster or hregionserver
> Tencent Hbase cloud service architectue shown as follows 1.jpg
> 1.VM
> User’s Hbase client work in vm and use virtual ip address to access hbase 
> cluster.
> 2.NAT
>Network Address Translation, vip(Virtual Network Address) to pip (Physical 
> Network Address)
> 3. HbaseCluster Service
>  HbaseCluster Service work in physical network
> Problem
> 1.  View on vm
>   On vm side vm use vip to communication,but hbase have only one way 
> to communication use struct named
>   ServerName. When Hmaster startup will store master address and meta 
> region server address in zookeeper, 
>then the address is pip(Physical Network Address)   because hbase 
> cluster work in physical network . when vm 
>   get the address from zookeeper will not work because   vm use vip to 
> communication,one way to  solve this is to 
>   make physical machine host as vip like 192.168.0.1,but is not better to 
> make this.
> 2.  View on Physical machine
> Physical machine use pip to communication
> Solution
> 1.   protocol extend change proto message to below:
>   {code}
>   message ServerName {
>   required string host_name = 1;
>  optional uint32 port = 2;
>  optional uint64 start_code = 3;
>   optional string name=4;
>  }
>   {code}
>  add a filed named name like hdfs’s datablock location
> 2.   metatable extend 
>add column to hbase:meta named info:namelocation
> 3.   hbase-server
>   add params 
>  {code}
>   hbase.regionserver.servername
>   
> hbase.regionserver.servername
> 10.0.1.1
>  
>   {code}
>   to regionserver namelocation
>   add params
>  {code}
>hbase.master.servername 
>
>hbase.master.servername
>10.0.1.2
>
>  {code}
>to set master namelocation
> 4.   hbase-client
>   add params 
> {code}
>  hbase.client.use.hostname 
>  
>  hbase.client.use.hostname
>  true
>  
> {code}
>  to choose which address to use
> This patch is base on Hbase-1.3.0



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (HBASE-18124) Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer

2017-05-27 Thread liubangchen (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-18124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liubangchen updated HBASE-18124:

Attachment: (was: HBASE-18124.pdf)

> Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer
> -
>
> Key: HBASE-18124
> URL: https://issues.apache.org/jira/browse/HBASE-18124
> Project: HBase
>  Issue Type: New Feature
>  Components: Client, hbase, master
>Reporter: liubangchen
>Assignee: liubangchen
> Attachments: 1.jpg, HBASE-18124.patch
>
>
> Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
> two way to locate datanode use by name or hostname.
> I’m a engineer of  cloud computing , and I’m in charge of to make Hbase as a 
> cloud service,when we make hbase as a cloud service we need  hbase support 
> other way to support locate hmaster or hregionserver
> Tencent Hbase cloud service architectue shown as follows 1.jpg
> 1.VM
> User’s Hbase client work in vm and use virtual ip address to access hbase 
> cluster.
> 2.NAT
>Network Address Translation, vip(Virtual Network Address) to pip (Physical 
> Network Address)
> 3. HbaseCluster Service
>  HbaseCluster Service work in physical network
> Problem
> 1.  View on vm
>   On vm side vm use vip to communication,but hbase have only one way 
> to communication use struct named
>   ServerName. When Hmaster startup will store master address and meta 
> region server address in zookeeper, 
>then the address is pip(Physical Network Address)   because hbase 
> cluster work in physical network . when vm 
>   get the address from zookeeper will not work because   vm use vip to 
> communication,one way to  solve this is to 
>   make physical machine host as vip like 192.168.0.1,but is not better to 
> make this.
> 2.  View on Physical machine
> Physical machine use pip to communication
> Solution
> 1.   protocol extend change proto message to below:
>   {code}
>   message ServerName {
>   required string host_name = 1;
>  optional uint32 port = 2;
>  optional uint64 start_code = 3;
>   optional string name=4;
>  }
>   {code}
>  add a filed named name like hdfs’s datablock location
> 2.   metatable extend 
>add column to hbase:meta named info:namelocation
> 3.   hbase-server
>   add params 
>  {code}
>   hbase.regionserver.servername
>   
> hbase.regionserver.servername
> 10.0.1.1
>  
>   {code}
>   to regionserver namelocation
>   add params
>  {code}
>hbase.master.servername 
>
>hbase.master.servername
>10.0.1.2
>
>  {code}
>to set master namelocation
> 4.   hbase-client
>   add params 
> {code}
>  hbase.client.use.hostname 
>  
>  hbase.client.use.hostname
>  true
>  
> {code}
>  to choose which address to use
> This patch is base on Hbase-1.3.0



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (HBASE-18124) Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer

2017-05-27 Thread liubangchen (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-18124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liubangchen updated HBASE-18124:

Description: 
Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
two way to locate datanode use by name or hostname.

I’m a engineer of  cloud computing , and I’m in charge of to make Hbase as a 
cloud service,when we make hbase as a cloud service we need  hbase support 
other way to support locate hmaster or hregionserver

Tencent Hbase cloud service architectue shown as follows 1.jpg

1.VM
User’s Hbase client work in vm and use virtual ip address to access hbase 
cluster.
2.NAT
   Network Address Translation, vip(Virtual Network Address) to pip (Physical 
Network Address)
3. HbaseCluster Service
 HbaseCluster Service work in physical network

Problem
1.  View on vm
  On vm side vm use vip to communication,but hbase have only one way to 
communication use struct named
  ServerName. When Hmaster startup will store master address and meta 
region server address in zookeeper, 
   then the address is pip(Physical Network Address)   because hbase 
cluster work in physical network . when vm 
  get the address from zookeeper will not work because   vm use vip to 
communication,one way to  solve this is to 
  make physical machine host as vip like 192.168.0.1,but is not better to 
make this.
2.  View on Physical machine
Physical machine use pip to communication

Solution
1.   protocol extend change proto message to below:
  {code}
  message ServerName {
  required string host_name = 1;
 optional uint32 port = 2;
 optional uint64 start_code = 3;
  optional string name=4;
 }
  {code}

 add a filed named name like hdfs’s datablock location
2.   metatable extend 
   add column to hbase:meta named info:namelocation
3.   hbase-server
  add params 
 {code}
  hbase.regionserver.servername
  
hbase.regionserver.servername
10.0.1.1
 
  {code}
  to regionserver namelocation
  add params
 {code}
   hbase.master.servername 
   
   hbase.master.servername
   10.0.1.2
   
 {code}
   to set master namelocation
4.   hbase-client
  add params 
{code}
 hbase.client.use.hostname 
 
 hbase.client.use.hostname
 true
 
{code}
 to choose which address to use

This patch is base on Hbase-1.3.0

  was:
Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
two way to locate datanode use by name or hostname.

I’m a engineer of tencent cloud computing , and I’m in charge of to make Hbase 
as a cloud service,when we make hbase as a cloud service we need  hbase support 
other way to support locate hmaster or hregionserver

Tencent Hbase cloud service architectue shown as follows 1.jpg

1.VM
User’s Hbase client work in vm and use virtual ip address to access hbase 
cluster.
2.NAT
   Network Address Translation, vip(Virtual Network Address) to pip (Physical 
Network Address)
3. HbaseCluster Service
 HbaseCluster Service work in physical network

Problem
1.  View on vm
  On vm side vm use vip to communication,but hbase have only one way to 
communication use struct named
  ServerName. When Hmaster startup will store master address and meta 
region server address in zookeeper, 
   then the address is pip(Physical Network Address)   because hbase 
cluster work in physical network . when vm 
  get the address from zookeeper will not work because   vm use vip to 
communication,one way to  solve this is to 
  make physical machine host as vip like 192.168.0.1,but is not better to 
make this.
2.  View on Physical machine
Physical machine use pip to communication

Solution
1.   protocol extend change proto message to below:
  {code}
  message ServerName {
  required string host_name = 1;
 optional uint32 port = 2;
 optional uint64 start_code = 3;
  optional string name=4;
 }
  {code}

 add a filed named name like hdfs’s datablock location
2.   metatable extend 
   add column to hbase:meta named info:namelocation
3.   hbase-server
  add params 
 {code}
  hbase.regionserver.servername
  
hbase.regionserver.servername
10.0.1.1
 
  {code}
  to regionserver namelocation
  add params
 {code}
   hbase.master.servername 
   
   hbase.master.servername
   10.0.1.2
   
 {code}
   to set master namelocation
4.   hbase-client
  add params 
{code}
 hbase.client.use.hostname 
 
 hbase.client.use.hostname
 true
 
{code}
 to choose which address to use

This patch is base on Hbase-1.3.0


> Add Property name Of 

[jira] [Updated] (HBASE-18124) Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer

2017-05-26 Thread liubangchen (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-18124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liubangchen updated HBASE-18124:

Description: 
Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
two way to locate datanode use by name or hostname.

I’m a engineer of tencent cloud computing , and I’m in charge of to make Hbase 
as a cloud service,when we make hbase as a cloud service we need  hbase support 
other way to support locate hmaster or hregionserver

Tencent Hbase cloud service architectue shown as follows 1.jpg

1.VM
User’s Hbase client work in vm and use virtual ip address to access hbase 
cluster.
2.NAT
   Network Address Translation, vip(Virtual Network Address) to pip (Physical 
Network Address)
3. HbaseCluster Service
 HbaseCluster Service work in physical network

Problem
1.  View on vm
  On vm side vm use vip to communication,but hbase have only one way to 
communication use struct named
  ServerName. When Hmaster startup will store master address and meta 
region server address in zookeeper, 
   then the address is pip(Physical Network Address)   because hbase 
cluster work in physical network . when vm 
  get the address from zookeeper will not work because   vm use vip to 
communication,one way to  solve this is to 
  make physical machine host as vip like 192.168.0.1,but is not better to 
make this.
2.  View on Physical machine
Physical machine use pip to communication

Solution
1.   protocol extend change proto message to below:
  {code}
  message ServerName {
  required string host_name = 1;
 optional uint32 port = 2;
 optional uint64 start_code = 3;
  optional string name=4;
 }
  {code}

 add a filed named name like hdfs’s datablock location
2.   metatable extend 
   add column to hbase:meta named info:namelocation
3.   hbase-server
  add params 
 {code}
  hbase.regionserver.servername
  
hbase.regionserver.servername
10.0.1.1
 
  {code}
  to regionserver namelocation
  add params
 {code}
   hbase.master.servername 
   
   hbase.master.servername
   10.0.1.2
   
 {code}
   to set master namelocation
4.   hbase-client
  add params 
{code}
 hbase.client.use.hostname 
 
 hbase.client.use.hostname
 true
 
{code}
 to choose which address to use

This patch is base on Hbase-1.3.0

  was:
Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
two way to locate datanode use by name or hostname.

I’m a engineer of tencent cloud computing , and I’m in charge of to make Hbase 
as a cloud service,when we make hbase as a cloud service we need  hbase support 
other way to support locate hmaster or hregionserver

Tencent Hbase cloud service architectue shown as follows 1.jpg

1.VM
User’s Hbase client work in vm and use virtual ip address to access hbase 
cluster.
2.NAT
   Network Address Translation, vip(Virtual Network Address) to pip (Physical 
Network Address)
3. HbaseCluster Service
 HbaseCluster Service work in physical network

Problem
1.  View on vm
  On vm side vm use vip to communication,but hbase have only one way to 
communication use struct named
  ServerName. When Hmaster startup will store master address and meta 
region server address in zookeeper, 
   then the address is pip(Physical Network Address)   because hbase 
cluster work in physical network . when vm 
  get the address from zookeeper will not work because   vm use vip to 
communication,one way to  solve this is to 
  make physical machine host as vip like 192.168.0.1,but is not better to 
make this.
2.  View on Physical machine
Physical machine use pip to communication

Solution
1.   protocol extend change proto message to below:
  {code}
  message ServerName {
  required string host_name = 1;
 optional uint32 port = 2;
 optional uint64 start_code = 3;
  optional string name=4;
 }
  {code}

 add a filed named name like hdfs’s datablock location
2.   metatable extend 
   add column to hbase:meta named info namelocation
3.   hbase-server
  add params 
 {code}
  hbase.regionserver.servername
  
hbase.regionserver.servername
10.0.1.1
 
  {code}
  to regionserver namelocation
  add params
 {code}
   hbase.master.servername 
   
   hbase.master.servername
   10.0.1.2
   
 {code}
   to set master namelocation
4.   hbase-client
  add params 
{code}
 hbase.client.use.hostname 
 
 hbase.client.use.hostname
 true
 
{code}
 to choose which address to use

This patch is base on Hbase-1.3.0


> Add Property 

[jira] [Updated] (HBASE-18124) Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer

2017-05-26 Thread liubangchen (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-18124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liubangchen updated HBASE-18124:

Description: 
Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
two way to locate datanode use by name or hostname.

I’m a engineer of tencent cloud computing , and I’m in charge of to make Hbase 
as a cloud service,when we make hbase as a cloud service we need  hbase support 
other way to support locate hmaster or hregionserver

Tencent Hbase cloud service architectue shown as follows 1.jpg

1.VM
User’s Hbase client work in vm and use virtual ip address to access hbase 
cluster.
2.NAT
   Network Address Translation, vip(Virtual Network Address) to pip (Physical 
Network Address)
3. HbaseCluster Service
 HbaseCluster Service work in physical network

Problem
1.  View on vm
  On vm side vm use vip to communication,but hbase have only one way to 
communication use struct named
  ServerName. When Hmaster startup will store master address and meta 
region server address in zookeeper, 
   then the address is pip(Physical Network Address)   because hbase 
cluster work in physical network . when vm 
  get the address from zookeeper will not work because   vm use vip to 
communication,one way to  solve this is to 
  make physical machine host as vip like 192.168.0.1,but is not better to 
make this.
2.  View on Physical machine
Physical machine use pip to communication

Solution
1.   protocol extend change proto message to below:
  {code}
  message ServerName {
  required string host_name = 1;
 optional uint32 port = 2;
 optional uint64 start_code = 3;
  optional string name=4;
 }
  {code}

 add a filed named name like hdfs’s datablock location
2.   metatable extend 
   add column to hbase:meta named info namelocation
3.   hbase-server
  add params 
 {code}
  hbase.regionserver.servername
  
hbase.regionserver.servername
10.0.1.1
 
  {code}
  to regionserver namelocation
  add params
 {code}
   hbase.master.servername 
   
   hbase.master.servername
   10.0.1.2
   
 {code}
   to set master namelocation
4.   hbase-client
  add params 
{code}
 hbase.client.use.hostname 
 
 hbase.client.use.hostname
 true
 
{code}
 to choose which address to use

This patch is base on Hbase-1.3.0

  was:
Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
two way to locate datanode use by name or hostname.

I’m a engineer of tencent cloud computing , and I’m in charge of to make Hbase 
as a cloud service,when we make hbase as a cloud service we need  hbase support 
other way to support locate hmaster or hregionserver

Tencent Hbase cloud service architectue shown as follows 1.jpg

1.VM
User’s Hbase client work in vm and use virtual ip address to access hbase 
cluster.
2.NAT
   Network Address Translation, vip(Virtual Network Address) to pip (Physical 
Network Address)
3. HbaseCluster Service
 HbaseCluster Service work in physical network

Problem
1.  View on vm
  On vm side vm use vip to communication,but hbase have only one way to 
communication use struct named
  ServerName. When Hmaster startup will store master address and meta 
region server address in zookeeper, 
   then the address is pip(Physical Network Address)   because hbase 
cluster work in physical network . when vm 
  get the address from zookeeper will not work because   vm use vip to 
communication,one way to  solve this is to 
  make physical machine host as vip like 192.168.0.1,but is not better to 
make this.
2.  View on Physical machine
Physical machine use pip to communication

Solution
1.   protocol extend change proto message to below:
  {code}
  message ServerName {
  required string host_name = 1;
 optional uint32 port = 2;
 optional uint64 start_code = 3;
  optional string name=4;
 }
  {code}

 add a filed named name like hdfs’s datablock location
2.   metatable extend 
   add column to hbase:meta named info namelocation
3.   hbase-server
  add params 
 {code}
  hbase.regionserver.servername
  
hbase.regionserver.servername
10.0.1.1
 
  {code}
  to regionserver namelocation
  add params
 {code}
   hbase.master.servername 
  
 hbase.master.servername
 10.0.1.2
   
 {code}
   to set master namelocation
4.   hbase-client
  add params 
{code}
 hbase.client.use.hostname 
{code}
 to choose which address to use

This patch is base on Hbase-1.3.0


> Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer
> 

[jira] [Updated] (HBASE-18124) Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer

2017-05-26 Thread liubangchen (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-18124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liubangchen updated HBASE-18124:

Description: 
Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
two way to locate datanode use by name or hostname.

I’m a engineer of tencent cloud computing , and I’m in charge of to make Hbase 
as a cloud service,when we make hbase as a cloud service we need  hbase support 
other way to support locate hmaster or hregionserver

Tencent Hbase cloud service architectue shown as follows 1.jpg

1.VM
User’s Hbase client work in vm and use virtual ip address to access hbase 
cluster.
2.NAT
   Network Address Translation, vip(Virtual Network Address) to pip (Physical 
Network Address)
3. HbaseCluster Service
 HbaseCluster Service work in physical network

Problem
1.  View on vm
  On vm side vm use vip to communication,but hbase have only one way to 
communication use struct named
  ServerName. When Hmaster startup will store master address and meta 
region server address in zookeeper, 
   then the address is pip(Physical Network Address)   because hbase 
cluster work in physical network . when vm 
  get the address from zookeeper will not work because   vm use vip to 
communication,one way to  solve this is to 
  make physical machine host as vip like 192.168.0.1,but is not better to 
make this.
2.  View on Physical machine
Physical machine use pip to communication

Solution
1.   protocol extend change proto message to below:
  {code}
  message ServerName {
  required string host_name = 1;
 optional uint32 port = 2;
 optional uint64 start_code = 3;
  optional string name=4;
 }
  {code}

 add a filed named name like hdfs’s datablock location
2.   metatable extend 
   add column to hbase:meta named info namelocation
3.   hbase-server
  add params 
 {code}
  hbase.regionserver.servername
  
hbase.regionserver.servername
10.0.1.1
 
  {code}
  to regionserver namelocation
  add params
 {code}
   hbase.master.servername 
  
 hbase.master.servername
 10.0.1.2
   
 {code}
   to set master namelocation
4.   hbase-client
  add params 
{code}
 hbase.client.use.hostname 
{code}
 to choose which address to use

This patch is base on Hbase-1.3.0

  was:
Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
two way to locate datanode use by name or hostname.

I’m a engineer of tencent cloud computing , and I’m in charge of to make Hbase 
as a cloud service,when we make hbase as a cloud service we need  hbase support 
other way to support locate hmaster or hregionserver

Tencent Hbase cloud service architectue shown as follows 1.jpg

1.VM
User’s Hbase client work in vm and use virtual ip address to access hbase 
cluster.
2.NAT
   Network Address Translation, vip(Virtual Network Address) to pip (Physical 
Network Address)
3. HbaseCluster Service
 HbaseCluster Service work in physical network

Problem
1.  View on vm
  On vm side vm use vip to communication,but hbase have only one way to 
communication use struct named
  ServerName. When Hmaster startup will store master address and meta 
region server address in zookeeper, 
   then the address is pip(Physical Network Address)   because hbase 
cluster work in physical network . when vm 
  get the address from zookeeper will not work because   vm use vip to 
communication,one way to  solve this is to 
  make physical machine host as vip like 192.168.0.1,but is not better to 
make this.
2.  View on Physical machine
Physical machine use pip to communication

Solution
1.   protocol extend change proto message to below:
  {code}
  message ServerName {
  required string host_name = 1;
 optional uint32 port = 2;
 optional uint64 start_code = 3;
  optional string name=4;
 }
  {code}

 add a filed named name like hdfs’s datablock location
2.   metatable extend 
   add column to hbase:meta named info namelocation
3.   hbase-server
  add params hbase.regionserver.servername to regionserver namelocation
  add params hbase.master.servername to set master namelocation
4.   hbase-client
  add params hbase.client.use.hostname to choose which address to use




> Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer
> -
>
> Key: HBASE-18124
> URL: https://issues.apache.org/jira/browse/HBASE-18124
> Project: HBase
>  Issue Type: New Feature
>  Components: Client, hbase, master
>Reporter: liubangchen
>Assignee: liubangchen
> 

[jira] [Updated] (HBASE-18124) Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer

2017-05-26 Thread liubangchen (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-18124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liubangchen updated HBASE-18124:

Attachment: HBASE-18124.patch

> Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer
> -
>
> Key: HBASE-18124
> URL: https://issues.apache.org/jira/browse/HBASE-18124
> Project: HBase
>  Issue Type: New Feature
>  Components: Client, hbase, master
>Reporter: liubangchen
>Assignee: liubangchen
> Attachments: 1.jpg, HBASE-18124.patch, HBASE-18124.pdf
>
>
> Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
> two way to locate datanode use by name or hostname.
> I’m a engineer of tencent cloud computing , and I’m in charge of to make 
> Hbase as a cloud service,when we make hbase as a cloud service we need  hbase 
> support other way to support locate hmaster or hregionserver
> Tencent Hbase cloud service architectue shown as follows 1.jpg
> 1.VM
> User’s Hbase client work in vm and use virtual ip address to access hbase 
> cluster.
> 2.NAT
>Network Address Translation, vip(Virtual Network Address) to pip (Physical 
> Network Address)
> 3. HbaseCluster Service
>  HbaseCluster Service work in physical network
> Problem
> 1.  View on vm
>   On vm side vm use vip to communication,but hbase have only one way 
> to communication use struct named
>   ServerName. When Hmaster startup will store master address and meta 
> region server address in zookeeper, 
>then the address is pip(Physical Network Address)   because hbase 
> cluster work in physical network . when vm 
>   get the address from zookeeper will not work because   vm use vip to 
> communication,one way to  solve this is to 
>   make physical machine host as vip like 192.168.0.1,but is not better to 
> make this.
> 2.  View on Physical machine
> Physical machine use pip to communication
> Solution
> 1.   protocol extend change proto message to below:
>   {code}
>   message ServerName {
>   required string host_name = 1;
>  optional uint32 port = 2;
>  optional uint64 start_code = 3;
>   optional string name=4;
>  }
>   {code}
>  add a filed named name like hdfs’s datablock location
> 2.   metatable extend 
>add column to hbase:meta named info namelocation
> 3.   hbase-server
>   add params hbase.regionserver.servername to regionserver namelocation
>   add params hbase.master.servername to set master namelocation
> 4.   hbase-client
>   add params hbase.client.use.hostname to choose which address to use



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (HBASE-18124) Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer

2017-05-26 Thread liubangchen (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-18124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liubangchen updated HBASE-18124:

Attachment: (was: HBASE-18124.pdf)

> Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer
> -
>
> Key: HBASE-18124
> URL: https://issues.apache.org/jira/browse/HBASE-18124
> Project: HBase
>  Issue Type: New Feature
>  Components: Client, hbase, master
>Reporter: liubangchen
>Assignee: liubangchen
> Attachments: 1.jpg, HBASE-18124.pdf
>
>
> Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
> two way to locate datanode use by name or hostname.
> I’m a engineer of tencent cloud computing , and I’m in charge of to make 
> Hbase as a cloud service,when we make hbase as a cloud service we need  hbase 
> support other way to support locate hmaster or hregionserver
> Tencent Hbase cloud service architectue shown as follows 1.jpg
> 1.VM
> User’s Hbase client work in vm and use virtual ip address to access hbase 
> cluster.
> 2.NAT
>Network Address Translation, vip(Virtual Network Address) to pip (Physical 
> Network Address)
> 3. HbaseCluster Service
>  HbaseCluster Service work in physical network
> Problem
> 1.  View on vm
>   On vm side vm use vip to communication,but hbase have only one way 
> to communication use struct named
>   ServerName. When Hmaster startup will store master address and meta 
> region server address in zookeeper, 
>then the address is pip(Physical Network Address)   because hbase 
> cluster work in physical network . when vm 
>   get the address from zookeeper will not work because   vm use vip to 
> communication,one way to  solve this is to 
>   make physical machine host as vip like 192.168.0.1,but is not better to 
> make this.
> 2.  View on Physical machine
> Physical machine use pip to communication
> Solution
> 1.   protocol extend change proto message to below:
>   {code}
>   message ServerName {
>   required string host_name = 1;
>  optional uint32 port = 2;
>  optional uint64 start_code = 3;
>   optional string name=4;
>  }
>   {code}
>  add a filed named name like hdfs’s datablock location
> 2.   metatable extend 
>add column to hbase:meta named info namelocation
> 3.   hbase-server
>   add params hbase.regionserver.servername to regionserver namelocation
>   add params hbase.master.servername to set master namelocation
> 4.   hbase-client
>   add params hbase.client.use.hostname to choose which address to use



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (HBASE-18124) Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer

2017-05-26 Thread liubangchen (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-18124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liubangchen updated HBASE-18124:

Attachment: (was: HBASE-18124.patch)

> Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer
> -
>
> Key: HBASE-18124
> URL: https://issues.apache.org/jira/browse/HBASE-18124
> Project: HBase
>  Issue Type: New Feature
>  Components: Client, hbase, master
>Reporter: liubangchen
>Assignee: liubangchen
> Attachments: 1.jpg, HBASE-18124.pdf
>
>
> Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
> two way to locate datanode use by name or hostname.
> I’m a engineer of tencent cloud computing , and I’m in charge of to make 
> Hbase as a cloud service,when we make hbase as a cloud service we need  hbase 
> support other way to support locate hmaster or hregionserver
> Tencent Hbase cloud service architectue shown as follows 1.jpg
> 1.VM
> User’s Hbase client work in vm and use virtual ip address to access hbase 
> cluster.
> 2.NAT
>Network Address Translation, vip(Virtual Network Address) to pip (Physical 
> Network Address)
> 3. HbaseCluster Service
>  HbaseCluster Service work in physical network
> Problem
> 1.  View on vm
>   On vm side vm use vip to communication,but hbase have only one way 
> to communication use struct named
>   ServerName. When Hmaster startup will store master address and meta 
> region server address in zookeeper, 
>then the address is pip(Physical Network Address)   because hbase 
> cluster work in physical network . when vm 
>   get the address from zookeeper will not work because   vm use vip to 
> communication,one way to  solve this is to 
>   make physical machine host as vip like 192.168.0.1,but is not better to 
> make this.
> 2.  View on Physical machine
> Physical machine use pip to communication
> Solution
> 1.   protocol extend change proto message to below:
>   {code}
>   message ServerName {
>   required string host_name = 1;
>  optional uint32 port = 2;
>  optional uint64 start_code = 3;
>   optional string name=4;
>  }
>   {code}
>  add a filed named name like hdfs’s datablock location
> 2.   metatable extend 
>add column to hbase:meta named info namelocation
> 3.   hbase-server
>   add params hbase.regionserver.servername to regionserver namelocation
>   add params hbase.master.servername to set master namelocation
> 4.   hbase-client
>   add params hbase.client.use.hostname to choose which address to use



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (HBASE-18124) Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer

2017-05-26 Thread liubangchen (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-18124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liubangchen updated HBASE-18124:

Attachment: HBASE-18124.pdf

> Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer
> -
>
> Key: HBASE-18124
> URL: https://issues.apache.org/jira/browse/HBASE-18124
> Project: HBase
>  Issue Type: New Feature
>  Components: Client, hbase, master
>Reporter: liubangchen
>Assignee: liubangchen
> Attachments: 1.jpg, HBASE-18124.pdf
>
>
> Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
> two way to locate datanode use by name or hostname.
> I’m a engineer of tencent cloud computing , and I’m in charge of to make 
> Hbase as a cloud service,when we make hbase as a cloud service we need  hbase 
> support other way to support locate hmaster or hregionserver
> Tencent Hbase cloud service architectue shown as follows 1.jpg
> 1.VM
> User’s Hbase client work in vm and use virtual ip address to access hbase 
> cluster.
> 2.NAT
>Network Address Translation, vip(Virtual Network Address) to pip (Physical 
> Network Address)
> 3. HbaseCluster Service
>  HbaseCluster Service work in physical network
> Problem
> 1.  View on vm
>   On vm side vm use vip to communication,but hbase have only one way 
> to communication use struct named
>   ServerName. When Hmaster startup will store master address and meta 
> region server address in zookeeper, 
>then the address is pip(Physical Network Address)   because hbase 
> cluster work in physical network . when vm 
>   get the address from zookeeper will not work because   vm use vip to 
> communication,one way to  solve this is to 
>   make physical machine host as vip like 192.168.0.1,but is not better to 
> make this.
> 2.  View on Physical machine
> Physical machine use pip to communication
> Solution
> 1.   protocol extend change proto message to below:
>   {code}
>   message ServerName {
>   required string host_name = 1;
>  optional uint32 port = 2;
>  optional uint64 start_code = 3;
>   optional string name=4;
>  }
>   {code}
>  add a filed named name like hdfs’s datablock location
> 2.   metatable extend 
>add column to hbase:meta named info namelocation
> 3.   hbase-server
>   add params hbase.regionserver.servername to regionserver namelocation
>   add params hbase.master.servername to set master namelocation
> 4.   hbase-client
>   add params hbase.client.use.hostname to choose which address to use



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (HBASE-18124) Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer

2017-05-26 Thread liubangchen (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-18124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liubangchen updated HBASE-18124:

Description: 
Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
two way to locate datanode use by name or hostname.

I’m a engineer of tencent cloud computing , and I’m in charge of to make Hbase 
as a cloud service,when we make hbase as a cloud service we need  hbase support 
other way to support locate hmaster or hregionserver

Tencent Hbase cloud service architectue shown as follows 1.jpg

1.VM
User’s Hbase client work in vm and use virtual ip address to access hbase 
cluster.
2.NAT
   Network Address Translation, vip(Virtual Network Address) to pip (Physical 
Network Address)
3. HbaseCluster Service
 HbaseCluster Service work in physical network

Problem
1.  View on vm
  On vm side vm use vip to communication,but hbase have only one way to 
communication use struct named
  ServerName. When Hmaster startup will store master address and meta 
region server address in zookeeper, 
   then the address is pip(Physical Network Address)   because hbase 
cluster work in physical network . when vm 
  get the address from zookeeper will not work because   vm use vip to 
communication,one way to  solve this is to 
  make physical machine host as vip like 192.168.0.1,but is not better to 
make this.
2.  View on Physical machine
Physical machine use pip to communication

Solution
1.   protocol extend change proto message to below:
  {code}
  message ServerName {
  required string host_name = 1;
 optional uint32 port = 2;
 optional uint64 start_code = 3;
  optional string name=4;
 }
  {code}

 add a filed named name like hdfs’s datablock location
2.   metatable extend 
   add column to hbase:meta named info namelocation
3.   hbase-server
  add params hbase.regionserver.servername to regionserver namelocation
  add params hbase.master.servername to set master namelocation
4.   hbase-client
  add params hbase.client.use.hostname to choose which address to use



  was:
Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
two way to locate datanode use by name or hostname.

I’m a engineer of tencent cloud computing , and I’m in charge of to make Hbase 
as a cloud service,when we make hbase as a cloud service we need  hbase support 
other way to support locate hmaster or hregionserver

Tencent Hbase cloud service architectue shown as follows 1.jpg

VM
User’s Hbase client work in vm and use virtual ip address to access hbase 
cluster.
• NAT
Network Address Translation, vip(Virtual Network Address) to pip (Physical 
Network Address)
• HbaseCluster Service HbaseCluster Service work in physical network

Problem
• View on vm
On vm side vm use vip to communication,but hbase have only one way to 
communication use struct named
ServerName.
When Hmaster startup will store master address and meta region server address 
in zookeeper, then the address
is pip(Physical Network Address)
because hbase cluster work in physical network . when vm get the address from 
zookeeper will not work because
vm use vip to communication,one way to
solve this is to make physical machine host as vip like 192.168.0.1,but is not 
better to make this.
• View on Physical machine
Physical machine use pip to communication, and one hbase cluster use by 
multi-user.

Solution
• protocol extend change proto message to below:
message ServerName {
required string host_name = 1;
optional uint32 port = 2;
optional uint64 start_code = 3;
optional string name=4;
}
add a filed named name like hdfs’s datablock location
• metatable extend add column to hbase:meta named info namelocation
• hbase-server
add params hbase.regionserver.servername to regionserver namelocation
add params hbase.master.servername to set master namelocation
• hbase-client
add params hbase.client.use.hostname to choose which address to use


> Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer
> -
>
> Key: HBASE-18124
> URL: https://issues.apache.org/jira/browse/HBASE-18124
> Project: HBase
>  Issue Type: New Feature
>  Components: Client, hbase, master
>Reporter: liubangchen
>Assignee: liubangchen
> Attachments: 1.jpg, HBASE-18124.patch, HBASE-18124.pdf
>
>
> Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
> two way to locate datanode use by name or hostname.
> I’m a engineer of tencent cloud computing , and I’m in charge of to make 
> Hbase as a cloud service,when we make hbase as a cloud service we need  hbase 
> support other way to support locate hmaster or hregionserver
> Tencent Hbase cloud service 

[jira] [Updated] (HBASE-18124) Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer

2017-05-26 Thread liubangchen (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-18124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liubangchen updated HBASE-18124:

Description: 
Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
two way to locate datanode use by name or hostname.

I’m a engineer of tencent cloud computing , and I’m in charge of to make Hbase 
as a cloud service,when we make hbase as a cloud service we need  hbase support 
other way to support locate hmaster or hregionserver

Tencent Hbase cloud service architectue shown as follows 1.jpg

VM
User’s Hbase client work in vm and use virtual ip address to access hbase 
cluster.
• NAT
Network Address Translation, vip(Virtual Network Address) to pip (Physical 
Network Address)
• HbaseCluster Service HbaseCluster Service work in physical network

Problem
• View on vm
On vm side vm use vip to communication,but hbase have only one way to 
communication use struct named
ServerName.
When Hmaster startup will store master address and meta region server address 
in zookeeper, then the address
is pip(Physical Network Address)
because hbase cluster work in physical network . when vm get the address from 
zookeeper will not work because
vm use vip to communication,one way to
solve this is to make physical machine host as vip like 192.168.0.1,but is not 
better to make this.
• View on Physical machine
Physical machine use pip to communication, and one hbase cluster use by 
multi-user.

Solution
• protocol extend change proto message to below:
message ServerName {
required string host_name = 1;
optional uint32 port = 2;
optional uint64 start_code = 3;
optional string name=4;
}
add a filed named name like hdfs’s datablock location
• metatable extend add column to hbase:meta named info namelocation
• hbase-server
add params hbase.regionserver.servername to regionserver namelocation
add params hbase.master.servername to set master namelocation
• hbase-client
add params hbase.client.use.hostname to choose which address to use

  was:
Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
two way to locate datanode use by name or hostname.

I’m a engineer of tencent cloud computing , and I’m in charge of to make Hbase 
as a cloud service,when we make hbase as a cloud service we need  hbase support 
other way to support locate hmaster or hregionserver


> Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer
> -
>
> Key: HBASE-18124
> URL: https://issues.apache.org/jira/browse/HBASE-18124
> Project: HBase
>  Issue Type: New Feature
>  Components: Client, hbase, master
>Reporter: liubangchen
>Assignee: liubangchen
> Attachments: 1.jpg, HBASE-18124.patch, HBASE-18124.pdf
>
>
> Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
> two way to locate datanode use by name or hostname.
> I’m a engineer of tencent cloud computing , and I’m in charge of to make 
> Hbase as a cloud service,when we make hbase as a cloud service we need  hbase 
> support other way to support locate hmaster or hregionserver
> Tencent Hbase cloud service architectue shown as follows 1.jpg
> VM
> User’s Hbase client work in vm and use virtual ip address to access hbase 
> cluster.
> • NAT
> Network Address Translation, vip(Virtual Network Address) to pip (Physical 
> Network Address)
> • HbaseCluster Service HbaseCluster Service work in physical network
> Problem
> • View on vm
> On vm side vm use vip to communication,but hbase have only one way to 
> communication use struct named
> ServerName.
> When Hmaster startup will store master address and meta region server address 
> in zookeeper, then the address
> is pip(Physical Network Address)
> because hbase cluster work in physical network . when vm get the address from 
> zookeeper will not work because
> vm use vip to communication,one way to
> solve this is to make physical machine host as vip like 192.168.0.1,but is 
> not better to make this.
> • View on Physical machine
> Physical machine use pip to communication, and one hbase cluster use by 
> multi-user.
> Solution
> • protocol extend change proto message to below:
> message ServerName {
> required string host_name = 1;
> optional uint32 port = 2;
> optional uint64 start_code = 3;
> optional string name=4;
> }
> add a filed named name like hdfs’s datablock location
> • metatable extend add column to hbase:meta named info namelocation
> • hbase-server
> add params hbase.regionserver.servername to regionserver namelocation
> add params hbase.master.servername to set master namelocation
> • hbase-client
> add params hbase.client.use.hostname to choose which address to use



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (HBASE-18124) Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer

2017-05-26 Thread liubangchen (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-18124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liubangchen updated HBASE-18124:

Attachment: 1.jpg

> Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer
> -
>
> Key: HBASE-18124
> URL: https://issues.apache.org/jira/browse/HBASE-18124
> Project: HBase
>  Issue Type: New Feature
>  Components: Client, hbase, master
>Reporter: liubangchen
>Assignee: liubangchen
> Attachments: 1.jpg, HBASE-18124.patch, HBASE-18124.pdf
>
>
> Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
> two way to locate datanode use by name or hostname.
> I’m a engineer of tencent cloud computing , and I’m in charge of to make 
> Hbase as a cloud service,when we make hbase as a cloud service we need  hbase 
> support other way to support locate hmaster or hregionserver



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (HBASE-18124) Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer

2017-05-26 Thread liubangchen (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-18124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liubangchen updated HBASE-18124:

Attachment: HBASE-18124.patch

> Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer
> -
>
> Key: HBASE-18124
> URL: https://issues.apache.org/jira/browse/HBASE-18124
> Project: HBase
>  Issue Type: New Feature
>  Components: Client, hbase, master
>Reporter: liubangchen
>Assignee: liubangchen
> Attachments: HBASE-18124.patch, HBASE-18124.pdf
>
>
> Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
> two way to locate datanode use by name or hostname.
> I’m a engineer of tencent cloud computing , and I’m in charge of to make 
> Hbase as a cloud service,when we make hbase as a cloud service we need  hbase 
> support other way to support locate hmaster or hregionserver



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (HBASE-18124) Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer

2017-05-26 Thread liubangchen (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-18124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liubangchen updated HBASE-18124:

Status: Patch Available  (was: Open)

> Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer
> -
>
> Key: HBASE-18124
> URL: https://issues.apache.org/jira/browse/HBASE-18124
> Project: HBase
>  Issue Type: New Feature
>  Components: Client, hbase, master
>Reporter: liubangchen
>Assignee: liubangchen
> Attachments: HBASE-18124.patch, HBASE-18124.pdf
>
>
> Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
> two way to locate datanode use by name or hostname.
> I’m a engineer of tencent cloud computing , and I’m in charge of to make 
> Hbase as a cloud service,when we make hbase as a cloud service we need  hbase 
> support other way to support locate hmaster or hregionserver



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (HBASE-18124) Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer

2017-05-26 Thread liubangchen (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-18124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liubangchen updated HBASE-18124:

Attachment: HBASE-18124.pdf

> Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer
> -
>
> Key: HBASE-18124
> URL: https://issues.apache.org/jira/browse/HBASE-18124
> Project: HBase
>  Issue Type: New Feature
>  Components: Client, hbase, master
>Reporter: liubangchen
>Assignee: liubangchen
> Attachments: HBASE-18124.pdf
>
>
> Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
> two way to locate datanode use by name or hostname.
> I’m a engineer of tencent cloud computing , and I’m in charge of to make 
> Hbase as a cloud service,when we make hbase as a cloud service we need  hbase 
> support other way to support locate hmaster or hregionserver



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (HBASE-18124) Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer

2017-05-26 Thread liubangchen (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-18124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liubangchen updated HBASE-18124:

Attachment: (was: arch-1.png)

> Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer
> -
>
> Key: HBASE-18124
> URL: https://issues.apache.org/jira/browse/HBASE-18124
> Project: HBase
>  Issue Type: New Feature
>  Components: Client, hbase, master
>Reporter: liubangchen
>Assignee: liubangchen
> Attachments: HBASE-18124.pdf
>
>
> Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
> two way to locate datanode use by name or hostname.
> I’m a engineer of tencent cloud computing , and I’m in charge of to make 
> Hbase as a cloud service,when we make hbase as a cloud service we need  hbase 
> support other way to support locate hmaster or hregionserver



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (HBASE-18124) Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer

2017-05-26 Thread liubangchen (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-18124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liubangchen updated HBASE-18124:

Attachment: arch-1.png

> Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer
> -
>
> Key: HBASE-18124
> URL: https://issues.apache.org/jira/browse/HBASE-18124
> Project: HBase
>  Issue Type: New Feature
>  Components: Client, hbase, master
>Reporter: liubangchen
>Assignee: liubangchen
> Attachments: arch-1.png
>
>
> Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
> two way to locate datanode use by name or hostname.
> I’m a engineer of tencent cloud computing , and I’m in charge of to make 
> Hbase as a cloud service,when we make hbase as a cloud service we need  hbase 
> support other way to support locate hmaster or hregionserver



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (HBASE-18124) Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer

2017-05-26 Thread liubangchen (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-18124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liubangchen updated HBASE-18124:

Summary: Add Property name Of Strcut ServerName To Locate HMaster Or 
HRegionServer  (was: Add Property name Of Strcut ServerName To Location HMaster 
Or HRegionServer)

> Add Property name Of Strcut ServerName To Locate HMaster Or HRegionServer
> -
>
> Key: HBASE-18124
> URL: https://issues.apache.org/jira/browse/HBASE-18124
> Project: HBase
>  Issue Type: New Feature
>  Components: Client, hbase, master
>Reporter: liubangchen
>Assignee: liubangchen
>
> Hbase only have one way to locate hmaster or hregionserver not like hdfs has 
> two way to locate datanode use by name or hostname.
> I’m a engineer of tencent cloud computing , and I’m in charge of to make 
> Hbase as a cloud service,when we make hbase as a cloud service we need  hbase 
> support other way to support locate hmaster or hregionserver



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)