You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2021/07/21 14:19:01 UTC
[jira] [Resolved] (HBASE-20876) Improve docs style in HConstants
[ https://issues.apache.org/jira/browse/HBASE-20876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Duo Zhang resolved HBASE-20876.
-------------------------------
Resolution: Fixed
> Improve docs style in HConstants
> --------------------------------
>
> Key: HBASE-20876
> URL: https://issues.apache.org/jira/browse/HBASE-20876
> Project: HBase
> Issue Type: Improvement
> Reporter: Reid Chan
> Assignee: Wei-Chiu Chuang
> Priority: Minor
> Labels: beginner, beginners, newbie
> Fix For: 3.0.0-alpha-1
>
> Attachments: HBASE-20876.master.001.patch
>
>
> In {{HConstants}}, there's a docs snippet:
> {code}
> /** Don't use it! This'll get you the wrong path in a secure cluster.
> * Use FileSystem.getHomeDirectory() or
> * "/user/" + UserGroupInformation.getCurrentUser().getShortUserName() */
> {code}
> It's ugly style.
> Let's improve this docs with following
> {code}
> /**
> * Description
> */
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)