[jira] [Commented] (HBASE-11768) Register region server in zookeeper by ip address

2019-12-24 Thread Allan Espinosa (Jira)


[ 
https://issues.apache.org/jira/browse/HBASE-11768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17002909#comment-17002909
 ] 

Allan Espinosa commented on HBASE-11768:


On a related note, skipping Kubernetes networking has its own set of issues.

 

HBASE-23551

> Register region server in zookeeper by ip address
> -
>
> Key: HBASE-11768
> URL: https://issues.apache.org/jira/browse/HBASE-11768
> Project: HBase
>  Issue Type: Improvement
>  Components: regionserver
>Affects Versions: 2.0.0
>Reporter: Cheney Sun
>Priority: Major
>  Labels: patch
> Attachments: HBASE-11768.master.001.patch, HBASE_11768.patch
>
>
> HBase cluster isn't always setup along with a DNS server. But regionservers 
> now register their hostnames in zookeeper, which bring some inconvenience 
> when regionserver isn't in one DNS server. In such situation, clients have to 
> maintain the ip/hostname mapping in their /etc/hosts files in order to 
> resolve the hostname returned from zookeeper to the right address. 
> However, this causes a lot of pain for clients to maintain the mapping, 
> especially when adding new machines to the cluster, or some machines' address 
> changed due to some reason. All clients need to update their host mapping 
> files. 
> The issue is to address this problem above, and try to add an option to let 
> each regionserver record themself by ip address, instead of hostname only.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (HBASE-11768) Register region server in zookeeper by ip address

2019-03-29 Thread stack (JIRA)


[ 
https://issues.apache.org/jira/browse/HBASE-11768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16805246#comment-16805246
 ] 

stack commented on HBASE-11768:
---

Ok. Am interested [~514793...@qq.com] in problems around this area sir.

> Register region server in zookeeper by ip address
> -
>
> Key: HBASE-11768
> URL: https://issues.apache.org/jira/browse/HBASE-11768
> Project: HBase
>  Issue Type: Improvement
>  Components: regionserver
>Affects Versions: 2.0.0
>Reporter: Cheney Sun
>Priority: Major
>  Labels: patch
> Attachments: HBASE-11768.master.001.patch, HBASE_11768.patch
>
>
> HBase cluster isn't always setup along with a DNS server. But regionservers 
> now register their hostnames in zookeeper, which bring some inconvenience 
> when regionserver isn't in one DNS server. In such situation, clients have to 
> maintain the ip/hostname mapping in their /etc/hosts files in order to 
> resolve the hostname returned from zookeeper to the right address. 
> However, this causes a lot of pain for clients to maintain the mapping, 
> especially when adding new machines to the cluster, or some machines' address 
> changed due to some reason. All clients need to update their host mapping 
> files. 
> The issue is to address this problem above, and try to add an option to let 
> each regionserver record themself by ip address, instead of hostname only.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (HBASE-11768) Register region server in zookeeper by ip address

2019-03-29 Thread ChenKai (JIRA)


[ 
https://issues.apache.org/jira/browse/HBASE-11768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16805195#comment-16805195
 ] 

ChenKai commented on HBASE-11768:
-

[~stack] Now we use k8s's $POD_NAME + SERVICE_NAME to config  
*hbase.master(regionserver).hostname*, and it seems to work well. I will run 
some spark jobs to do more production tests, and give feedback when I encounter 
problems.

I think this feature of registering (pod) ip to zk is very good. I will try 
later and give you more error messages, thanks.

> Register region server in zookeeper by ip address
> -
>
> Key: HBASE-11768
> URL: https://issues.apache.org/jira/browse/HBASE-11768
> Project: HBase
>  Issue Type: Improvement
>  Components: regionserver
>Affects Versions: 2.0.0
>Reporter: Cheney Sun
>Priority: Major
>  Labels: patch
> Attachments: HBASE-11768.master.001.patch, HBASE_11768.patch
>
>
> HBase cluster isn't always setup along with a DNS server. But regionservers 
> now register their hostnames in zookeeper, which bring some inconvenience 
> when regionserver isn't in one DNS server. In such situation, clients have to 
> maintain the ip/hostname mapping in their /etc/hosts files in order to 
> resolve the hostname returned from zookeeper to the right address. 
> However, this causes a lot of pain for clients to maintain the mapping, 
> especially when adding new machines to the cluster, or some machines' address 
> changed due to some reason. All clients need to update their host mapping 
> files. 
> The issue is to address this problem above, and try to add an option to let 
> each regionserver record themself by ip address, instead of hostname only.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (HBASE-11768) Register region server in zookeeper by ip address

