[jira] [Commented] (HIVE-15005) Path does not add slash in hive.cluster.delegation.token.store.zookeeper.znode config
[ https://issues.apache.org/jira/browse/HIVE-15005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15586847#comment-15586847 ] Thejas M Nair commented on HIVE-15005: -- bq. used both by metastore server and hs2 running embedded metastore Just to clarify, HS2 has separate set of delegation tokens and the separate HS2 directory is used to store them. This value is a prefix for that as documented. If the prefix is /hive/cluster/delegation/, then dir should be /hive/cluster/delegation/METASTORE. If it is /hive/cluster/delegation, then it should be /hive/cluster/delegationMETASTORE. > Path does not add slash in > hive.cluster.delegation.token.store.zookeeper.znode config > - > > Key: HIVE-15005 > URL: https://issues.apache.org/jira/browse/HIVE-15005 > Project: Hive > Issue Type: Bug >Reporter: Huizhi Lu >Assignee: Huizhi Lu > > If set > 'hive.cluster.delegation.token.store.zookeeper.znode=/hive/cluster/delegation', > the new node path will be '/hive/cluster/delegationMETASTORE/tokens'. > It should be /hive/cluster/delegation/METASTORE/tokens. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-15005) Path does not add slash in hive.cluster.delegation.token.store.zookeeper.znode config
[ https://issues.apache.org/jira/browse/HIVE-15005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15586345#comment-15586345 ] Huizhi Lu commented on HIVE-15005: -- Did you mean it is not a bug, we just use /delegationMETASTORE/ or /delegationHIVESERVER2/? It seems if I set hive.cluster.delegation.token.store.zookeeper.znode=/hive/cluster/delegation/, the final path would be /hive/cluster/delegation/METASTORE. So I just think it would be better to add a slash. > Path does not add slash in > hive.cluster.delegation.token.store.zookeeper.znode config > - > > Key: HIVE-15005 > URL: https://issues.apache.org/jira/browse/HIVE-15005 > Project: Hive > Issue Type: Bug >Reporter: Huizhi Lu >Assignee: Huizhi Lu > > If set > 'hive.cluster.delegation.token.store.zookeeper.znode=/hive/cluster/delegation', > the new node path will be '/hive/cluster/delegationMETASTORE/tokens'. > It should be /hive/cluster/delegation/METASTORE/tokens. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-15005) Path does not add slash in hive.cluster.delegation.token.store.zookeeper.znode config
[ https://issues.apache.org/jira/browse/HIVE-15005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15586337#comment-15586337 ] Huizhi Lu commented on HIVE-15005: -- Did you mean it is not a bug, we just use */delegationMETASTORE/* or */delegationHIVESERVER2/*? It seems if I set hive.cluster.delegation.token.store.zookeeper.znode=/hive/cluster/delegation/, the final path would be /hive/cluster/delegation/METASTORE. So I just think it would be better to add a slash. > Path does not add slash in > hive.cluster.delegation.token.store.zookeeper.znode config > - > > Key: HIVE-15005 > URL: https://issues.apache.org/jira/browse/HIVE-15005 > Project: Hive > Issue Type: Bug >Reporter: Huizhi Lu >Assignee: Huizhi Lu > > If set > 'hive.cluster.delegation.token.store.zookeeper.znode=/hive/cluster/delegation', > the new node path will be '/hive/cluster/delegationMETASTORE/tokens'. > It should be /hive/cluster/delegation/METASTORE/tokens. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-15005) Path does not add slash in hive.cluster.delegation.token.store.zookeeper.znode config
[ https://issues.apache.org/jira/browse/HIVE-15005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15586307#comment-15586307 ] Vaibhav Gumashta commented on HIVE-15005: - [~hzlu] Thanks for noticing this. However, the rationale behind choosing this kind of path naming is that {{hive.cluster.delegation.token.store.zookeeper.znode}} is used both by metastore server and hs2 running embedded metastore (in which case the final path is /hive/cluster/delegation/delegationHIVESERVER2/tokens). cc [~thejas] > Path does not add slash in > hive.cluster.delegation.token.store.zookeeper.znode config > - > > Key: HIVE-15005 > URL: https://issues.apache.org/jira/browse/HIVE-15005 > Project: Hive > Issue Type: Bug >Reporter: Huizhi Lu >Assignee: Huizhi Lu > > If set > 'hive.cluster.delegation.token.store.zookeeper.znode=/hive/cluster/delegation', > the new node path will be '/hive/cluster/delegationMETASTORE/tokens'. > It should be /hive/cluster/delegation/METASTORE/tokens. -- This message was sent by Atlassian JIRA (v6.3.4#6332)