Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-24940

runCatalogJanitor() API should return -1 to indicate already running status

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.3
    • 3.0.0-alpha-1, 1.7.0, 2.4.0, 2.3.2
    • None
    • None
    • Reviewed

    Description

      runCleanerChore() API returns false if hbck chore is already running. This is quite helpful in many cases.

      runCatalogJanitor() API is not indicating whether scan is already running. Also it is not doing anything in case scan is already running.

      I think we should return -1 to indicate already running status.

      Attachments

        Issue Links

          Activity

            People

              arshad.mohammad Mohammad Arshad
              arshad.mohammad Mohammad Arshad
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: