Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
Impala 2.9.0
-
ghx-label-2
Description
It seems like the logic to decide on the unit does not work correctly for negative values, e.g. it prints "-7369392.00 B" instead of showing MB
[localhost:21000] > select * from tpch.lineitem; Query: select * from tpch.lineitem Query submitted at: 2017-04-20 12:04:22 (Coordinator: http://localhost:25000) Query progress can be monitored at: http://localhost:25000/query_plan?query_id=6048492f67282f78:ef0f2bd400000000 WARNINGS: Memory limit exceeded: Failed to allocate tuple buffer HDFS_SCAN_NODE (id=0) could not allocate 190.00 KB without exceeding limit. Error occurred on backend localhost:22000 by fragment 6048492f67282f78:ef0f2bd400000003 Memory left in process limit: 8.24 GB Memory left in query limit: -7369392.00 B Query(6048492f67282f78:ef0f2bd400000000): memory limit exceeded. Limit=1.00 MB Total=8.03 MB Peak=8.03 MB Fragment 6048492f67282f78:ef0f2bd400000000: Total=8.00 KB Peak=8.00 KB EXCHANGE_NODE (id=1): Total=0 Peak=0 DataStreamRecvr: Total=0 Peak=0 PLAN_ROOT_SINK: Total=0 Peak=0 CodeGen: Total=0 Peak=0 Block Manager: Total=0 Peak=0 Fragment 6048492f67282f78:ef0f2bd400000003: Total=8.02 MB Peak=8.02 MB HDFS_SCAN_NODE (id=0): Total=8.01 MB Peak=8.01 MB DataStreamSender (dst_id=1): Total=688.00 B Peak=688.00 B CodeGen: Total=0 Peak=0
Attachments
Issue Links
- is depended upon by
-
IMPALA-5158 Account for difference between process memory consumption and memory used by queries
- Resolved