Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-17718 Hive on Spark Debugging Improvements
  3. HIVE-17112

Reduce logging in HiveSparkClientFactory and RemoteHiveSparkClient

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

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • Spark
    • None

    Description

      HiveSparkClientFactory has the following line that introduces excess logging:

      LOG.info(String.format(
                    "load spark property from %s (%s -> %s).",
                    SPARK_DEFAULT_CONF_FILE, propertyName, LogUtils.maskIfPassword(propertyName,value)));
      

      It basically dumps the entire configuration object to the logs, we can probably change this from INFO to DEBUG.

      Same thing happens in RemoteHiveSparkClient#logConfigurations

      Attachments

        1. HIVE-17112.1.patch
          5 kB
          Sahil Takiar

        Activity

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

          People

            stakiar Sahil Takiar Assign to me
            stakiar Sahil Takiar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment