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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.1
    • 3.3.0, 3.2.1, 3.1.3
    • erasure-coding
    • 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-02.patch
          4 kB
          Ayush Saxena
        2. HDFS-14274-01.patch
          2 kB
          Ayush Saxena

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: