hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashish Singhi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-12021) Hbase shell does not respect the HBASE_OPTS set by the user in console
Date Fri, 19 Sep 2014 06:20:34 GMT

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

Ashish Singhi updated HBASE-12021:
----------------------------------
    Attachment: HBASE-12021.patch

Attached a simple patch.
Please review

> Hbase shell does not respect the HBASE_OPTS set by the user in console
> ----------------------------------------------------------------------
>
>                 Key: HBASE-12021
>                 URL: https://issues.apache.org/jira/browse/HBASE-12021
>             Project: HBase
>          Issue Type: Improvement
>          Components: shell
>    Affects Versions: 0.98.5
>            Reporter: nijel
>            Assignee: Ashish Singhi
>            Priority: Minor
>         Attachments: HBASE-12021.patch
>
>
> Before starting hbase shell i have set some -D parameters reauired for kerberos authentication
in HBASE_OPTS (there is no other variables are used when shell is executed). But while invoking
Hbase shell it is not used.
> The code in hbase-env.sh is 
> export HBASE_OPTS="-XX:+UseConcMarkSweepGC"
> This will overwrite the the value set in the console
> There can be 2 options to support this
> 1. Append the HBASE_OPTS like HBASE_OPTS="$HBASE_OPTS -XX:+UseConcMarkSweepGC".
> 2. Have a new variable (HBASE_CLIENT_OPTS) which is can be appended in shell section
of "hbase" file



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message