[
https://issues.apache.org/jira/browse/IMPALA-11804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Abhishek Rawat updated IMPALA-11804:
------------------------------------
Summary: Use proper capacity for base 10 storage units (was: Use proper
capacity storage units such as KB, GB, TB)
> Use proper capacity for base 10 storage units
> ---------------------------------------------
>
> Key: IMPALA-11804
> URL: https://issues.apache.org/jira/browse/IMPALA-11804
> Project: IMPALA
> Issue Type: Task
> Components: Backend
> Reporter: Abhishek Rawat
> Priority: Major
>
> Most cloud vendors advertise storage in base 10 units such as GB, TB. Impala
> considers these storage units to be base 2. This could cause issue because
> when configuring data_cache or scratch_space Impala could try to use more
> capacity than what the underlying storage provides.
> It's okay for Impala to use base 2 units, but it should support configs using
> base 10 units and also use proper units (KiB, GiB, TiB) internally and
> everywhere else such as web UI, query profile, etc.
> The logic for parsing memory configs is here:
> https://github.com/apache/impala/blob/master/be/src/util/parse-util.cc#L39
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]