You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Oliver Bucaojit (JIRA)" <ji...@apache.org> on 2017/03/07 06:41:33 UTC

[jira] [Comment Edited] (TRAFODION-2448) TM Split/Balance uses /hbase as base znode, default value varies by distro

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

Oliver Bucaojit edited comment on TRAFODION-2448 at 3/7/17 6:41 AM:
--------------------------------------------------------------------

Proposed fix for hard-coding the parent znode of /hbase for zkTable attached.

Tested by setting property 'zookeeper.znode.parent' to /trafznode:
  <property>
    <name>zookeeper.znode.parent</name>
    <value>/trafznode</value>
  </property>

Logged DEBUG message - shows it picking up correct znode:
2017-03-06 21:59:27,127 DEBUG [RS_OPEN_REGION-localhost:41617-0] transactional.SplitBalanceHelper: zkTable value: /trafznode/table



was (Author: obucaojit):
Proposed fix for hard-coding the parent znode of /hbase for zkTable.

Tested by setting property 'zookeeper.znode.parent' to /trafznode:
  <property>
    <name>zookeeper.znode.parent</name>
    <value>/trafznode</value>
  </property>

Logged DEBUG message - shows it picking up correct znode:
2017-03-06 21:59:27,127 DEBUG [RS_OPEN_REGION-localhost:41617-0] transactional.SplitBalanceHelper: zkTable value: /trafznode/table


> TM Split/Balance uses /hbase as base znode, default value varies by distro
> --------------------------------------------------------------------------
>
>                 Key: TRAFODION-2448
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2448
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: dtm
>    Affects Versions: 2.0-incubating, 1.3-incubating
>         Environment: HDP
>            Reporter: Oliver Bucaojit
>            Priority: Minor
>         Attachments: TRAFODION-2448-SPLITBAL.v1.diff
>
>
> Split/balance code uses '/hbase' as the base znode.  Different distros generally set this to a different value and so the /hbase znode will not exist.  In HDP for example the default base znode for a non-kerborized cluster is /hbase-unsecure, kerborized is /hbase-secure
> Proposed fix is to have the code use the passed in configuration property for: zookeeper.znode.parent 
> WORKAROUND
> Set property zookeeper.znode.parent to /hbase



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)