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

bin/hive --debug should not append HIVE_CLIENT_OPTS to HADOOP_OPTS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 0.12.0
    • 0.13.0
    • None
    • None

    Description

      hadoop (0.20.2, 1.x, 2.x) appends HADOOP_CLIENT_OPTS to HADOO_OPTS.
      So it is unnecessary to have this statement in bin/hive, under debug mode -

      " export HADOOP_OPTS="$HADOOP_OPTS $HADOOP_CLIENT_OPTS"

      It results in the HADOOP_CLIENT_OPTS being appended twice, resulting in this error in debug mode.

      bin/hive --debug 
      ERROR: Cannot load this JVM TI agent twice, check your java command line for duplicate jdwp options.
      Error occurred during initialization of VM
      agent library failed to init: jdwp
      
      

      Attachments

        1. HIVE-6003.1.patch
          0.3 kB
          Thejas Nair

        Issue Links

          Activity

            People

              thejas Thejas Nair
              thejas Thejas Nair
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: