You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Sergey Soldatov (JIRA)" <ji...@apache.org> on 2016/05/19 06:35:12 UTC

[jira] [Commented] (PHOENIX-2914) Make sqlline refer to bin/hbase-site.xml by default

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

Sergey Soldatov commented on PHOENIX-2914:
------------------------------------------

how it's supposed to work in the distributed clusters with automatic config management? The original idea (due the dependency on hbase client) is that any changes in hbase configuration on the cluster will be seen automatically.

> Make sqlline refer to bin/hbase-site.xml by default
> ---------------------------------------------------
>
>                 Key: PHOENIX-2914
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2914
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Junegunn Choi
>            Priority: Minor
>         Attachments: PHOENIX-2914.patch
>
>
> I expected sqlline to pick up the settings in {{bin/hbase-site.xml}} by default, but it didn't unless I set up {{HBASE_CONF_DIR}} to point to the {{bin}} directory.
> An easy solution would be to simply prepend {{hbase_config_path}} to the classpath. {{hbase_config_path}} and {{phoenix_utils.hbase_conf_dir}} will point to the same directory when {{HBASE_CONF_DIR}} is set, but having it twice in classpath will not cause any problem.



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