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

Ayush Saxena reassigned HDFS-17022:
-----------------------------------

           Key: HDFS-17022  (was: HADOOP-18745)
      Assignee:     (was: Nishtha Shah)
    Issue Type: Bug  (was: Improvement)
       Project: Hadoop HDFS  (was: Hadoop Common)

> Fix the exception message to print the Identifier pattern
> ---------------------------------------------------------
>
>                 Key: HDFS-17022
>                 URL: https://issues.apache.org/jira/browse/HDFS-17022
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Nishtha Shah
>            Priority: Minor
>
> In case of an incorrect string passed as value, it would throw an exception, 
> but the message doesn't print the identifier pattern.
> {code:java}
> java.lang.IllegalArgumentException: [] = [[a] must be {2}{code}
>  instead of 
> {code:java}
> java.lang.IllegalArgumentException: [] = [[a] must be 
> [a-zA-Z_][a-zA-Z0-9_\-]*{code}
> Ref to original discussion: 
> https://github.com/apache/hadoop/pull/5669#discussion_r1198937053



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to