Hive / HCatalog Forum

Can't start hive — duplicate jdwp

  • #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?

to create new topics or reply. | New User Registration

  • Author
  • #30535
    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,


    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

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

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

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.