You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2014/06/04 14:57:02 UTC

[jira] [Commented] (HADOOP-10434) Is it possible to use "df" to calculate the dfs usage instead of "du"

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

Hadoop QA commented on HADOOP-10434:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12648325/HADOOP-10434-1.patch
  against trunk revision .

    {color:red}-1 patch{color}.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/4006//console

This message is automatically generated.

> Is it possible to use "df" to calculate the dfs usage instead of "du"
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-10434
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10434
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 2.3.0
>            Reporter: MaoYuan Xian
>            Priority: Minor
>             Fix For: 2.3.0
>
>         Attachments: HADOOP-10434-1.patch
>
>
> When we run datanode from the machine with big disk volume, it's found du operations from org.apache.hadoop.fs.DU's DURefreshThread cost lots of disk performance.
> As we use the whole disk for hdfs storage, it is possible calculate volume usage via "df" command. Is it necessary adding the "df" option for usage calculation in hdfs (org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.BlockPoolSlice)?



--
This message was sent by Atlassian JIRA
(v6.2#6252)