[jira] [Updated] (HDFS-11773) Ozone: KSM : add listVolumes

2017-06-30 Thread Anu Engineer (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-11773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anu Engineer updated HDFS-11773:

  Resolution: Fixed
Hadoop Flags: Reviewed
  Status: Resolved  (was: Patch Available)

[~cheersyang] Thanks for the contribution. [~xyao] Thanks for the reviews. I 
have committed this to  the feature branch. I have also filed HDFS-12075 and  
HDFS-12076 for tracking purposes.


> Ozone: KSM : add listVolumes
> 
>
> Key: HDFS-11773
> URL: https://issues.apache.org/jira/browse/HDFS-11773
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ozone
>Affects Versions: HDFS-7240
>Reporter: Anu Engineer
>Assignee: Weiwei Yang
> Attachments: HDFS-11773-HDFS-7240.001.patch, 
> HDFS-11773-HDFS-7240.002.patch, HDFS-11773-HDFS-7240.003.patch, 
> listVolume_tests.log
>
>
> List volume call can be used in three different contexts. One is for the 
> administrators to list all volumes in a cluster. Second is for the 
> administrator to list the volumes owned by a specific user. Third is a user 
> listing the volumes owned by himself/herself.
> Since these calls can return large number of entries the rest protocol 
> supports paging. Paging is supported by the use of prevKey, prefix and 
> maxKeys. The caller is aware the this call is neither atomic nor consistent. 
> So we can iterate over the list even while changes are happening to the list.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Updated] (HDFS-11773) Ozone: KSM : add listVolumes

2017-06-28 Thread Weiwei Yang (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-11773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Weiwei Yang updated HDFS-11773:
---
Attachment: HDFS-11773-HDFS-7240.003.patch

Fixed the UT failure, it was because there were some other volumes created in 
other tests which are not counted in the list all result. Also fixed checkstyle 
issues.

> Ozone: KSM : add listVolumes
> 
>
> Key: HDFS-11773
> URL: https://issues.apache.org/jira/browse/HDFS-11773
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ozone
>Affects Versions: HDFS-7240
>Reporter: Anu Engineer
>Assignee: Weiwei Yang
> Attachments: HDFS-11773-HDFS-7240.001.patch, 
> HDFS-11773-HDFS-7240.002.patch, HDFS-11773-HDFS-7240.003.patch, 
> listVolume_tests.log
>
>
> List volume call can be used in three different contexts. One is for the 
> administrators to list all volumes in a cluster. Second is for the 
> administrator to list the volumes owned by a specific user. Third is a user 
> listing the volumes owned by himself/herself.
> Since these calls can return large number of entries the rest protocol 
> supports paging. Paging is supported by the use of prevKey, prefix and 
> maxKeys. The caller is aware the this call is neither atomic nor consistent. 
> So we can iterate over the list even while changes are happening to the list.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Updated] (HDFS-11773) Ozone: KSM : add listVolumes

2017-06-28 Thread Weiwei Yang (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-11773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Weiwei Yang updated HDFS-11773:
---
Attachment: HDFS-11773-HDFS-7240.002.patch

Somehow jenkins job was not triggered by v1 patch, uploaded it again (with a 
different name v2) hopefully this time it can run.

> Ozone: KSM : add listVolumes
> 
>
> Key: HDFS-11773
> URL: https://issues.apache.org/jira/browse/HDFS-11773
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ozone
>Affects Versions: HDFS-7240
>Reporter: Anu Engineer
>Assignee: Weiwei Yang
> Attachments: HDFS-11773-HDFS-7240.001.patch, 
> HDFS-11773-HDFS-7240.002.patch, listVolume_tests.log
>
>
> List volume call can be used in three different contexts. One is for the 
> administrators to list all volumes in a cluster. Second is for the 
> administrator to list the volumes owned by a specific user. Third is a user 
> listing the volumes owned by himself/herself.
> Since these calls can return large number of entries the rest protocol 
> supports paging. Paging is supported by the use of prevKey, prefix and 
> maxKeys. The caller is aware the this call is neither atomic nor consistent. 
> So we can iterate over the list even while changes are happening to the list.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Updated] (HDFS-11773) Ozone: KSM : add listVolumes

2017-06-26 Thread Weiwei Yang (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-11773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Weiwei Yang updated HDFS-11773:
---
Attachment: listVolume_tests.log

> Ozone: KSM : add listVolumes
> 
>
> Key: HDFS-11773
> URL: https://issues.apache.org/jira/browse/HDFS-11773
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ozone
>Affects Versions: HDFS-7240
>Reporter: Anu Engineer
>Assignee: Weiwei Yang
> Attachments: HDFS-11773-HDFS-7240.001.patch, listVolume_tests.log
>
>
> List volume call can be used in three different contexts. One is for the 
> administrators to list all volumes in a cluster. Second is for the 
> administrator to list the volumes owned by a specific user. Third is a user 
> listing the volumes owned by himself/herself.
> Since these calls can return large number of entries the rest protocol 
> supports paging. Paging is supported by the use of prevKey, prefix and 
> maxKeys. The caller is aware the this call is neither atomic nor consistent. 
> So we can iterate over the list even while changes are happening to the list.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Updated] (HDFS-11773) Ozone: KSM : add listVolumes

2017-06-26 Thread Weiwei Yang (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-11773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Weiwei Yang updated HDFS-11773:
---
Attachment: (was: listVolume_tests.log)

> Ozone: KSM : add listVolumes
> 
>
> Key: HDFS-11773
> URL: https://issues.apache.org/jira/browse/HDFS-11773
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ozone
>Affects Versions: HDFS-7240
>Reporter: Anu Engineer
>Assignee: Weiwei Yang
> Attachments: HDFS-11773-HDFS-7240.001.patch, listVolume_tests.log
>
>
> List volume call can be used in three different contexts. One is for the 
> administrators to list all volumes in a cluster. Second is for the 
> administrator to list the volumes owned by a specific user. Third is a user 
> listing the volumes owned by himself/herself.
> Since these calls can return large number of entries the rest protocol 
> supports paging. Paging is supported by the use of prevKey, prefix and 
> maxKeys. The caller is aware the this call is neither atomic nor consistent. 
> So we can iterate over the list even while changes are happening to the list.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Updated] (HDFS-11773) Ozone: KSM : add listVolumes

2017-06-26 Thread Weiwei Yang (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-11773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Weiwei Yang updated HDFS-11773:
---
Attachment: (was: listVolume_tests.log)

> Ozone: KSM : add listVolumes
> 
>
> Key: HDFS-11773
> URL: https://issues.apache.org/jira/browse/HDFS-11773
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ozone
>Affects Versions: HDFS-7240
>Reporter: Anu Engineer
>Assignee: Weiwei Yang
> Attachments: HDFS-11773-HDFS-7240.001.patch, listVolume_tests.log
>
>
> List volume call can be used in three different contexts. One is for the 
> administrators to list all volumes in a cluster. Second is for the 
> administrator to list the volumes owned by a specific user. Third is a user 
> listing the volumes owned by himself/herself.
> Since these calls can return large number of entries the rest protocol 
> supports paging. Paging is supported by the use of prevKey, prefix and 
> maxKeys. The caller is aware the this call is neither atomic nor consistent. 
> So we can iterate over the list even while changes are happening to the list.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Updated] (HDFS-11773) Ozone: KSM : add listVolumes

2017-06-26 Thread Weiwei Yang (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-11773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Weiwei Yang updated HDFS-11773:
---
Attachment: listVolume_tests.log

> Ozone: KSM : add listVolumes
> 
>
> Key: HDFS-11773
> URL: https://issues.apache.org/jira/browse/HDFS-11773
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ozone
>Affects Versions: HDFS-7240
>Reporter: Anu Engineer
>Assignee: Weiwei Yang
> Attachments: HDFS-11773-HDFS-7240.001.patch, listVolume_tests.log
>
>
> List volume call can be used in three different contexts. One is for the 
> administrators to list all volumes in a cluster. Second is for the 
> administrator to list the volumes owned by a specific user. Third is a user 
> listing the volumes owned by himself/herself.
> Since these calls can return large number of entries the rest protocol 
> supports paging. Paging is supported by the use of prevKey, prefix and 
> maxKeys. The caller is aware the this call is neither atomic nor consistent. 
> So we can iterate over the list even while changes are happening to the list.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Updated] (HDFS-11773) Ozone: KSM : add listVolumes

2017-06-26 Thread Weiwei Yang (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-11773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Weiwei Yang updated HDFS-11773:
---
Attachment: listVolume_tests.log

> Ozone: KSM : add listVolumes
> 
>
> Key: HDFS-11773
> URL: https://issues.apache.org/jira/browse/HDFS-11773
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ozone
>Affects Versions: HDFS-7240
>Reporter: Anu Engineer
>Assignee: Weiwei Yang
> Attachments: HDFS-11773-HDFS-7240.001.patch, listVolume_tests.log
>
>
> List volume call can be used in three different contexts. One is for the 
> administrators to list all volumes in a cluster. Second is for the 
> administrator to list the volumes owned by a specific user. Third is a user 
> listing the volumes owned by himself/herself.
> Since these calls can return large number of entries the rest protocol 
> supports paging. Paging is supported by the use of prevKey, prefix and 
> maxKeys. The caller is aware the this call is neither atomic nor consistent. 
> So we can iterate over the list even while changes are happening to the list.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Updated] (HDFS-11773) Ozone: KSM : add listVolumes

2017-06-26 Thread Weiwei Yang (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-11773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Weiwei Yang updated HDFS-11773:
---
Status: Patch Available  (was: In Progress)

> Ozone: KSM : add listVolumes
> 
>
> Key: HDFS-11773
> URL: https://issues.apache.org/jira/browse/HDFS-11773
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ozone
>Affects Versions: HDFS-7240
>Reporter: Anu Engineer
>Assignee: Weiwei Yang
> Attachments: HDFS-11773-HDFS-7240.001.patch
>
>
> List volume call can be used in three different contexts. One is for the 
> administrators to list all volumes in a cluster. Second is for the 
> administrator to list the volumes owned by a specific user. Third is a user 
> listing the volumes owned by himself/herself.
> Since these calls can return large number of entries the rest protocol 
> supports paging. Paging is supported by the use of prevKey, prefix and 
> maxKeys. The caller is aware the this call is neither atomic nor consistent. 
> So we can iterate over the list even while changes are happening to the list.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Updated] (HDFS-11773) Ozone: KSM : add listVolumes

2017-06-26 Thread Weiwei Yang (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-11773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Weiwei Yang updated HDFS-11773:
---
Attachment: HDFS-11773-HDFS-7240.001.patch

> Ozone: KSM : add listVolumes
> 
>
> Key: HDFS-11773
> URL: https://issues.apache.org/jira/browse/HDFS-11773
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: ozone
>Affects Versions: HDFS-7240
>Reporter: Anu Engineer
>Assignee: Weiwei Yang
> Attachments: HDFS-11773-HDFS-7240.001.patch
>
>
> List volume call can be used in three different contexts. One is for the 
> administrators to list all volumes in a cluster. Second is for the 
> administrator to list the volumes owned by a specific user. Third is a user 
> listing the volumes owned by himself/herself.
> Since these calls can return large number of entries the rest protocol 
> supports paging. Paging is supported by the use of prevKey, prefix and 
> maxKeys. The caller is aware the this call is neither atomic nor consistent. 
> So we can iterate over the list even while changes are happening to the list.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org