[
https://issues.apache.org/jira/browse/HDFS-13998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16678544#comment-16678544
]
Zsolt Venczel commented on HDFS-13998:
--------------------------------------
[~ayushtkn] thanks for sharing your concerns about setPolicy adding additional
audit log entries.
My solution for HDFS-13732 added an additional getPolicy call to fetch the
default policy as there is no way for the ECAdmin to know precisely the NN
default settings.
If you think this is not the preferred solution we could think about extending
the setPolicy RPC call to return the actual policy set but this is a more
involved change and should be tracked separately.
What do you think?
Best regards,
Zsolt
> ECAdmin NPE with -setPolicy -replicate
> --------------------------------------
>
> Key: HDFS-13998
> URL: https://issues.apache.org/jira/browse/HDFS-13998
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: erasure-coding
> Affects Versions: 3.2.0, 3.1.2
> Reporter: Xiao Chen
> Assignee: Zsolt Venczel
> Priority: Major
> Attachments: HDFS-13998.01.patch
>
>
> HDFS-13732 tried to improve the output of the console tool. But we missed the
> fact that for replication, {{getErasureCodingPolicy}} would return null.
> This jira is to fix it in ECAdmin, and add a unit test.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]