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

Add MXBean methods to query NN's transaction information and JournalNode's journal status

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 2.1.1-beta
    • None
    • None
    • Reviewed

    Description

      Currently NameNode already provides RPC calls to get its last applied transaction ID and most recent checkpoint's transaction ID. It can be helpful to provide support to enable querying these information through JMX, so that administrators and applications like Ambari can easily decide if a forced checkpoint by calling saveNamespace is necessary. Similarly we can add MxBean interface for JournalNodes to query the status of journals (e.g., whether journals are formatted or not).

      Attachments

        1. HDFS-5076.005.patch
          13 kB
          Jing Zhao
        2. HDFS-5076.004.patch
          13 kB
          Jing Zhao
        3. HDFS-5076.003.patch
          11 kB
          Jing Zhao
        4. HDFS-5076.002.patch
          6 kB
          Jing Zhao
        5. HDFS-5076.001.patch
          11 kB
          Jing Zhao

        Activity

          People

            jingzhao Jing Zhao
            jingzhao Jing Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: