Can't start hive — duplicate jdwp

to create new topics or reply. | New User Registration

This topic contains 2 replies, has 3 voices, and was last updated by  Remus Rusanu 1 year, 9 months ago.

  • Creator
  • #30004

    Mark Wilber

    Using rpms, I’ve installed hadoop and hive Attempting to configure a single-node cluster, I’ve successfully followed your instructions through Step 6.4. (I’ve got MySQL running with $hive_dbuser, $hive_dbname configured, working.) What happens:

    $ hive
    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

    I haven’t been able to find any solutions via search that wouldn’t require extracting source code, editing, re-compiling. Any suggestions less difficult than that?

Viewing 2 replies - 1 through 2 (of 2 total)

You must be to reply to this topic. | Create Account

  • Author
  • #38864

    Remus Rusanu

    This is likely caused by HADOOP-9455 “HADOOP_CLIENT_OPTS appended twice causes JVM failures”
    There is a fix in 2.1.0-beta and you can inspect the patch for the fix, is a trivial edit of your hadoop-env.shc


    Seth Lyubich

    Hi Mark,

    I just wanted to ask if you completed all required configuration in hive-site.xml. Can you please verify configurations for thrift, connectionURL, etc? Also instructions for HDP 2.0 can be found here:

    The link that you provided seems to point to HDP 1.2.

    Can you please verify that you are using correct instructions and setup configuration files, repositories, and directories correctly?

    Hope this helps,


Viewing 2 replies - 1 through 2 (of 2 total)
Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.