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

Y. SREENIVASULU REDDY updated HBASE-28973:
------------------------------------------
    Priority: Blocker  (was: Major)

> Support client access to HBase servers using IP in IPV6 env
> -----------------------------------------------------------
>
>                 Key: HBASE-28973
>                 URL: https://issues.apache.org/jira/browse/HBASE-28973
>             Project: HBase
>          Issue Type: Improvement
>          Components: master, regionserver
>    Affects Versions: 3.0.0-alpha-4
>            Reporter: Y. SREENIVASULU REDDY
>            Assignee: Y. SREENIVASULU REDDY
>            Priority: Blocker
>              Labels: pull-request-available
>
> Using IPV6 address failed to create the WAL path.
> IPV6 address contains ":", eg: [0:0:0:0:0:0:0:1]
> WAL path creation will fail, because FS will not support to create path with 
> ":".
> so for use IP is true and the env is ipv6
>  # Encode for wal path creation with IPV6 address
>  # Decode the IPV6 address, if RS servernames are prepared from the WAL path.
> {noformat}
>  2024-11-18 10:55:43,931 | ERROR | master/<HOSTNAME>:16000:becomeActiveMaster 
> | ***** ABORTING master 0:0:0:0:0:0:0:1,16000,1731910552237: Unhandled 
> exception. Starting shutdown. ***** | 
> org.slf4j.helpers.MarkerIgnoringBase.error(MarkerIgnoringBase.java:159)
> java.lang.IllegalArgumentException: Pathname 
> /hbase/MasterData/WALs/0:0:0:0:0:0:0:1,16000,1731910552237 from 
> hdfs://hacluster/hbase/MasterData/WALs/0:0:0:0:0:0:0:1,16000,1731910552237 is 
> not a valid DFS filename.
>         at 
> org.apache.hadoop.hdfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:272)
>         at 
> org.apache.hadoop.hdfs.DistributedFileSystem$31.doCall(DistributedFileSystem.java:1849)
>         at 
> org.apache.hadoop.hdfs.DistributedFileSystem$31.doCall(DistributedFileSystem.java:1846)
>         at 
> org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
>         at 
> org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1861)
>         at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1811)
>         at 
> org.apache.hadoop.hbase.master.region.MasterRegion.createWAL(MasterRegion.java:192)
>         at 
> org.apache.hadoop.hbase.master.region.MasterRegion.open(MasterRegion.java:263)
>         at 
> org.apache.hadoop.hbase.master.region.MasterRegion.create(MasterRegion.java:344)
>         at 
> org.apache.hadoop.hbase.master.region.MasterRegionFactory.create(MasterRegionFactory.java:104)
>         at 
> org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:892)
>         at 
> org.apache.hadoop.hbase.master.HMaster.startActiveMasterManager(HMaster.java:2485)
>         at 
> org.apache.hadoop.hbase.master.HMaster.lambda$run$0(HMaster.java:558)
>         at java.lang.Thread.run(Thread.java:750){noformat}
> IPV6 address contains colon( : ) which is not a valid name in HDFS.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to