2019-03-29 Thread stack (JIRA)


[ 
https://issues.apache.org/jira/browse/HBASE-11768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16805140#comment-16805140
 ] 

stack commented on HBASE-11768:
---

Say more [~514793...@qq.com]. I'd think you'd want IPs rather than names if k8s 
but hbase (and hadoop) don't behave as far as k8s is concerned when it comes to 
addresses and namings. This old issue is good on the problem 
https://github.com/kubernetes/dns/issues/266 I'd be up for helping out here, 
putting a more friendly k8s behavior behind a flag

Regards the complaint you see above, the Master tells RS what name to use after 
it checks in. In your case, it seems like the RS is not doing this. Paste a bit 
more log around a RS connecting to cluster and I'd be up for taking a look.

Other issues making stuff work on k8s [~514793...@qq.com]?

> Register region server in zookeeper by ip address
> -
>
> Key: HBASE-11768
> URL: https://issues.apache.org/jira/browse/HBASE-11768
> Project: HBase
>  Issue Type: Improvement
>  Components: regionserver
>Affects Versions: 2.0.0
>Reporter: Cheney Sun
>Priority: Major
>  Labels: patch
> Attachments: HBASE-11768.master.001.patch, HBASE_11768.patch
>
>
> HBase cluster isn't always setup along with a DNS server. But regionservers 
> now register their hostnames in zookeeper, which bring some inconvenience 
> when regionserver isn't in one DNS server. In such situation, clients have to 
> maintain the ip/hostname mapping in their /etc/hosts files in order to 
> resolve the hostname returned from zookeeper to the right address. 
> However, this causes a lot of pain for clients to maintain the mapping, 
> especially when adding new machines to the cluster, or some machines' address 
> changed due to some reason. All clients need to update their host mapping 
> files. 
> The issue is to address this problem above, and try to add an option to let 
> each regionserver record themself by ip address, instead of hostname only.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (HBASE-11768) Register region server in zookeeper by ip address

2019-03-29 Thread ChenKai (JIRA)


[ 
https://issues.apache.org/jira/browse/HBASE-11768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16805107#comment-16805107
 ] 

ChenKai commented on HBASE-11768:
-

[~stack] 
We run HBase cluster on k8s, and it seems to get the wrong ip(hostname) back 
with this patch when invoking *regionServerStartup* and 
*handleReportForDutyResponse* method. 
The error is {color:red}"Master passed us a different hostname to use; 
x"{color}.
I am not sure if there's something wrong with k8s DNS, so we returned and use 
*hbase.master(regionserver).hostname*.

> Register region server in zookeeper by ip address
> -
>
> Key: HBASE-11768
> URL: https://issues.apache.org/jira/browse/HBASE-11768
> Project: HBase
>  Issue Type: Improvement
>  Components: regionserver
>Affects Versions: 2.0.0
>Reporter: Cheney Sun
>Priority: Major
>  Labels: patch
> Attachments: HBASE-11768.master.001.patch, HBASE_11768.patch
>
>
> HBase cluster isn't always setup along with a DNS server. But regionservers 
> now register their hostnames in zookeeper, which bring some inconvenience 
> when regionserver isn't in one DNS server. In such situation, clients have to 
> maintain the ip/hostname mapping in their /etc/hosts files in order to 
> resolve the hostname returned from zookeeper to the right address. 
> However, this causes a lot of pain for clients to maintain the mapping, 
> especially when adding new machines to the cluster, or some machines' address 
> changed due to some reason. All clients need to update their host mapping 
> files. 
> The issue is to address this problem above, and try to add an option to let 
> each regionserver record themself by ip address, instead of hostname only.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (HBASE-11768) Register region server in zookeeper by ip address

2019-03-28 Thread stack (JIRA)


[ 
https://issues.apache.org/jira/browse/HBASE-11768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16804602#comment-16804602
 ] 

stack commented on HBASE-11768:
---

Have you tried it [~514793...@qq.com]?

> Register region server in zookeeper by ip address
> -
>
> Key: HBASE-11768
> URL: https://issues.apache.org/jira/browse/HBASE-11768
> Project: HBase
>  Issue Type: Improvement
>  Components: regionserver
>Affects Versions: 2.0.0
>Reporter: Cheney Sun
>Priority: Major
>  Labels: patch
> Attachments: HBASE-11768.master.001.patch, HBASE_11768.patch
>
>
> HBase cluster isn't always setup along with a DNS server. But regionservers 
> now register their hostnames in zookeeper, which bring some inconvenience 
> when regionserver isn't in one DNS server. In such situation, clients have to 
> maintain the ip/hostname mapping in their /etc/hosts files in order to 
> resolve the hostname returned from zookeeper to the right address. 
> However, this causes a lot of pain for clients to maintain the mapping, 
> especially when adding new machines to the cluster, or some machines' address 
> changed due to some reason. All clients need to update their host mapping 
> files. 
> The issue is to address this problem above, and try to add an option to let 
> each regionserver record themself by ip address, instead of hostname only.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (HBASE-11768) Register region server in zookeeper by ip address

2019-03-28 Thread ChenKai (JIRA)


[ 
https://issues.apache.org/jira/browse/HBASE-11768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16804554#comment-16804554
 ] 

ChenKai commented on HBASE-11768:
-

+1

> Register region server in zookeeper by ip address
> -
>
> Key: HBASE-11768
> URL: https://issues.apache.org/jira/browse/HBASE-11768
> Project: HBase
>  Issue Type: Improvement
>  Components: regionserver
>Affects Versions: 2.0.0
>Reporter: Cheney Sun
>Priority: Major
>  Labels: patch
> Attachments: HBASE-11768.master.001.patch, HBASE_11768.patch
>
>
> HBase cluster isn't always setup along with a DNS server. But regionservers 
> now register their hostnames in zookeeper, which bring some inconvenience 
> when regionserver isn't in one DNS server. In such situation, clients have to 
> maintain the ip/hostname mapping in their /etc/hosts files in order to 
> resolve the hostname returned from zookeeper to the right address. 
> However, this causes a lot of pain for clients to maintain the mapping, 
> especially when adding new machines to the cluster, or some machines' address 
> changed due to some reason. All clients need to update their host mapping 
> files. 
> The issue is to address this problem above, and try to add an option to let 
> each regionserver record themself by ip address, instead of hostname only.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (HBASE-11768) Register region server in zookeeper by ip address

2017-08-16 Thread stack (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-11768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16129421#comment-16129421
 ] 

stack commented on HBASE-11768:
---

Any luck here [~sun.cheney]?

> Register region server in zookeeper by ip address
> -
>
> Key: HBASE-11768
> URL: https://issues.apache.org/jira/browse/HBASE-11768
> Project: HBase
>  Issue Type: Improvement
>  Components: regionserver
>Affects Versions: 2.0.0
>Reporter: Cheney Sun
>  Labels: patch
> Fix For: 2.0.0
>
> Attachments: HBASE-11768.master.001.patch, HBASE_11768.patch
>
>
> HBase cluster isn't always setup along with a DNS server. But regionservers 
> now register their hostnames in zookeeper, which bring some inconvenience 
> when regionserver isn't in one DNS server. In such situation, clients have to 
> maintain the ip/hostname mapping in their /etc/hosts files in order to 
> resolve the hostname returned from zookeeper to the right address. 
> However, this causes a lot of pain for clients to maintain the mapping, 
> especially when adding new machines to the cluster, or some machines' address 
> changed due to some reason. All clients need to update their host mapping 
> files. 
> The issue is to address this problem above, and try to add an option to let 
> each regionserver record themself by ip address, instead of hostname only.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (HBASE-11768) Register region server in zookeeper by ip address

2017-08-02 Thread stack (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-11768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16112128#comment-16112128
 ] 

stack commented on HBASE-11768:
---

Go for it [~sun.cheney] I was looking at it and seems reasonable.

> Register region server in zookeeper by ip address
> -
>
> Key: HBASE-11768
> URL: https://issues.apache.org/jira/browse/HBASE-11768
> Project: HBase
>  Issue Type: Improvement
>  Components: regionserver
>Affects Versions: 2.0.0
>Reporter: Cheney Sun
>  Labels: patch
> Fix For: 2.0.0
>
> Attachments: HBASE-11768.master.001.patch, HBASE_11768.patch
>
>
> HBase cluster isn't always setup along with a DNS server. But regionservers 
> now register their hostnames in zookeeper, which bring some inconvenience 
> when regionserver isn't in one DNS server. In such situation, clients have to 
> maintain the ip/hostname mapping in their /etc/hosts files in order to 
> resolve the hostname returned from zookeeper to the right address. 
> However, this causes a lot of pain for clients to maintain the mapping, 
> especially when adding new machines to the cluster, or some machines' address 
> changed due to some reason. All clients need to update their host mapping 
> files. 
> The issue is to address this problem above, and try to add an option to let 
> each regionserver record themself by ip address, instead of hostname only.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (HBASE-11768) Register region server in zookeeper by ip address

2017-08-02 Thread Cheney Sun (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-11768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16112121#comment-16112121
 ] 

Cheney Sun commented on HBASE-11768:


@stack, I found that you rebased the patch to  master. Is the patch still on 
the roadmap? If so, I would like to fix the issues found by QA bot.

> Register region server in zookeeper by ip address
> -
>
> Key: HBASE-11768
> URL: https://issues.apache.org/jira/browse/HBASE-11768
> Project: HBase
>  Issue Type: Improvement
>  Components: regionserver
>Affects Versions: 2.0.0
>Reporter: Cheney Sun
>  Labels: patch
> Fix For: 2.0.0
>
> Attachments: HBASE-11768.master.001.patch, HBASE_11768.patch
>
>
> HBase cluster isn't always setup along with a DNS server. But regionservers 
> now register their hostnames in zookeeper, which bring some inconvenience 
> when regionserver isn't in one DNS server. In such situation, clients have to 
> maintain the ip/hostname mapping in their /etc/hosts files in order to 
> resolve the hostname returned from zookeeper to the right address. 
> However, this causes a lot of pain for clients to maintain the mapping, 
> especially when adding new machines to the cluster, or some machines' address 
> changed due to some reason. All clients need to update their host mapping 
> files. 
> The issue is to address this problem above, and try to add an option to let 
> each regionserver record themself by ip address, instead of hostname only.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (HBASE-11768) Register region server in zookeeper by ip address

2017-08-02 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-11768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16112075#comment-16112075
 ] 

Hadoop QA commented on HBASE-11768:
---

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m 
24s{color} | {color:blue} Docker mode activated. {color} |
| {color:green}+1{color} | {color:green} hbaseanti {color} | {color:green}  0m  
0s{color} | {color:green} Patch does not have any anti-patterns. {color} |
| {color:green}+1{color} | {color:green} @author {color} | {color:green}  0m  
0s{color} | {color:green} The patch does not contain any @author tags. {color} |
| {color:red}-1{color} | {color:red} test4tests {color} | {color:red}  0m  
0s{color} | {color:red} The patch doesn't appear to include any new or modified 
tests. Please justify why no new tests are needed for this patch. Also please 
list what manual steps were performed to verify this patch. {color} |
| {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  1m  
5s{color} | {color:blue} Maven dependency ordering for branch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  4m 
51s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  1m  
9s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  0m 
48s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} mvneclipse {color} | {color:green}  0m 
31s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} findbugs {color} | {color:green}  4m 
32s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  1m  
3s{color} | {color:green} master passed {color} |
| {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  0m 
20s{color} | {color:blue} Maven dependency ordering for patch {color} |
| {color:red}-1{color} | {color:red} mvninstall {color} | {color:red}  0m 
19s{color} | {color:red} hbase-server in the patch failed. {color} |
| {color:red}-1{color} | {color:red} compile {color} | {color:red}  0m 
19s{color} | {color:red} hbase-server in the patch failed. {color} |
| {color:red}-1{color} | {color:red} javac {color} | {color:red}  0m 19s{color} 
| {color:red} hbase-server in the patch failed. {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  0m 
47s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} mvneclipse {color} | {color:green}  0m 
30s{color} | {color:green} the patch passed {color} |
| {color:red}-1{color} | {color:red} whitespace {color} | {color:red}  0m  
0s{color} | {color:red} The patch has 2 line(s) that end in whitespace. Use git 
apply --whitespace=fix <>. Refer https://git-scm.com/docs/git-apply 
{color} |
| {color:red}-1{color} | {color:red} hadoopcheck {color} | {color:red}  1m 
39s{color} | {color:red} The patch causes 14 errors with Hadoop v2.6.1. {color} 
|
| {color:red}-1{color} | {color:red} hadoopcheck {color} | {color:red}  3m  
2s{color} | {color:red} The patch causes 14 errors with Hadoop v2.6.2. {color} |
| {color:red}-1{color} | {color:red} hadoopcheck {color} | {color:red}  4m 
28s{color} | {color:red} The patch causes 14 errors with Hadoop v2.6.3. {color} 
|
| {color:red}-1{color} | {color:red} hadoopcheck {color} | {color:red}  5m 
55s{color} | {color:red} The patch causes 14 errors with Hadoop v2.6.4. {color} 
|
| {color:red}-1{color} | {color:red} hadoopcheck {color} | {color:red}  7m 
21s{color} | {color:red} The patch causes 14 errors with Hadoop v2.6.5. {color} 
|
| {color:red}-1{color} | {color:red} hadoopcheck {color} | {color:red}  8m 
45s{color} | {color:red} The patch causes 14 errors with Hadoop v2.7.1. {color} 
|
| {color:red}-1{color} | {color:red} hadoopcheck {color} | {color:red} 10m 
10s{color} | {color:red} The patch causes 14 errors with Hadoop v2.7.2. {color} 
|
| {color:red}-1{color} | {color:red} hadoopcheck {color} | {color:red} 11m 
35s{color} | {color:red} The patch causes 14 errors with Hadoop v2.7.3. {color} 
|
| {color:red}-1{color} | {color:red} hadoopcheck {color} | {color:red} 13m  
0s{color} | {color:red} The patch causes 14 errors with Hadoop v3.0.0-alpha4. 
{color} |
| {color:red}-1{color} | {color:red} findbugs {color} | {color:red}  0m 
18s{color} | {color:red} hbase-server in the patch failed. {color} |
| {color:red}-1{color} | {color:red} javadoc {color} | {color:red}  0m 
17s{color} | {color:red} hbase-server in the patch failed. {color} |
| {color:green}+1{color} | {color:green} unit {color} | {color:green}  2m 
36s{color} | {color:green} hbase-common in the patch passed. {color} |
| {color:red}-1{color} | {color:red} unit {color} 

[jira] [Commented] (HBASE-11768) Register region server in zookeeper by ip address

2015-09-10 Thread Emmanuel Leroy (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-11768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14738286#comment-14738286
 ] 

Emmanuel Leroy commented on HBASE-11768:


Is this on the roadmap? 

> Register region server in zookeeper by ip address
> -
>
> Key: HBASE-11768
> URL: https://issues.apache.org/jira/browse/HBASE-11768
> Project: HBase
>  Issue Type: Improvement
>  Components: regionserver
>Affects Versions: 2.0.0
>Reporter: Cheney Sun
>  Labels: patch
> Fix For: 2.0.0
>
> Attachments: HBASE_11768.patch
>
>
> HBase cluster isn't always setup along with a DNS server. But regionservers 
> now register their hostnames in zookeeper, which bring some inconvenience 
> when regionserver isn't in one DNS server. In such situation, clients have to 
> maintain the ip/hostname mapping in their /etc/hosts files in order to 
> resolve the hostname returned from zookeeper to the right address. 
> However, this causes a lot of pain for clients to maintain the mapping, 
> especially when adding new machines to the cluster, or some machines' address 
> changed due to some reason. All clients need to update their host mapping 
> files. 
> The issue is to address this problem above, and try to add an option to let 
> each regionserver record themself by ip address, instead of hostname only.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-11768) Register region server in zookeeper by ip address

2014-08-25 Thread Cheney Sun (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-11768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14109147#comment-14109147
 ] 

Cheney Sun commented on HBASE-11768:


Jean, Yes, I have run it in a test cluster with some workload for several days. 
And so far, so good.

 Register region server in zookeeper by ip address
 -

 Key: HBASE-11768
 URL: https://issues.apache.org/jira/browse/HBASE-11768
 Project: HBase
  Issue Type: Improvement
  Components: regionserver
