Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-11304 Migrate to Log4j2 from Log4j 1.x
  3. HIVE-12497

Remove HADOOP_CLIENT_OPTS from hive script

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: Logging
    • Labels:
      None
    • Target Version/s:

      Description

      HADOOP_CLIENT_OPTS added in HIVE-11304 to get around log4j error adds ~5 seconds delay to hive startup.

      with HADOOP_CLIENT_OPTS
      time hive --version
      real	0m11.948s
      user	0m13.026s
      sys	0m3.979s
      
      without HADOOP_CLIENT_OPTS
      time hive --version
      real	0m7.053s
      user	0m7.254s
      sys	0m3.589s
      

        Attachments

        1. HIVE-12497.3.patch
          2 kB
          Prasanth Jayachandran
        2. HIVE-12497.2.patch
          2 kB
          Prasanth Jayachandran
        3. HIVE-12497.1.patch
          0.5 kB
          Prasanth Jayachandran

          Activity

            People

            • Assignee:
              prasanth_j Prasanth Jayachandran
              Reporter:
              prasanth_j Prasanth Jayachandran
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: