[
https://issues.apache.org/jira/browse/PHOENIX-6707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17537617#comment-17537617
]
ASF GitHub Bot commented on PHOENIX-6707:
-----------------------------------------
stoty commented on PR #1442:
URL: https://github.com/apache/phoenix/pull/1442#issuecomment-1127840500
QueryServices.SERVER_SPOOL_THRESHOLD_BYTES_ATTRIB is a byte value, according
to the variable name.
You can go over the constants there, and find the references where they are
read, and apply the change to thos places.
> 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
>
> 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.7#820007)