You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/04/06 05:48:00 UTC
[jira] [Work logged] (HIVE-27223) Show Compactions failing with NPE
[ https://issues.apache.org/jira/browse/HIVE-27223?focusedWorklogId=855176&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-855176 ]
ASF GitHub Bot logged work on HIVE-27223:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 06/Apr/23 05:47
Start Date: 06/Apr/23 05:47
Worklog Time Spent: 10m
Work Description: ayushtkn opened a new pull request, #4204:
URL: https://github.com/apache/hive/pull/4204
### What changes were proposed in this pull request?
Add a check for poolId before adding it in.
### Why are the changes needed?
To Avoid NPE in case of Show Compactions post upgrade
### Does this PR introduce _any_ user-facing change?
Show Compactions doesn't throw NPE for older entries post upgrade
Issue Time Tracking
-------------------
Worklog Id: (was: 855176)
Remaining Estimate: 0h
Time Spent: 10m
> Show Compactions failing with NPE
> ---------------------------------
>
> Key: HIVE-27223
> URL: https://issues.apache.org/jira/browse/HIVE-27223
> Project: Hive
> Issue Type: Bug
> Reporter: Ayush Saxena
> Assignee: Ayush Saxena
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> {noformat}
> java.lang.NullPointerException: null
> at java.io.DataOutputStream.writeBytes(DataOutputStream.java:274) ~[?:?]
> at org.apache.hadoop.hive.ql.ddl.process.show.compactions.ShowCompactionsOperation.writeRow(ShowCompactionsOperation.java:135)
> at org.apache.hadoop.hive.ql.ddl.process.show.compactions.ShowCompactionsOperation.execute(ShowCompactionsOperation.java:57)
> at org.apache.hadoop.hive.ql.ddl.DDLTask.execute(DDLTask.java:84)
> at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:213)
> at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:105)
> at org.apache.hadoop.hive.ql.Executor.launchTask(Executor.java:360)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)