Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-6770

[Docs] A small mistake in the example of TimelineClient

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-beta1, 2.8.2
    • Component/s: docs
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      I'm trying to use timeline client, then I copy the example into my application.
      But there is a small mistake here:

      myDomain.setID("MyDomain");
      .....
      myEntity.setEntityID("MyApp1")

      The correct one should be

      myDomain.setId("MyDomain");
      .....
      myEntity.setEntityId("MyApp1");

        Attachments

        1. YARN-6770.patch
          1.0 kB
          Jinjiang Ling

          Activity

            People

            • Assignee:
              lingjinjiang Jinjiang Ling
              Reporter:
              lingjinjiang Jinjiang Ling
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: