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

WebHdfsFileSystem#getXAttr(Path p, final String name) doesn't work if namespace is in capitals

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: webhdfs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

        hadoop fs -getfattr -n USER.attr1 /dir1 

      ==> returns value

       webhdfs.getXAttr(new Path("/dir1"),"USER.attr1")) 

      ==> returns null

        Attachments

        1. HDFS-8686-00.patch
          4 kB
          Kanaka Kumar Avvaru

          Activity

            People

            • Assignee:
              kanaka Kanaka Kumar Avvaru
              Reporter:
              jagadesh.kiran Jagadesh Kiran N
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: