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

maoling commented on HBASE-13468:
---------------------------------

[[email protected]] 

*can you perform more valitity check for IPv6?e.g. there should be 8 groups.*

    IMHO,we don't need to have strict validations with IP which will be very 
trivial.I will give a strict validation if you really want to.two option:
    A: use ready-made util directly. e.g InetAddressValidator of apache commons 
or something else in the Guava.
    B: implement IPUtil.java in the hbase-common module for hbase which can 
validate IPv4/IPv6
which one would you like?
    BTW:IPv6 like this [2001:db8::1] which don't have 8 groups

 

> hbase.zookeeper.quorum supports ipv6 address
> --------------------------------------------
>
>                 Key: HBASE-13468
>                 URL: https://issues.apache.org/jira/browse/HBASE-13468
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Mingtao Zhang
>            Assignee: maoling
>            Priority: Major
>         Attachments: HBASE-13468.master.001.patch, 
> HBASE-13468.master.002.patch
>
>
> I put ipv6 address in hbase.zookeeper.quorum, by the time this string went to 
> zookeeper code, the address is messed up, i.e. only '[1234' left. 
> I started using pseudo mode with embedded zk = true.
> I downloaded 1.0.0, not sure which affected version should be here.



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

Reply via email to