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

Logs may be directed to 2 files if --hiveconf hive.log.file is used

    XMLWordPrintableJSON

Details

    Description

      hive launch script explicitly specific log4j2 configuration file to use. The main() methods in HiveServer2 and HiveMetastore reconfigures the logger based on user input via --hiveconf hive.log.file. This may cause logs to end up in 2 different files. Initial logs goes to the file specified in hive-log4j2.properties and after logger reconfiguration the rest of the logs goes to the file specified via --hiveconf hive.log.file. 

      Attachments

        1. HIVE-19886.patch
          0.8 kB
          Jaume M
        2. HIVE-19886.4.patch
          2 kB
          Jaume M
        3. HIVE-19886.3.patch
          2 kB
          Jaume M
        4. HIVE-19886.2.patch
          2 kB
          Jaume M
        5. HIVE-19886.2.patch
          2 kB
          Jaume M

        Issue Links

          Activity

            People

              jmarhuen Jaume M
              prasanth_j Prasanth Jayachandran
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: