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

Hive fails in recursive debug

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.3.0
    • Diagnosability
    • None

    Description

      When running hive recursive debug mode, for example,
      ./bin/hive --debug:port=10008,childSuspend=y
      It fails with error msg:

      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

      It is because HADOOP_OPTS and HADOOP_CLIENT_OPTS both have jvm debug options when invoking HADOOP.sh for the child process. The HADOOP_CLIENT_OPTS is appended to HADOOP_OPTS in HADOOP.sh which leads to the duplicated debug options.

      Attachments

        1. HIVE-15446.patch
          2 kB
          Chaoyu Tang

        Activity

          People

            ctang Chaoyu Tang
            ctang Chaoyu Tang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: