Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-1151 HDFS should throw HadoopIllegalArgumentException instead of IllegalArgumentException
  3. HDFS-10204

Use HadoopIllegalArgumentException replace IllegalArgumentException in hadoop-hdfs

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      In HDFS-1151, it recommended that HDFS should throw HadoopIllegalArgumentException instead of IllegalArgumentException as described in HADOOP-6537. The intent of that was to differentiate IllegalArgumentException thrown by Hadoop rather than JDK. And in current code, some palces has used HadoopIllegalArgumentException. But the most of them were still using IllegalArgumentException.

      Current JIRA's scope focused on hadoop-hdfs, other project hadoop-hdfs-client, etc can be updated later.

      Attachments

        1. HDFS-10204.001.patch
          65 kB
          Yiqun Lin
        2. HDFS-10204.002.patch
          65 kB
          Yiqun Lin
        3. HDFS-10204.003.patch
          66 kB
          Yiqun Lin

        Activity

          People

            linyiqun Yiqun Lin
            linyiqun Yiqun Lin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: