[ 
https://issues.apache.org/jira/browse/HIVE-18925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Piotr Findeisen updated HIVE-18925:
-----------------------------------
    Summary: Hive doesn't work when JVM is America/Bahia_Banderas time zone  
(was: Hive doesn't start when JVM is America/Bahia_Banderas time zone)

> Hive doesn't work 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
>            Priority: Major
>
> 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)

Reply via email to