hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Work logged] (HIVE-21279) Avoid moving/rename operation in FileSink op for SELECT queries
Date Mon, 01 Apr 2019 17:58:05 GMT


ASF GitHub Bot logged work on HIVE-21279:

                Author: ASF GitHub Bot
            Created on: 01/Apr/19 17:57
            Start Date: 01/Apr/19 17:57
    Worklog Time Spent: 10m 
      Work Description: jdere commented on pull request #582: Hive 21386: Extend the fetch
task enhancement done in HIVE-21279 to make it work with query result cache

 File path: ql/src/java/org/apache/hadoop/hive/ql/
 @@ -774,21 +812,25 @@ public void setResDir(Path resDir) {
     resDirPaths = null;
-  public void clear() throws IOException {
+  public void clear() throws IOException{
 Review comment:
   Check for other callers of Context.clear() - seems like TezTask can call this as well?
Will these other callers mess things up since they are calling with deleteResultDir=true?
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

Issue Time Tracking

    Worklog Id:     (was: 221381)
    Time Spent: 0.5h  (was: 20m)

> Avoid moving/rename operation in FileSink op for SELECT queries
> ---------------------------------------------------------------
>                 Key: HIVE-21279
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Planning
>            Reporter: Vineet Garg
>            Assignee: Vineet Garg
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>         Attachments: HIVE-21279.1.patch, HIVE-21279.10.patch, HIVE-21279.11.patch, HIVE-21279.12.patch,
HIVE-21279.13.patch, HIVE-21279.2.patch, HIVE-21279.3.patch, HIVE-21279.4.patch, HIVE-21279.5.patch,
HIVE-21279.6.patch, HIVE-21279.7.patch, HIVE-21279.8.patch, HIVE-21279.9.patch
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
> Currently at the end of a job FileSink operator moves/rename temp directory to another
directory from which FetchTask fetches result. This is done to avoid fetching potential partial/invalid
files by failed/runway tasks. This operation is expensive for cloud storage. It could be avoided
if FetchTask is passed on set of files to read from instead of whole directory.

This message was sent by Atlassian JIRA

View raw message