You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Piotr Findeisen (JIRA)" <ji...@apache.org> on 2018/03/09 12:41:00 UTC

[jira] [Created] (HIVE-18925) Hive doesn't start when JVM is America/Bahia_Banderas time zone

Piotr Findeisen created HIVE-18925:
--------------------------------------

             Summary: Hive doesn't start when JVM is America/Bahia_Banderas time zone
                 Key: HIVE-18925
                 URL: https://issues.apache.org/jira/browse/HIVE-18925
             Project: Hive
          Issue Type: Bug
         Environment: JVM in America/Bahia_Banderas zone
            Reporter: Piotr Findeisen


Hive Server2 doesn't  work if started with {{-Duser.timezone=America/Bahia_Banderas}}

 

Steps to reproduce
 # use [https://github.com/big-data-europe/docker-hive]
 # Add {{HADOOP_CLIENT_OPTS: '-Duser.timezone=America/Bahia_Banderas'}} to {{hive-server}} docker container environment configuration
 # {{docker-compose up}}
 # 
{code:java}
host# docker-compose exec hive-server bash
container# /opt/hive/bin/beeline -u jdbc:hive2://localhost:10000
...
jdbc:hive2://localhost:10000> select 1;
Error: java.lang.IllegalStateException: Can't overwrite cause with org.joda.time.IllegalInstantException: Illegal instant due to time zone offset transition (daylight savings time 'gap'): 1970-01-01T00:00:00.000 (America/Bahia_Banderas) (state=08S01,code=0){code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)