You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Prasanth J (JIRA)" <ji...@apache.org> on 2013/12/11 08:32:07 UTC

[jira] [Commented] (HIVE-6003) bin/hive --debug should not append HIVE_CLIENT_OPTS to HADOOP_OPTS

    [ https://issues.apache.org/jira/browse/HIVE-6003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13845155#comment-13845155 ] 

Prasanth J commented on HIVE-6003:
----------------------------------

Isn't it related to HADOOP-9455? I think it is sufficient to just remove HADOOP_CLIENT_OPTS from HADOOP_OPTS to make it work.

> 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.4#6159)