Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Workaround
-
Impala 3.3.0
-
-
ghx-label-12
Description
On my Ubuntu machine with latest Impala build I get the following error:
[localhost:21000] tpch> compute stats lineitem; Query: compute stats lineitem ERROR: Invalid timezone name 'posixrules'.
This causes a bunch of unit tests that rely on stats to fail.
After setting the TIMEZONE explicitly, this works:
localhost:21000] tpch> set TIMEZONE=America/Los_Angeles; TIMEZONE set to America/Los_Angeles [localhost:21000] tpch> compute stats lineitem; Query: compute stats lineitem +------------------------------------------+ | summary | +------------------------------------------+ | Updated 1 partition(s) and 16 column(s). | +------------------------------------------+
My /etc/timezone has a valid timezone:
$ cat /etc/timezone America/New_York