[ 
https://issues.apache.org/jira/browse/HIVE-6003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thejas M Nair updated HIVE-6003:
--------------------------------

    Resolution: Duplicate
        Status: Resolved  (was: Patch Available)

Fixed in HIVE-3936

> bin/hive --debug should not append HIVE_CLIENT_OPTS to HADOOP_OPTS 
> -------------------------------------------------------------------
>
>                 Key: HIVE-6003
>                 URL: https://issues.apache.org/jira/browse/HIVE-6003
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.12.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>         Attachments: HIVE-6003.1.patch
>
>
> 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.
> {code}
> 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
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to