hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nanda kumar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDDS-332) Remove the ability to configure ozone.handler.type
Date Fri, 24 Aug 2018 07:50:00 GMT

    [ https://issues.apache.org/jira/browse/HDDS-332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16591280#comment-16591280
] 

Nanda kumar commented on HDDS-332:
----------------------------------

Thanks [~anu] for working on this. Overall the patch looks very good to me.

OzoneConsts.java
We can get rid of {{OZONE_HANDLER_DISTRIBUTED}}, as it is of no use anymore.

StorageHandlerBuilder.java
Since we have only one storage handler, we can remove {{setStorageHandler}} and {{removeStorageHandler}}
methods. We can use {{ThreadLocal#initialValue}} to initialize {{STORAGE_HANDLER_THREAD_LOCAL}}
variable.

> Remove the ability to configure ozone.handler.type
> --------------------------------------------------
>
>                 Key: HDDS-332
>                 URL: https://issues.apache.org/jira/browse/HDDS-332
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>            Reporter: Dinesh Chitlangia
>            Assignee: Anu Engineer
>            Priority: Major
>             Fix For: 0.2.1
>
>         Attachments: HDDS-332.001.patch
>
>
> Based on feedback from [~anu] and [~xyao], logging this Jira to remove the ability
to configure ozone.handler.type.
> Currently, it can be configured with values - distributed or local.
> Value 'local' was strictly for internal testing purposes in initial stages. By removing
the configurability, we can avoid situations where users may end up misconfiguring and running
into issues.



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

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


Mime
View raw message