Affects Versions: 2.0.0
Reporter: Cheney Sun
  Labels: patch
 Fix For: 2.0.0

 Attachments: HBASE_11768.patch


 HBase cluster isn't always setup along with a DNS server. But regionservers 
 now register their hostnames in zookeeper, which bring some inconvenience 
 when regionserver isn't in one DNS server. In such situation, clients have to 
 maintain the ip/hostname mapping in their /etc/hosts files in order to 
 resolve the hostname returned from zookeeper to the right address. 
 However, this causes a lot of pain for clients to maintain the mapping, 
 especially when adding new machines to the cluster, or some machines' address 
 changed due to some reason. All clients need to update their host mapping 
 files. 
 The issue is to address this problem above, and try to add an option to let 
 each regionserver record themself by ip address, instead of hostname only.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HBASE-11768) Register region server in zookeeper by ip address

2014-08-25 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-11768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14109172#comment-14109172
 ] 

Hadoop QA commented on HBASE-11768:
---

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12662443/HBASE_11768.patch
  against trunk revision .
  ATTACHMENT ID: 12662443

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:red}-1 tests included{color}.  The patch doesn't appear to include 
any new or modified tests.
Please justify why no new tests are needed for this 
patch.
Also please list what manual steps were performed to 
verify this patch.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  The javadoc tool did not generate any 
warning messages.

{color:red}-1 findbugs{color}.  The patch appears to cause Findbugs 
(version 2.0.3) to fail.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 lineLengths{color}.  The patch does not introduce lines 
longer than 100

  {color:green}+1 site{color}.  The mvn site goal succeeds with this patch.

 {color:red}-1 core tests{color}.  The patch failed these unit tests:
   org.apache.hadoop.hbase.TestClassFinder

Test results: 
https://builds.apache.org/job/PreCommit-HBASE-Build/10564//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-HBASE-Build/10564//console

This message is automatically generated.

 Register region server in zookeeper by ip address
 -

 Key: HBASE-11768
 URL: https://issues.apache.org/jira/browse/HBASE-11768
 Project: HBase
  Issue Type: Improvement
  Components: regionserver
Affects Versions: 2.0.0
Reporter: Cheney Sun
  Labels: patch
 Fix For: 2.0.0

 Attachments: HBASE_11768.patch


 HBase cluster isn't always setup along with a DNS server. But regionservers 
 now register their hostnames in zookeeper, which bring some inconvenience 
 when regionserver isn't in one DNS server. In such situation, clients have to 
 maintain the ip/hostname mapping in their /etc/hosts files in order to 
 resolve the hostname returned from zookeeper to the right address. 
 However, this causes a lot of pain for clients to maintain the mapping, 
 especially when adding new machines to the cluster, or some machines' address 
 changed due to some reason. All clients need to update their host mapping 
 files. 
 The issue is to address this problem above, and try to add an option to let 
 each regionserver record themself by ip address, instead of hostname only.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HBASE-11768) Register region server in zookeeper by ip address

2014-08-18 Thread Jean-Marc Spaggiari (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-11768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14100548#comment-14100548
 ] 

Jean-Marc Spaggiari commented on HBASE-11768:
-

Indeed, pretty simple patch. Have you tested it in a real cluster?


 Register region server in zookeeper by ip address
 -

 Key: HBASE-11768
 URL: https://issues.apache.org/jira/browse/HBASE-11768
 Project: HBase
  Issue Type: Improvement
  Components: regionserver
Affects Versions: 2.0.0
Reporter: Cheney Sun
 Attachments: HBASE_11768.patch


 HBase cluster isn't always setup along with a DNS server. But regionservers 
 now register their hostnames in zookeeper, which bring some inconvenience 
 when regionserver isn't in one DNS server. In such situation, clients have to 
 maintain the ip/hostname mapping in their /etc/hosts files in order to 
 resolve the hostname returned from zookeeper to the right address. 
 However, this causes a lot of pain for clients to maintain the mapping, 
 especially when adding new machines to the cluster, or some machines' address 
 changed due to some reason. All clients need to update their host mapping 
 files. 
 The issue is to address this problem above, and try to add an option to let 
 each regionserver record themself by ip address, instead of hostname only.



--
This message was sent by Atlassian JIRA
(v6.2#6252)