hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12260) StreamCapabilities.StreamCapability should be public.
Date Wed, 16 Aug 2017 01:04:00 GMT

    [ 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

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

View raw message