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

EC: NPE While Listing EC Policy For A Directory Following Replication Policy.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.3.0, 3.2.1, 3.1.3
    • Component/s: erasure-coding
    • Labels:
      None

      Description

      "hdfs dfs -ls -e" throws NPE When EC Policy of Directory set as "-replicate"

      Steps :-

      • Create a Directory
      • Set EC Policy for the Directory as "-replicate"
      • Check the folder details with command "hdfs dfs -ls -e <Dir path>"
        Null Pointer exception will display < ls: java.lang.NullPointerException >

      Actual Result :-
      ls: java.lang.NullPointerException

      Expected Result :-
      Should not throw NullPointerException

        Attachments

        1. HDFS-14274-01.patch
          2 kB
          Ayush Saxena
        2. HDFS-14274-02.patch
          4 kB
          Ayush Saxena

          Activity

            People

            • Assignee:
              ayushtkn Ayush Saxena
              Reporter:
              SouryakantaDwivedy Souryakanta Dwivedy
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: