[jira] [Comment Edited] (HDFS-14113) EC : Add Configuration to restrict UserDefined Policies

2018-12-04 Thread Ayush Saxena (JIRA)


[ 
https://issues.apache.org/jira/browse/HDFS-14113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16709689#comment-16709689
 ] 

Ayush Saxena edited comment on HDFS-14113 at 12/5/18 7:37 AM:
--

Thanks [~vinayrpet] for the review I have fixed the typo. I guess unsupported 
exception is from java.lang which is not handled anywhere and even can’t be 
unwrapped.So I guess this exception we can keep it as it is.if you agree 


was (Author: ayushtkn):
Thanks vinaya for the reciew I have foxed the typo. I guess unsupported 
exception is from java.lang which is not handled anywhere and even can’t be 
unwrapped.So I guess this exception we can keep if you agree 

> EC : Add Configuration to restrict UserDefined Policies
> ---
>
> Key: HDFS-14113
> URL: https://issues.apache.org/jira/browse/HDFS-14113
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: erasure-coding
>Reporter: Ayush Saxena
>Assignee: Ayush Saxena
>Priority: Major
> Attachments: HDFS-14113-01.patch, HDFS-14113-02.patch, 
> HDFS-14113-03.patch
>
>
> By default addition of erasure coding policies is enabled for users.We need 
> to add configuration whether to allow addition of new User Defined policies 
> or not.Which can be configured in for of a Boolean value at the server side.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Comment Edited] (HDFS-14113) EC : Add Configuration to restrict UserDefined Policies

2018-12-03 Thread Kitti Nanasi (JIRA)


[ 
https://issues.apache.org/jira/browse/HDFS-14113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16706913#comment-16706913
 ] 

Kitti Nanasi edited comment on HDFS-14113 at 12/3/18 9:56 AM:
--

Thanks [~ayushtkn] for the patch!

The patch overall looks good to me. There are only some checkstyle issues, and 
I think the following assert in TestErasureCodingAddConfig has an empty message 
by mistake.
{code:java}
assertNull("", response[0].getErrorMsg());
{code}


was (Author: knanasi):
Thanks [~ayushtkn] for the patch!

The patch overall looks good to me. There are only some checkstyle issues, and 
I think the following assert has an empty message by mistake.
{code:java}
assertNull("", response[0].getErrorMsg());
{code}

> EC : Add Configuration to restrict UserDefined Policies
> ---
>
> Key: HDFS-14113
> URL: https://issues.apache.org/jira/browse/HDFS-14113
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: erasure-coding
>Reporter: Ayush Saxena
>Assignee: Ayush Saxena
>Priority: Major
> Attachments: HDFS-14113-01.patch
>
>
> By default addition of erasure coding policies is enabled for users.We need 
> to add configuration whether to allow addition of new User Defined policies 
> or not.Which can be configured in for of a Boolean value at the server side.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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