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

Move Beeline To SLF4J Simple Logger

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

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Beeline

    Description

      To make beeline as simple as possible, move its SLF4J logger implementation to SLFJ-Simple logger. This will allow users to change the logging level simply on the command line. Currently uses must create a Log4J configuration file which is way too advance/cumbersome for a data analyst that just wants to use SQL (and do some minor troubleshooting)

      export HADOOP_CLIENT_OPTS="-Dorg.slf4j.simpleLogger.defaultLogLevel=debug"
      beeline ...
      

      http://www.slf4j.org/api/org/slf4j/impl/SimpleLogger.html

      Attachments

        Issue Links

        Activity

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

          People

            belugabehr David Mollitor Assign to me
            belugabehr David Mollitor

            Dates

              Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0h
              0h
              Logged:
              Time Spent - 2h 40m
              2h 40m

              Slack

                Issue deployment