You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2022/07/25 05:16:00 UTC
[jira] [Resolved] (PHOENIX-6707) Use Configuration.getLongBytes where applicable
[ https://issues.apache.org/jira/browse/PHOENIX-6707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Istvan Toth resolved PHOENIX-6707.
----------------------------------
Fix Version/s: 5.2.0
Release Note: Configuration properties representing Byte now can be specified with binary magnitue postfixes ( i.e. '1K' = 1024, '1M' = 1048576, etc. )
Resolution: Fixed
Committed to master.
Thanks for the patch [~andor] .
> Use Configuration.getLongBytes where applicable
> -----------------------------------------------
>
> Key: PHOENIX-6707
> URL: https://issues.apache.org/jira/browse/PHOENIX-6707
> Project: Phoenix
> Issue Type: Improvement
> Components: core
> Reporter: Istvan Toth
> Assignee: Andor Molnar
> Priority: Minor
> Fix For: 5.2.0
>
>
> Right now, we're using Configuration#getLong to read all byte values from properties.
> the Configuration object provides the #getLongBytes function, that lets the user specify the values with prefixes, i.e. 20m, 5k.
> Use getLongBytes where applicable.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)