You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Wei-Chiu Chuang (Jira)" <ji...@apache.org> on 2021/06/23 01:54:00 UTC

[jira] [Resolved] (HBASE-26019) Remove reflections used in HBaseConfiguration.getPassword()

     [ https://issues.apache.org/jira/browse/HBASE-26019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wei-Chiu Chuang resolved HBASE-26019.
-------------------------------------
    Resolution: Fixed

Thanks again for the review, [~wchevreuil] [~vjasani] and [~tomscut]

The commit is cherrypicked to branch-2. Let me know if it should go to lower branches.

> Remove reflections used in HBaseConfiguration.getPassword()
> -----------------------------------------------------------
>
>                 Key: HBASE-26019
>                 URL: https://issues.apache.org/jira/browse/HBASE-26019
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Wei-Chiu Chuang
>            Assignee: Wei-Chiu Chuang
>            Priority: Major
>             Fix For: 3.0.0-alpha-1, 2.5.0
>
>
> HBaseConfiguration.getPassword() uses Hadoop API Configuration.getPassword().  The API was added in Hadoop 2.6.0. Reflection was used to access the API. It's time to remove the reflection and invoke the API directly. (HBase 3.0 as well as 2.x too)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)