[
https://issues.apache.org/jira/browse/HADOOP-11422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14252551#comment-14252551
]
Colin Patrick McCabe commented on HADOOP-11422:
-----------------------------------------------
Looks good overall.
Can we create an exception like {{UnsupportedCodec}} and throw that instead?
{{Preconditions}} are supposed to be for detecting logic errors, not runtime
configuration issues.
thanks
> Check CryptoCodec is AES-CTR for Crypto input/output stream
> -----------------------------------------------------------
>
> Key: HADOOP-11422
> URL: https://issues.apache.org/jira/browse/HADOOP-11422
> Project: Hadoop Common
> Issue Type: Improvement
> Affects Versions: 2.6.0
> Reporter: Yi Liu
> Assignee: Yi Liu
> Priority: Minor
> Attachments: HADOOP-11422.001.patch
>
>
> {{CryptoInputStream}} and {{CryptoOutputStream}} require AES-CTR as the
> algorithm/mode, although there is only AES-CTR implementation currently, but
> we'd better to check it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)