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

Mark Grover commented on BIGTOP-330:
------------------------------------

Let's first talk about the 3 files that get updated with every job:
The hsperfdata files are generated by JVM and can be gotten rid of by 
{{-XX:-UsePerfData}} (reference: 
http://stackoverflow.com/questions/76327/how-can-i-prevent-java-from-creating-hsperfdata-files).
 However, I think they belong in /tmp and should stay there.

The remaining file (hadoop-$user.name) is hadoop.tmp.dir which is in turn used 
by the default value of some other properties.
                
> hadoop 0.23 pseudo conf needs to set more properties to avoid using /tmp as 
> its datadir
> ---------------------------------------------------------------------------------------
>
>                 Key: BIGTOP-330
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-330
>             Project: Bigtop
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 0.4.0
>            Reporter: Bruno Mahé
>            Assignee: Mark Grover
>            Priority: Blocker
>             Fix For: 0.5.0
>
>
> {quote}
> [root@localhost conf]# ls /tmp/
> hsperfdata_hdfs  hsperfdata_yarn                     
> Jetty_0_0_0_0_50075_datanode____hwtdwq  Jetty_0_0_0_0_9999_node____7nyhcr  
> nm-local-dir
> hsperfdata_root  Jetty_0_0_0_0_50070_hdfs____w2cu08  
> Jetty_0_0_0_0_8088_cluster____u0rgz3    logs                               
> vmware-root
> {quote}
> Some of these directories contain rightfully some temp files, but some others 
> seem to contain some data. They should be in /var/lib/hadoop/...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to