Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-2928 YARN Timeline Service v.2: alpha 1
  3. YARN-4102

Add a "skip existing table" mode for timeline schema creator

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha1
    • timelineserver
    • None
    • Reviewed

    Description

      When debugging timeline POCs, we may need to create hbase tables that are added in some ongoing patches. Right now, our schema creator will exit when it hits one existing table. While this is a correct behavior with end users, this introduces much trouble in debugging POCs: every time we have to disable all existing tables, drop them, run the schema creator to generate all tables, and regenerate all test data.

      Maybe we'd like to add an "incremental" mode so that the creator will only create non-existing tables? This is pretty handy in deploying our POCs. Of course, consistency has to be kept in mind across tables.

      Attachments

        1. YARN-4102-YARN-2928.004.patch
          7 kB
          Li Lu
        2. YARN-4102-YARN-2928.003.patch
          7 kB
          Li Lu
        3. YARN-4102-YARN-2928.002.patch
          7 kB
          Li Lu
        4. YARN-4102-YARN-2928.001.patch
          7 kB
          Li Lu

        Activity

          People

            gtcarrera9 Li Lu
            gtcarrera9 Li Lu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: