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

One message is misleading in LogsCLI

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.2.0
    • None
    • None
    • None

    Description

      In LogsCLI,

          } else if ((containerIdStr == null && nodeAddress != null)
              || (containerIdStr != null && nodeAddress == null)) {
            System.out.println("ContainerId or NodeAddress cannot be null!");
      

      If users set either ContainerId or NodeAddress, but not both, they will get this message. However, it may confuse the users, because the sentence sounds that it's OK if one of the two params is not null.

      Attachments

        1. YARN-1513.patch
          0.9 kB
          haosdent

        Activity

          People

            haosdent@gmail.com haosdent
            zjshen Zhijie Shen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: