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

Carl Steinbach commented on HIVE-2328:
--------------------------------------

In HiveConf.java:

{noformat}
    HIVE_ZOOKEEPER_SESSION_TIMEOUT("hive.zookeeper.session.timeout", 600*1000),
{noformat}

In hive-default.xml:

{noformat}
<property>
  <name>hive.zookeeper.session.timeout</name>
  <value></value>
  <description>Zookeeper client's session timeout. The client is disconnected, 
               and as a result, all locks released, if a heartbeat is not sent
               in the timeout.
  </description>
</property>
{noformat}


It looks like the empty value in hive-default.xml effectively undefines this 
property:

{noformat}
% hive -e "set -v;" | grep 'hive.zookeeper'
hive.zookeeper.clean.extra.nodes=false
hive.zookeeper.client.port=2181
hive.zookeeper.namespace=hive_zookeeper_namespace
%
{noformat}


> hive.zookeeper.session.timeout is set to null in hive-default.xml
> -----------------------------------------------------------------
>
>                 Key: HIVE-2328
>                 URL: https://issues.apache.org/jira/browse/HIVE-2328
>             Project: Hive
>          Issue Type: Bug
>          Components: Configuration, HBase Handler
>    Affects Versions: 0.7.0, 0.7.1
>            Reporter: Carl Steinbach
>             Fix For: 0.8.0
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to