You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Balazs Hevele (Code Review)" <ge...@cloudera.org> on 2026/03/26 07:17:14 UTC

[Impala-ASF-CR] IMPALA-14589: Fix crashes in parquet-column-chunk-reader.cc

Balazs Hevele has uploaded this change for review. ( http://gerrit.cloudera.org:8080/24140


Change subject: IMPALA-14589: Fix crashes in parquet-column-chunk-reader.cc
......................................................................

IMPALA-14589: Fix crashes in parquet-column-chunk-reader.cc

If running out of memory when trying to uncompress dictionary page
buffer during parquet read, there was a crash, because there was an
assumption that dict_page_pool_ failed to allocate it, but
dict_page_pool_ is not initialized in this case, so there is a nullptr
dereference.
The error path was reverted to check from parent's dictinory_pool_'s
mem_tracker, which always exists.

The error was introduced in IMPALA-14794
with commit 49f0ab1d09541f960cee12e9a5e6aa38ec21565a

Change-Id: I7e6b4e17c627baf97dee04cdfb9c63cdc0dad3b5
---
M be/src/exec/parquet/parquet-column-chunk-reader.cc
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/40/24140/1
-- 
To view, visit http://gerrit.cloudera.org:8080/24140
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7e6b4e17c627baf97dee04cdfb9c63cdc0dad3b5
Gerrit-Change-Number: 24140
Gerrit-PatchSet: 1
Gerrit-Owner: Balazs Hevele <bh...@cloudera.com>

[Impala-ASF-CR] IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc

Posted by "Balazs Hevele (Code Review)" <ge...@cloudera.org>.
Balazs Hevele has uploaded a new patch set (#2). ( http://gerrit.cloudera.org:8080/24140 )

Change subject: IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc
......................................................................

IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc

If running out of memory when trying to uncompress dictionary page
buffer during parquet read, there was a crash, because there was an
assumption that dict_page_pool_ failed to allocate it, but
dict_page_pool_ is not initialized in this case, so there is a nullptr
dereference.
The error path was reverted to check from parent's dictinory_pool_'s
mem_tracker, which always exists.

The error was introduced in IMPALA-14794
with commit 49f0ab1d09541f960cee12e9a5e6aa38ec21565a

Change-Id: I7e6b4e17c627baf97dee04cdfb9c63cdc0dad3b5
---
M be/src/exec/parquet/parquet-column-chunk-reader.cc
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/40/24140/2
-- 
To view, visit http://gerrit.cloudera.org:8080/24140
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I7e6b4e17c627baf97dee04cdfb9c63cdc0dad3b5
Gerrit-Change-Number: 24140
Gerrit-PatchSet: 2
Gerrit-Owner: Balazs Hevele <bh...@cloudera.com>

[Impala-ASF-CR] IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc

Posted by "Balazs Hevele (Code Review)" <ge...@cloudera.org>.
Balazs Hevele has posted comments on this change. ( http://gerrit.cloudera.org:8080/24140 )

Change subject: IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc
......................................................................


Patch Set 4:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/24140/3/be/src/exec/parquet/parquet-column-chunk-reader.cc
File be/src/exec/parquet/parquet-column-chunk-reader.cc:

http://gerrit.cloudera.org:8080/#/c/24140/3/be/src/exec/parquet/parquet-column-chunk-reader.cc@190
PS3, Line 190:     } else {
             :       if (LIKELY(uncompressed_buffer->TryAllocate(buff
> I think it would be cleaner to move the error handling closer to where the 
Done



-- 
To view, visit http://gerrit.cloudera.org:8080/24140
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I7e6b4e17c627baf97dee04cdfb9c63cdc0dad3b5
Gerrit-Change-Number: 24140
Gerrit-PatchSet: 4
Gerrit-Owner: Balazs Hevele <bh...@cloudera.com>
Gerrit-Reviewer: Balazs Hevele <bh...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Comment-Date: Thu, 26 Mar 2026 18:16:06 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc

Posted by "Balazs Hevele (Code Review)" <ge...@cloudera.org>.
Hello Yida Wu, Zoltan Borok-Nagy, Impala Public Jenkins, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/24140

to look at the new patch set (#4).

Change subject: IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc
......................................................................

IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc

If running out of memory when trying to uncompress dictionary page
buffer during parquet read, there was a crash, because there was an
assumption that dict_page_pool_ failed to allocate it, but
dict_page_pool_ is not initialized in this case, so there is a nullptr
dereference.
The error was fixed by only referencing dict_page_pool_ in the path
where it is valid, and reverting the other path to reference parent's
dictionary_pool_, which always exists.

The error was introduced in IMPALA-14794
with commit 49f0ab1d09541f960cee12e9a5e6aa38ec21565a

Change-Id: I7e6b4e17c627baf97dee04cdfb9c63cdc0dad3b5
---
M be/src/exec/parquet/parquet-column-chunk-reader.cc
1 file changed, 15 insertions(+), 7 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/40/24140/4
-- 
To view, visit http://gerrit.cloudera.org:8080/24140
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I7e6b4e17c627baf97dee04cdfb9c63cdc0dad3b5
Gerrit-Change-Number: 24140
Gerrit-PatchSet: 4
Gerrit-Owner: Balazs Hevele <bh...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>

[Impala-ASF-CR] IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc

Posted by "Csaba Ringhofer (Code Review)" <ge...@cloudera.org>.
Csaba Ringhofer has posted comments on this change. ( http://gerrit.cloudera.org:8080/24140 )

Change subject: IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc
......................................................................


Patch Set 6: Code-Review+2


-- 
To view, visit http://gerrit.cloudera.org:8080/24140
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I7e6b4e17c627baf97dee04cdfb9c63cdc0dad3b5
Gerrit-Change-Number: 24140
Gerrit-PatchSet: 6
Gerrit-Owner: Balazs Hevele <bh...@cloudera.com>
Gerrit-Reviewer: Balazs Hevele <bh...@cloudera.com>
Gerrit-Reviewer: Csaba Ringhofer <cs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Comment-Date: Mon, 30 Mar 2026 17:20:12 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24140 )

Change subject: IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc
......................................................................


Patch Set 6: Verified+1


-- 
To view, visit http://gerrit.cloudera.org:8080/24140
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I7e6b4e17c627baf97dee04cdfb9c63cdc0dad3b5
Gerrit-Change-Number: 24140
Gerrit-PatchSet: 6
Gerrit-Owner: Balazs Hevele <bh...@cloudera.com>
Gerrit-Reviewer: Balazs Hevele <bh...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Comment-Date: Mon, 30 Mar 2026 10:33:59 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc

Posted by "Zoltan Borok-Nagy (Code Review)" <ge...@cloudera.org>.
Zoltan Borok-Nagy has posted comments on this change. ( http://gerrit.cloudera.org:8080/24140 )

Change subject: IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc
......................................................................


Patch Set 3:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/24140/3/be/src/exec/parquet/parquet-column-chunk-reader.cc
File be/src/exec/parquet/parquet-column-chunk-reader.cc:

http://gerrit.cloudera.org:8080/#/c/24140/3/be/src/exec/parquet/parquet-column-chunk-reader.cc@190
PS3, Line 190:       return parent_->dictionary_pool_->mem_tracker()->MemLimitExceeded(
             :                parent_->state_, details, buffer_size);
I think it would be cleaner to move the error handling closer to where the error happens:

    if (copy_buffer) {
      // Allocate a buffer from dict_page_pool_. After decoding, if all strings
      // are smallified, this will be freed. Otherwise, it will be acquired by
      // the last row batch.
      dict_page_pool_.reset(new MemPool(parent_->scan_node_->mem_tracker()));
      *dict_values = dict_page_pool_->TryAllocate(buffer_size); // case 1.
      if (*dict_values == nullptr) {
          return dict_page_pool_->mem_tracker()->MemLimitExceeded(
               parent_->state_, details, buffer_size);
      }
    } else {
      if (uncompressed_buffer->TryAllocate(buffer_size)) {
        *dict_values = uncompressed_buffer->buffer(); // case 2
      } else {
        return uncompressed_buffer->mem_tracker()->MemLimitExceeded(
               parent_->state_, details, buffer_size);
      }
    }
    DCHECK(*dict_values != nullptr));



-- 
To view, visit http://gerrit.cloudera.org:8080/24140
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I7e6b4e17c627baf97dee04cdfb9c63cdc0dad3b5
Gerrit-Change-Number: 24140
Gerrit-PatchSet: 3
Gerrit-Owner: Balazs Hevele <bh...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Comment-Date: Thu, 26 Mar 2026 14:35:19 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24140 )

Change subject: IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc
......................................................................


Patch Set 5:

Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/13289/ DRY_RUN=false


-- 
To view, visit http://gerrit.cloudera.org:8080/24140
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I7e6b4e17c627baf97dee04cdfb9c63cdc0dad3b5
Gerrit-Change-Number: 24140
Gerrit-PatchSet: 5
Gerrit-Owner: Balazs Hevele <bh...@cloudera.com>
Gerrit-Reviewer: Balazs Hevele <bh...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Comment-Date: Fri, 27 Mar 2026 14:37:48 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc

Posted by "Zoltan Borok-Nagy (Code Review)" <ge...@cloudera.org>.
Zoltan Borok-Nagy has posted comments on this change. ( http://gerrit.cloudera.org:8080/24140 )

Change subject: IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc
......................................................................


Patch Set 4: Code-Review+2

LGTM!


-- 
To view, visit http://gerrit.cloudera.org:8080/24140
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I7e6b4e17c627baf97dee04cdfb9c63cdc0dad3b5
Gerrit-Change-Number: 24140
Gerrit-PatchSet: 4
Gerrit-Owner: Balazs Hevele <bh...@cloudera.com>
Gerrit-Reviewer: Balazs Hevele <bh...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Comment-Date: Fri, 27 Mar 2026 14:37:30 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24140 )

Change subject: IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc
......................................................................


Patch Set 5: Verified-1

Build failed: https://jenkins.impala.io/job/gerrit-verify-dryrun/13289/


-- 
To view, visit http://gerrit.cloudera.org:8080/24140
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I7e6b4e17c627baf97dee04cdfb9c63cdc0dad3b5
Gerrit-Change-Number: 24140
Gerrit-PatchSet: 5
Gerrit-Owner: Balazs Hevele <bh...@cloudera.com>
Gerrit-Reviewer: Balazs Hevele <bh...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Comment-Date: Fri, 27 Mar 2026 18:55:29 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc

Posted by "Csaba Ringhofer (Code Review)" <ge...@cloudera.org>.
Csaba Ringhofer has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/24140 )

Change subject: IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc
......................................................................

IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc

If running out of memory when trying to uncompress dictionary page
buffer during parquet read, there was a crash, because there was an
assumption that dict_page_pool_ failed to allocate it, but
dict_page_pool_ is not initialized in this case, so there is a nullptr
dereference.
The error was fixed by only referencing dict_page_pool_ in the path
where it is valid, and reverting the other path to reference parent's
dictionary_pool_, which always exists.

The error was introduced in IMPALA-14794
with commit 49f0ab1d09541f960cee12e9a5e6aa38ec21565a

Change-Id: I7e6b4e17c627baf97dee04cdfb9c63cdc0dad3b5
Reviewed-on: http://gerrit.cloudera.org:8080/24140
Tested-by: Impala Public Jenkins <im...@cloudera.com>
Reviewed-by: Csaba Ringhofer <cs...@cloudera.com>
---
M be/src/exec/parquet/parquet-column-chunk-reader.cc
1 file changed, 15 insertions(+), 7 deletions(-)

Approvals:
  Impala Public Jenkins: Verified
  Csaba Ringhofer: Looks good to me, approved

-- 
To view, visit http://gerrit.cloudera.org:8080/24140
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I7e6b4e17c627baf97dee04cdfb9c63cdc0dad3b5
Gerrit-Change-Number: 24140
Gerrit-PatchSet: 7
Gerrit-Owner: Balazs Hevele <bh...@cloudera.com>
Gerrit-Reviewer: Balazs Hevele <bh...@cloudera.com>
Gerrit-Reviewer: Csaba Ringhofer <cs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>

[Impala-ASF-CR] IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24140 )

Change subject: IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc
......................................................................


Patch Set 1:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/22022/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.


-- 
To view, visit http://gerrit.cloudera.org:8080/24140
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I7e6b4e17c627baf97dee04cdfb9c63cdc0dad3b5
Gerrit-Change-Number: 24140
Gerrit-PatchSet: 1
Gerrit-Owner: Balazs Hevele <bh...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Comment-Date: Thu, 26 Mar 2026 07:44:51 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24140 )

Change subject: IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc
......................................................................


Patch Set 6:

Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/13291/ DRY_RUN=true


-- 
To view, visit http://gerrit.cloudera.org:8080/24140
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I7e6b4e17c627baf97dee04cdfb9c63cdc0dad3b5
Gerrit-Change-Number: 24140
Gerrit-PatchSet: 6
Gerrit-Owner: Balazs Hevele <bh...@cloudera.com>
Gerrit-Reviewer: Balazs Hevele <bh...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Comment-Date: Mon, 30 Mar 2026 06:10:28 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24140 )

Change subject: IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc
......................................................................


Patch Set 4:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/22034/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.


-- 
To view, visit http://gerrit.cloudera.org:8080/24140
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I7e6b4e17c627baf97dee04cdfb9c63cdc0dad3b5
Gerrit-Change-Number: 24140
Gerrit-PatchSet: 4
Gerrit-Owner: Balazs Hevele <bh...@cloudera.com>
Gerrit-Reviewer: Balazs Hevele <bh...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Comment-Date: Thu, 26 Mar 2026 18:43:33 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc

Posted by "Balazs Hevele (Code Review)" <ge...@cloudera.org>.
Balazs Hevele has posted comments on this change. ( http://gerrit.cloudera.org:8080/24140 )

Change subject: IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc
......................................................................


Patch Set 6:

It appears the Verification failure in Patch set 5 is a flaky issue.
Does not seem related to this patch:
custom_cluster.test_blacklisted_dbs_and_tables.TestBlacklistedDbsAndTables.test_inconsistent_blacklist
failed on setup with "subprocess.CalledProcessError: Command '['/home/ubuntu/Impala/bin/start-impala-cluster.py', '--state_store_args=--statestore_update_frequency_ms=50 --statestore_priority_update_frequency_ms=50 --statestore_heartbeat_frequency_ms=50', '--cluster_size=3', '--num_coordinators=3', '--log_dir=/home/ubuntu/Impala/logs/custom_cluster_tests/TestBlacklistedDbsAndTables/test_inconsistent_blacklist', '--log_level=1', '--impalad_args=--blacklisted_dbs=functional_seq --blacklisted_tables=functional.alltypestiny ', '--catalogd_args=--blacklisted_dbs=functional_rc --blacklisted_tables=functional.alltypes ', '--impalad_args=--default_query_options=']' returned non-zero exit status 1."


-- 
To view, visit http://gerrit.cloudera.org:8080/24140
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I7e6b4e17c627baf97dee04cdfb9c63cdc0dad3b5
Gerrit-Change-Number: 24140
Gerrit-PatchSet: 6
Gerrit-Owner: Balazs Hevele <bh...@cloudera.com>
Gerrit-Reviewer: Balazs Hevele <bh...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Comment-Date: Mon, 30 Mar 2026 10:40:09 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24140 )

Change subject: IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc
......................................................................


Patch Set 5: Code-Review+2


-- 
To view, visit http://gerrit.cloudera.org:8080/24140
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I7e6b4e17c627baf97dee04cdfb9c63cdc0dad3b5
Gerrit-Change-Number: 24140
Gerrit-PatchSet: 5
Gerrit-Owner: Balazs Hevele <bh...@cloudera.com>
Gerrit-Reviewer: Balazs Hevele <bh...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Comment-Date: Fri, 27 Mar 2026 14:37:47 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc

Posted by "Balazs Hevele (Code Review)" <ge...@cloudera.org>.
Hello Yida Wu, Impala Public Jenkins, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/24140

to look at the new patch set (#3).

Change subject: IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc
......................................................................

IMPALA-14859: Fix crashes in parquet-column-chunk-reader.cc

If running out of memory when trying to uncompress dictionary page
buffer during parquet read, there was a crash, because there was an
assumption that dict_page_pool_ failed to allocate it, but
dict_page_pool_ is not initialized in this case, so there is a nullptr
dereference.
The error path was reverted to check from parent's dictionary_pool_'s
mem_tracker, which always exists.

The error was introduced in IMPALA-14794
with commit 49f0ab1d09541f960cee12e9a5e6aa38ec21565a

Change-Id: I7e6b4e17c627baf97dee04cdfb9c63cdc0dad3b5
---
M be/src/exec/parquet/parquet-column-chunk-reader.cc
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/40/24140/3
-- 
To view, visit http://gerrit.cloudera.org:8080/24140
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I7e6b4e17c627baf97dee04cdfb9c63cdc0dad3b5
Gerrit-Change-Number: 24140
Gerrit-PatchSet: 3
Gerrit-Owner: Balazs Hevele <bh...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>