Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-1361

Add -fileStatus operation to NNThroughputBenchmark

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.22.0
    • Fix Version/s: 0.22.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      getFileStatus() is a frequently used operation in HDFS. It important to benchmark the name-node throughput on it.

        Issue Links

          Activity

          Hide
          Konstantin Shvachko added a comment -

          The patch introduces -fileStatus operation. It is run similar to open or delete ops.
          I also converted TestNNThroughputBenchmark to a Junit-4 test and added a description of "advanced" options to JavaDoc.
          This benchmark was used to compare performance of debug() messages in HADOOP-6884.

          Show
          Konstantin Shvachko added a comment - The patch introduces -fileStatus operation. It is run similar to open or delete ops. I also converted TestNNThroughputBenchmark to a Junit-4 test and added a description of "advanced" options to JavaDoc. This benchmark was used to compare performance of debug() messages in HADOOP-6884 .
          Hide
          Giridharan Kesavan added a comment -

          re-submitting to hudson

          Show
          Giridharan Kesavan added a comment - re-submitting to hudson
          Hide
          Jakob Homan added a comment -

          +1, although this class is due for a refactor.

          Show
          Jakob Homan added a comment - +1, although this class is due for a refactor.
          Hide
          Konstantin Shvachko added a comment -

          Tests pass.
          test-patch results:

          .    [exec] -1 overall.  
               [exec]     +1 @author.  The patch does not contain any @author tags.
               [exec]     +1 tests included.  The patch appears to include 6 new or modified tests.
               [exec]     -1 javadoc.  The javadoc tool appears to have generated 1 warning messages.
               [exec]     +1 javac.  The applied patch does not increase the total number of javac compiler warnings.
               [exec]     +1 findbugs.  The patch does not introduce any new Findbugs warnings.
               [exec]     +1 release audit.  The applied patch does not increase the total number of release audit warnings.
               [exec]     +1 system tests framework.  The patch passed system tests framework compile.
               [exec] ======================================================================
               [exec] ======================================================================
               [exec]     Finished build.
               [exec] ======================================================================
               [exec] ======================================================================
          

          The javadoc warning is fixed by HDFS-1369.

          Show
          Konstantin Shvachko added a comment - Tests pass. test-patch results: . [exec] -1 overall. [exec] +1 @author. The patch does not contain any @author tags. [exec] +1 tests included. The patch appears to include 6 new or modified tests. [exec] -1 javadoc. The javadoc tool appears to have generated 1 warning messages. [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings. [exec] +1 findbugs. The patch does not introduce any new Findbugs warnings. [exec] +1 release audit. The applied patch does not increase the total number of release audit warnings. [exec] +1 system tests framework. The patch passed system tests framework compile. [exec] ====================================================================== [exec] ====================================================================== [exec] Finished build. [exec] ====================================================================== [exec] ====================================================================== The javadoc warning is fixed by HDFS-1369 .
          Hide
          Konstantin Shvachko added a comment -

          I just committed this.

          Show
          Konstantin Shvachko added a comment - I just committed this.
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Hdfs-trunk-Commit #383 (See https://hudson.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/383/)

          Show
          Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #383 (See https://hudson.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/383/ )

            People

            • Assignee:
              Konstantin Shvachko
              Reporter:
              Konstantin Shvachko
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development