Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-14502

keepResults option in NNThroughputBenchmark should call saveNamespace()

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      -keepResults option is usually used to make it possible to rerun NNThroughputBenchmark with existing namespace state -useExisting. E.g. first generate files with create command and then run fileStatus command on generated files.
      NNThroughputBenchmark should call saveNamespace() when -keepResults option is specified. Otherwise NN startup takes a while since it needs to digest large edits file starting from the empty image.

      Attachments

        1. HDFS-14502.001.patch
          0.8 kB
          Konstantin Shvachko

        Activity

          People

            shv Konstantin Shvachko
            shv Konstantin Shvachko
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: