You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "niklaus xiao (JIRA)" <ji...@apache.org> on 2016/06/01 03:50:12 UTC

[jira] [Comment Edited] (HIVE-13883) WebHCat leaves token crc file never gets deleted

    [ https://issues.apache.org/jira/browse/HIVE-13883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15309156#comment-15309156 ] 

niklaus xiao edited comment on HIVE-13883 at 6/1/16 3:49 AM:
-------------------------------------------------------------

Tests failure are unrelated.


was (Author: niklaus.xiao):
Test failure are unrelated.

> WebHCat leaves token crc file never gets deleted
> ------------------------------------------------
>
>                 Key: HIVE-13883
>                 URL: https://issues.apache.org/jira/browse/HIVE-13883
>             Project: Hive
>          Issue Type: Bug
>          Components: WebHCat
>    Affects Versions: 1.2.0, 1.1.1, 1.2.1, 2.0.1
>            Reporter: niklaus xiao
>            Priority: Minor
>         Attachments: HIVE-13883.patch
>
>
> In one of our long run environment, there are thousands of /tmp/.templeton*.tmp.crc files, 
> {quote}
> omm@szxciitslx17645:/> ll /tmp/.templeton*.tmp.crc 
> ...
> -rw-r--r-- 1 omm  wheel 12 May 26 18:15 /tmp/.templeton6676048390600607654.tmp.crc
> -rw-r--r-- 1 omm  wheel 12 May 26 18:14 /tmp/.templeton2733383617337556503.tmp.crc
> -rw-r--r-- 1 omm  wheel 12 May 26 18:12 /tmp/.templeton2183121761801669064.tmp.crc
> -rw-r--r-- 1 omm  wheel 12 May 26 18:11 /tmp/.templeton2689764046140543879.tmp.crc
> ...
> {quote}
> {quote}
> omm@szxciitslx17645:/> ll /tmp/.templeton*.tmp.crc  | wc -l
> 17986
> {quote}
> It's created by webhcat, [https://github.com/apache/hive/blob/master/hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/SecureProxySupport.java#L193]  and never gets deleted [https://github.com/apache/hive/blob/master/hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/SecureProxySupport.java#L110]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)