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

Consolidate data model change according to the backend implementation

    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

      Description

      Based on the comments on YARN-3134 and YARN-3411, we need to change the data model to restrict the data type of info/config/metric section.

      1. Info: the value could be all kinds object that is able to be serialized/deserialized by jackson.

      2. Config: the value will always be assumed as String.

      3. Metric: single data or time series value have to be number for aggregation.

      Other than that, info/start time/finish time of metric seem not to be necessary for storage. They should be removed.

        Attachments

        1. YARN-3551.1.patch
          11 kB
          Zhijie Shen
        2. YARN-3551.2.patch
          11 kB
          Zhijie Shen
        3. YARN-3551.3.patch
          11 kB
          Zhijie Shen
        4. YARN-3551-YARN-2928.4.patch
          15 kB
          Zhijie Shen
        5. YARN-3551-YARN-2928.5.patch
          17 kB
          Zhijie Shen

          Issue Links

            Activity

              People

              • Assignee:
                zjshen Zhijie Shen
                Reporter:
                zjshen Zhijie Shen
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: