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

ASF GitHub Bot commented on HDFS-16871:
---------------------------------------

slfan1989 commented on PR #5240:
URL: https://github.com/apache/hadoop/pull/5240#issuecomment-1359064531

   > Could you pls help to review this PR?
   LGTM +1.
   
   We'd better trigger a compile again.




> DiskBalancer process may throws IllegalArgumentException when the target 
> DataNode has capital letter in hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-16871
>                 URL: https://issues.apache.org/jira/browse/HDFS-16871
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Daniel Ma
>            Assignee: Daniel Ma
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: screenshot-1.png, screenshot-2.png
>
>
> DiskBalancer process read DataNode hostname as lowercase letters,
>  !screenshot-1.png! 
>  but there is no letter case transform when getNodeByName.
>  !screenshot-2.png! 
> For a DataNode with lowercase hostname. everything is ok.
> But for a DataNode with uppercase hostname, when Balancer process try to 
> migrate on it,  there will be a IllegalArgumentException thrown as below,
> {code:java}
> 2022-10-09 16:15:26,631 ERROR tools.DiskBalancerCLI: 
> java.lang.IllegalArgumentException: Unable to find the specified node. 
> node-group-1YlRf0002
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to