Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-17022

Fix the exception message to print the Identifier pattern

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      In case of an incorrect string passed as value, it would throw an exception, but the message doesn't print the identifier pattern.

      java.lang.IllegalArgumentException: [] = [[a] must be {2}

       instead of 

      java.lang.IllegalArgumentException: [] = [[a] must be [a-zA-Z_][a-zA-Z0-9_\-]*

      Ref to original discussion: https://github.com/apache/hadoop/pull/5669#discussion_r1198937053

      Attachments

        Activity

          People

            nishtha11shah Nishtha Shah
            nishtha11shah Nishtha Shah
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: