You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/12/19 08:50:00 UTC

[jira] [Commented] (HDFS-16871) DiskBalancer process may throws IllegalArgumentException when the target DataNode has capital letter in hostname

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

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

Daniel-009497 opened a new pull request, #5240:
URL: https://github.com/apache/hadoop/pull/5240

   For a Datanode with lowercase letter in hostname, everyting is ok,
   but for a Datanode with uppercase hostname, when Balancer process try ro migrate on it, there will be a IllegalArgumentException thrown.
   
   For more details, Pls refer to jira HDFS-16871
   




> 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
>         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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org