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

[Docs] In the TimelineClient example, there are some confusing logic

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • docs, timelineclient
    • None

    Description

      Firstly, the entity and timelineClient are not defined in the example;
      Secondly, "TimelinePutResponse response" is defined twice;
      Finally, there is a problem with sequential logic.
      Like this:

      TimelinePutResponse response = client.putEntities(entity);
      ...
      myEntity.addEvent(event);
      TimelinePutResponse response = timelineClient.putEntities(entity);

      Attachments

        1. YARN-7236.001.patch
          1 kB
          Sen Zhao

        Activity

          People

            Sen Zhao Sen Zhao
            Sen Zhao Sen Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: