[ 
https://issues.apache.org/jira/browse/HIVE-26407?focusedWorklogId=796855&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-796855
 ]

ASF GitHub Bot logged work on HIVE-26407:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 01/Aug/22 11:23
            Start Date: 01/Aug/22 11:23
    Worklog Time Spent: 10m 
      Work Description: InvisibleProgrammer opened a new pull request, #3489:
URL: https://github.com/apache/hive/pull/3489

   Ticket: [HIVE-26407](https://issues.apache.org/jira/browse/HIVE-26407)
   
   What changes were proposed in this pull request?
   We collect compaction statistics even if compaction fails. We should avoid 
that behavior.
   
   Does this PR introduce any user-facing change?
   No
   
   How was this patch tested?
   Added a new test in TestWorker called testDoesntGatherStatsIfCompactionFails




Issue Time Tracking
-------------------

            Worklog Id:     (was: 796855)
    Remaining Estimate: 0h
            Time Spent: 10m

> Do not collect statistics if the compaction fails
> -------------------------------------------------
>
>                 Key: HIVE-26407
>                 URL: https://issues.apache.org/jira/browse/HIVE-26407
>             Project: Hive
>          Issue Type: Test
>          Components: Hive
>            Reporter: Zsolt Miskolczi
>            Assignee: Zsolt Miskolczi
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> It can still compute statistics, even if compaction fails.
> if (computeStats) \{
>   StatsUpdater.gatherStats(ci, conf, runJobAsSelf(ci.runAs) ? ci.runAs : 
> t1.getOwner(),
>           CompactorUtil.getCompactorJobQueueName(conf, ci, t1));
> }



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to