Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: HDFS XAttrs (HDFS-2006)
    • Fix Version/s: HDFS XAttrs (HDFS-2006)
    • Component/s: webhdfs
    • Labels:
      None

      Description

      Get xattrs:

      curl -i 'http://<HOST>:<PORT>/webhdfs/v1/<PATH>?op=GETXATTRS&encoding=<ENCODING>'

      Get xattr:

      curl -i 'http://<HOST>:<PORT>/webhdfs/v1/<PATH>?op=GETXATTR&xattr.name=<XATTRNAME>&encoding=<ENCODING>'

      Set xattr:

      curl -i -X PUT 'http://<HOST>:<PORT>/webhdfs/v1/<PATH>?op=SETXATTR&xattr.name=<XATTRNAME>&xattr.value=<XATTRVALUE>&flag=<FLAG>'

      Remove xattr:

      curl -i -X PUT 'http://<HOST>:<PORT>/webhdfs/v1/<PATH>?op=REMOVEXATTR&xattr.name=<XATTRNAME>'

        Attachments

        1. HDFS-6259.patch
          31 kB
          Yi Liu
        2. HDFS-6259.3.patch
          36 kB
          Yi Liu
        3. HDFS-6259.2.patch
          36 kB
          Yi Liu
        4. HDFS-6259.1.patch
          37 kB
          Yi Liu

          Issue Links

            Activity

              People

              • Assignee:
                hitliuyi Yi Liu
                Reporter:
                hitliuyi Yi Liu
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: