You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Suresh Srinivas (JIRA)" <ji...@apache.org> on 2010/07/13 23:55:50 UTC

[jira] Created: (HDFS-1298) Add support in HDFS to update statistics that tracks number of file system operations in FileSystem

Add support in HDFS to update statistics that tracks number of file system operations in FileSystem
---------------------------------------------------------------------------------------------------

                 Key: HDFS-1298
                 URL: https://issues.apache.org/jira/browse/HDFS-1298
             Project: Hadoop HDFS
          Issue Type: Improvement
    Affects Versions: 0.22.0
            Reporter: Suresh Srinivas
            Assignee: Suresh Srinivas
             Fix For: 0.22.0


See HADOOP-6859 for the new statistics.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-1298) Add support in HDFS to update statistics that tracks number of file system operations in FileSystem

Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12888965#action_12888965 ] 

Konstantin Shvachko commented on HDFS-1298:
-------------------------------------------

+1 Both patches look good to me.

> Add support in HDFS to update statistics that tracks number of file system operations in FileSystem
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1298
>                 URL: https://issues.apache.org/jira/browse/HDFS-1298
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 0.22.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1298.patch
>
>
> See HADOOP-6859 for the new statistics.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-1298) Add support in HDFS to update statistics that tracks number of file system operations in FileSystem

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889318#action_12889318 ] 

Suresh Srinivas commented on HDFS-1298:
---------------------------------------

Test failures are unrelated to this patch. Following jiras track the failure:
TestJspHelper tracked in HDFS-1285
TestBlockToken tracked in HDFS-1284
TestFileAppend4 tracked in HDFS-1306


> Add support in HDFS to update statistics that tracks number of file system operations in FileSystem
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1298
>                 URL: https://issues.apache.org/jira/browse/HDFS-1298
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 0.22.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1298.patch
>
>
> See HADOOP-6859 for the new statistics.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1298) Add support in HDFS to update statistics that tracks number of file system operations in FileSystem

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Srinivas updated HDFS-1298:
----------------------------------

    Status: Patch Available  (was: Open)

> Add support in HDFS to update statistics that tracks number of file system operations in FileSystem
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1298
>                 URL: https://issues.apache.org/jira/browse/HDFS-1298
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 0.22.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1298.patch
>
>
> See HADOOP-6859 for the new statistics.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-1298) Add support in HDFS to update statistics that tracks number of file system operations in FileSystem

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889295#action_12889295 ] 

Hadoop QA commented on HDFS-1298:
---------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12449392/HDFS-1298.patch
  against trunk revision 964266.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 10 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    -1 core tests.  The patch failed core unit tests.

    -1 contrib tests.  The patch failed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/435/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/435/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/435/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/435/console

This message is automatically generated.

> Add support in HDFS to update statistics that tracks number of file system operations in FileSystem
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1298
>                 URL: https://issues.apache.org/jira/browse/HDFS-1298
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 0.22.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1298.patch
>
>
> See HADOOP-6859 for the new statistics.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1298) Add support in HDFS to update statistics that tracks number of file system operations in FileSystem

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Srinivas updated HDFS-1298:
----------------------------------

    Attachment: HDFS-1298.patch

Attached patch makes the following changes:
# Change to update statistics and tests for the new functionality
# Converted TestDistributedFileSystem to junit4 test
# Removed unused methods in TestFileCreation

> Add support in HDFS to update statistics that tracks number of file system operations in FileSystem
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1298
>                 URL: https://issues.apache.org/jira/browse/HDFS-1298
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 0.22.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1298.patch
>
>
> See HADOOP-6859 for the new statistics.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-1298) Add support in HDFS to update statistics that tracks number of file system operations in FileSystem

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889118#action_12889118 ] 

Hadoop QA commented on HDFS-1298:
---------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12449392/HDFS-1298.patch
  against trunk revision 964266.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 10 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    -1 core tests.  The patch failed core unit tests.

    -1 contrib tests.  The patch failed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/434/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/434/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/434/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/434/console

This message is automatically generated.

> Add support in HDFS to update statistics that tracks number of file system operations in FileSystem
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1298
>                 URL: https://issues.apache.org/jira/browse/HDFS-1298
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 0.22.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1298.patch
>
>
> See HADOOP-6859 for the new statistics.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-1298) Add support in HDFS to update statistics that tracks number of file system operations in FileSystem

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889357#action_12889357 ] 

Hudson commented on HDFS-1298:
------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #344 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/344/])
    HDFS-1298 - Add support in HDFS for new statistics added in FileSystem to track the file system operations. Contributed by Suresh Srinivas.


> Add support in HDFS to update statistics that tracks number of file system operations in FileSystem
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1298
>                 URL: https://issues.apache.org/jira/browse/HDFS-1298
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 0.22.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1298.patch, HDFS-1298.y20.patch
>
>
> See HADOOP-6859 for the new statistics.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-1298) Add support in HDFS to update statistics that tracks number of file system operations in FileSystem

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889916#action_12889916 ] 

