Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-4904 YARN Log tooling enhancements
  3. YARN-5524

Yarn live log aggregation does not throw if command line arg is wrong

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to IssueMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.9.0
    • 2.9.0, 3.0.0-alpha2
    • log-aggregation
    • None
    • Reviewed

    Description

      When we used wrong command line arg for specify log file pattern, yarn did not throw any exception instead it pulled entire log onto the client.

      [hive@ctr-e20-1468887904486-0007-01-000003 ~]$ yarn logs -applicationId application_1470931023753_0001 -logFiles hive.*2016-08-11-21.* > logs
      

      NOTE: we are using -logFiles instead of -log_files

      This query should have failed.

      Attachments

        1. YARN-5524.001.patch
          4 kB
          Vrushali C
        2. YARN-5524.002.patch
          4 kB
          Vrushali C
        3. YARN-5524.3.patch
          2 kB
          Xuan Gong

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            xgong Xuan Gong Assign to me
            prasanth_j Prasanth Jayachandran
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment