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

QiangZhang edited comment on KYLIN-4688 at 8/7/20, 2:57 AM:
------------------------------------------------------------

# I think Kylin should clean up these files at the end of the task just like 
any other garbage file,and hdfs will not automatically cleanup “/tmp” 
folder。HDFS administrators have been complaining that Kylin is generating junk 
files for no reason:(.
 # "hbase.fs.tmp.dir" has default values,but Kylin didn't load it correctly and 
set “/tmp”,I think this is a bug
 # "fs.deleteOnExit(partitionsPath)" at HFileOutputFormat3.java:536,this method 
wants to clean up these tmp files, but it will never take effect in this 
situation,I think we should improve this.


was (Author: itzhangqiang):
# I think Kylin should clean up these files at the end of the task just like 
any other garbage file,and hdfs will not automatically cleanup “/tmp” 
folder。HDFS administrators have been complaining that Kylin is generating junk 
files for no reason:(.
 # "hbase.fs.tmp.dir" has default values,but Kylin didn't load it correctly and 
set “/tmp”,I think this is a bug
 # "fs.deleteOnExit(partitionsPath)" at HFileOutputFormat3.java:536,this method 
wants to clean up these tem files, but it will never take effect in this 
situation,I think we should improve this.

> Too many tmp files in HDFS tmp dictionary
> -----------------------------------------
>
>                 Key: KYLIN-4688
>                 URL: https://issues.apache.org/jira/browse/KYLIN-4688
>             Project: Kylin
>          Issue Type: Bug
>          Components: Others
>    Affects Versions: all
>            Reporter: QiangZhang
>            Priority: Major
>         Attachments: image-2020-08-06-18-07-00-377.png, 
> image-2020-08-06-18-29-28-503.png, image-2020-08-06-18-58-00-355.png, 
> image-2020-08-06-19-34-22-515.png
>
>
> Too many tmp files in HDFS tmp dictionary,and Kylin doesn't clean up 
> automatically
> !image-2020-08-06-18-07-00-377.png!
>   2. when I debug ,I found : !image-2020-08-06-18-29-28-503.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to