Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • HDFS XAttrs (HDFS-2006)
    • HDFS XAttrs (HDFS-2006)
    • webhdfs
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: