Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-13376

HoS emits too many logs with application state

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • Spark
    • None

    Description

      The logs get flooded with something like:

      > Mar 28, 3:12:21.851 PM INFO org.apache.hive.spark.client.SparkClientImpl
      > [stderr-redir-1]: 16/03/28 15:12:21 INFO yarn.Client: Application report for application_1458679386200_0161 (state: RUNNING)
      > Mar 28, 3:12:21.912 PM INFO org.apache.hive.spark.client.SparkClientImpl
      > [stderr-redir-1]: 16/03/28 15:12:21 INFO yarn.Client: Application report for application_1458679386200_0149 (state: RUNNING)
      > Mar 28, 3:12:22.853 PM INFO org.apache.hive.spark.client.SparkClientImpl
      > [stderr-redir-1]: 16/03/28 15:12:22 INFO yarn.Client: Application report for application_1458679386200_0161 (state: RUNNING)
      > Mar 28, 3:12:22.913 PM INFO org.apache.hive.spark.client.SparkClientImpl
      > [stderr-redir-1]: 16/03/28 15:12:22 INFO yarn.Client: Application report for application_1458679386200_0149 (state: RUNNING)
      > Mar 28, 3:12:23.855 PM INFO org.apache.hive.spark.client.SparkClientImpl
      > [stderr-redir-1]: 16/03/28 15:12:23 INFO yarn.Client: Application report for application_1458679386200_0161 (state: RUNNING)

      While this is good information, it is a bit much.

      Seems like SparkJobMonitor hard-codes its interval to 1 second. It should be higher and perhaps made configurable.

      Attachments

        1. HIVE-13376.patch
          2 kB
          Szehon Ho
        2. HIVE-13376.2.patch
          2 kB
          Szehon Ho

        Issue Links

        Activity

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

          People

            szehon Szehon Ho Assign to me
            szehon Szehon Ho
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment