[
https://issues.apache.org/jira/browse/HDFS-12260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16128172#comment-16128172
]
Andrew Wang commented on HDFS-12260:
------------------------------------
Are we changing hasCapability as part of this? Part of why it's string-typed is
so we can query for unknown capabilities, which lets other subclasses add new
capabilities without modifying the core hadoop code.
> StreamCapabilities.StreamCapability should be public.
> -----------------------------------------------------
>
> Key: HDFS-12260
> URL: https://issues.apache.org/jira/browse/HDFS-12260
> Project: Hadoop HDFS
> Issue Type: Improvement
> Affects Versions: 3.0.0-alpha4
> Reporter: Lei (Eddy) Xu
>
> Client should use {{StreamCapability}} enum instead of raw string to query
> the capability of an OutputStream, for better type safety / IDE supports and
> etc.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]