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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-alpha1
    • Component/s: timelineserver
    • Labels:
      None
    • Hadoop Flags:
      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.001.patch
          7 kB
          Li Lu
        2. YARN-4102-YARN-2928.002.patch
          7 kB
          Li Lu
        3. YARN-4102-YARN-2928.003.patch
          7 kB
          Li Lu
        4. YARN-4102-YARN-2928.004.patch
          7 kB
          Li Lu

          Activity

            People

            • Assignee:
              gtcarrera9 Li Lu
              Reporter:
              gtcarrera9 Li Lu

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment