hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weiwei Yang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-12039) Ozone: Implement update volume owner in ozone shell
Date Mon, 26 Jun 2017 15:33:00 GMT
Weiwei Yang created HDFS-12039:

             Summary: Ozone: Implement update volume owner in ozone shell
                 Key: HDFS-12039
                 URL: https://issues.apache.org/jira/browse/HDFS-12039
             Project: Hadoop HDFS
          Issue Type: Sub-task
          Components: ozone
            Reporter: Weiwei Yang

Ozone shell command {{updateVolume}} should support to update the owner of a volume, using
following syntax

hdfs oz -updateVolume http://ozone1.fyre.ibm.com:9864/volume-wwei-0 -owner xyz -root

this could work from rest api, following command could change the volume owner to {{www}}

curl -X PUT -H "Date: Mon, 26 Jun 2017 04:23:30 GMT" -H "x-ozone-version: v1" -H "x-ozone-user:www"
-H "Authorization:OZONE root" http://ozone1.fyre.ibm.com:9864/volume-wwei-0

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org

View raw message