Suresh Srinivas commented on HDFS-1298:
---------------------------------------

Nicholas, between the two hudson tests, only one has these tests failing. Also I could not duplicate this on my local machine.

> Add support in HDFS to update statistics that tracks number of file system operations in FileSystem
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1298
>                 URL: https://issues.apache.org/jira/browse/HDFS-1298
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 0.22.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1298.patch, HDFS-1298.y20.patch
>
>
> See HADOOP-6859 for the new statistics.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-1298) Add support in HDFS to update statistics that tracks number of file system operations in FileSystem

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889446#action_12889446 ] 

Tsz Wo (Nicholas), SZE commented on HDFS-1298:
----------------------------------------------

How about the following failed tests?
- org.apache.hadoop.hdfs.server.datanode.TestBlockReport.blockReport_09
- org.apache.hadoop.hdfs.server.datanode.TestDatanodeRestart.testFinalizedReplicas
- org.apache.hadoop.hdfs.server.datanode.TestDatanodeRestart.testRecoverReplicas

> Add support in HDFS to update statistics that tracks number of file system operations in FileSystem
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1298
>                 URL: https://issues.apache.org/jira/browse/HDFS-1298
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 0.22.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1298.patch, HDFS-1298.y20.patch
>
>
> See HADOOP-6859 for the new statistics.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1298) Add support in HDFS to update statistics that tracks number of file system operations in FileSystem

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Srinivas updated HDFS-1298:
----------------------------------

    Attachment: HDFS-1298.y20.patch

y20 version of the patch

> Add support in HDFS to update statistics that tracks number of file system operations in FileSystem
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1298
>                 URL: https://issues.apache.org/jira/browse/HDFS-1298
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 0.22.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1298.patch, HDFS-1298.y20.patch
>
>
> See HADOOP-6859 for the new statistics.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1298) Add support in HDFS to update statistics that tracks number of file system operations in FileSystem

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Srinivas updated HDFS-1298:
----------------------------------

          Status: Resolved  (was: Patch Available)
    Hadoop Flags: [Reviewed]
      Resolution: Fixed

I committed the patch.

> Add support in HDFS to update statistics that tracks number of file system operations in FileSystem
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1298
>                 URL: https://issues.apache.org/jira/browse/HDFS-1298
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 0.22.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1298.patch, HDFS-1298.y20.patch
>
>
> See HADOOP-6859 for the new statistics.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1298) Add support in HDFS to update statistics that tracks number of file system operations in FileSystem

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Srinivas updated HDFS-1298:
----------------------------------

    Status: Patch Available  (was: Open)

> Add support in HDFS to update statistics that tracks number of file system operations in FileSystem
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1298
>                 URL: https://issues.apache.org/jira/browse/HDFS-1298
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 0.22.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1298.patch
>
>
> See HADOOP-6859 for the new statistics.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-1298) Add support in HDFS to update statistics that tracks number of file system operations in FileSystem

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12888036#action_12888036 ] 

Suresh Srinivas commented on HDFS-1298:
---------------------------------------

# Following operations increment read operations count:
#* getFileStatus(), getFileBlockLocations(), open(), getContentSummary(), listStatus(), checkStatistics(), getFileChecksum() 
# Following operations increment write operations count:
#* mkdirs(), create(), setReplication(), rename(), setPermission(), setTimes(), setOwner(), delete()
# Large read operation count is incremented when performing listStatus() on a large directory, for every iterative step.


> Add support in HDFS to update statistics that tracks number of file system operations in FileSystem
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1298
>                 URL: https://issues.apache.org/jira/browse/HDFS-1298
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 0.22.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.22.0
>
>
> See HADOOP-6859 for the new statistics.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-1298) Add support in HDFS to update statistics that tracks number of file system operations in FileSystem

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890008#action_12890008 ] 

Tsz Wo (Nicholas), SZE commented on HDFS-1298:
----------------------------------------------

They are probably not related to your patch but I think you might have overlooked them.  Just want to make sure.

> Add support in HDFS to update statistics that tracks number of file system operations in FileSystem
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1298
>                 URL: https://issues.apache.org/jira/browse/HDFS-1298
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 0.22.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1298.patch, HDFS-1298.y20.patch
>
>
> See HADOOP-6859 for the new statistics.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1298) Add support in HDFS to update statistics that tracks number of file system operations in FileSystem

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Srinivas updated HDFS-1298:
----------------------------------

    Status: Open  (was: Patch Available)

> Add support in HDFS to update statistics that tracks number of file system operations in FileSystem
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1298
>                 URL: https://issues.apache.org/jira/browse/HDFS-1298
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 0.22.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1298.patch
>
>
> See HADOOP-6859 for the new statistics.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.