hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-6003) bin/hive --debug should not append HIVE_CLIENT_OPTS to HADOOP_OPTS
Date Wed, 11 Dec 2013 03:36:51 GMT

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

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

    Status: Patch Available  (was: Open)

The change being reverted here seems to be have been accidently introduced in HIVE-3030.
It affects only debug option.



> 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)

Mime
View raw message