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 "Ayush Saxena (Jira)" <ji...@apache.org> on 2023/05/20 09:11:00 UTC

[jira] [Resolved] (HDFS-17022) Fix the exception message to print the Identifier pattern

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

Ayush Saxena resolved HDFS-17022.
---------------------------------
    Fix Version/s: 3.4.0
     Hadoop Flags: Reviewed
       Resolution: Fixed

> 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
>            Assignee: Nishtha Shah
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 3.4.0
>
>
> 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org