You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2019/02/27 23:45:00 UTC

[jira] [Created] (HIVE-21339) LLAP: Cache hit also initializes an FS object

Gopal V created HIVE-21339:
------------------------------

             Summary: LLAP: Cache hit also initializes an FS object 
                 Key: HIVE-21339
                 URL: https://issues.apache.org/jira/browse/HIVE-21339
             Project: Hive
          Issue Type: Bug
          Components: llap
    Affects Versions: 4.0.0
            Reporter: Gopal V
         Attachments: llap-cache-fs-get.png

https://github.com/apache/hive/blob/master/llap-server/src/java/org/apache/hadoop/hive/llap/io/encoded/OrcEncodedDataReader.java#L214

{code}
    // 1. Get file metadata from cache, or create the reader and read it.
    // Don't cache the filesystem object for now; Tez closes it and FS cache will fix all that
    fs = split.getPath().getFileSystem(jobConf);
    fileKey = determineFileId(fs, split,
        HiveConf.getBoolVar(daemonConf, ConfVars.LLAP_CACHE_ALLOW_SYNTHETIC_FILEID),
        HiveConf.getBoolVar(daemonConf, ConfVars.LLAP_CACHE_DEFAULT_FS_FILE_ID),
        !HiveConf.getBoolVar(daemonConf, ConfVars.LLAP_IO_USE_FILEID_PATH)
        );
{code}

 !llap-cache-fs-get.png! 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)