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

in webhdfs Null pointer exception will be thrown when xattrname is not given

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

       curl -i -X PUT "http://10.19.92.127:50070/webhdfs/v1/kiran/?op=REMOVEXATTR&xattr.name="
      
      or
      
       curl -i -X PUT "http://10.19.92.127:50070/webhdfs/v1/kiran/?op=REMOVEXATTR"
      
      
      {"RemoteException":{"exception":"NullPointerException","javaClassName":"java.lang.NullPointerException","message":"XAttr name cannot be null."}}
      

      Attachments

        1. HDFS-9338-00.patch
          1 kB
          Jagadesh Kiran N

        Issue Links

          Activity

            People

              jagadesh.kiran Jagadesh Kiran N
              jagadesh.kiran Jagadesh Kiran N
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: