Home Forums Hive / HCatalog Can't start hive — duplicate jdwp

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

  • Creator
    Topic
  • #30004

    Mark Wilber
    Member

    Using rpms, I’ve installed hadoop 2.1.0.2.0.4.0 and hive 0.11.0.2.0.4.0. 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 logged in to reply to this topic.

  • Author
    Replies
  • #38864

    Remus Rusanu
    Member

    This is likely caused by HADOOP-9455 https://issues.apache.org/jira/browse/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

    Collapse
    #30535

    Seth Lyubich
    Keymaster

    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:

    http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.0.4.0/bk_installing_manually_book/content/rpm-chap6.html

    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,

    Thanks,
    Seth

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