You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Aman Sinha (Jira)" <ji...@apache.org> on 2019/11/11 21:16:00 UTC

[jira] [Created] (IMPALA-9145) Compute stats fails with invalid timezone

Aman Sinha created IMPALA-9145:
----------------------------------

             Summary: Compute stats fails with invalid timezone
                 Key: IMPALA-9145
                 URL: https://issues.apache.org/jira/browse/IMPALA-9145
             Project: IMPALA
          Issue Type: Bug
    Affects Versions: Impala 3.3.0
            Reporter: Aman Sinha


On my Ubuntu machine with latest Impala build I get the following error:
{noformat}
[localhost:21000] tpch> compute stats lineitem;
Query: compute stats lineitem
ERROR: Invalid timezone name 'posixrules'. {noformat}

This causes a bunch of unit tests that rely on stats to fail. 

After setting the TIMEZONE explicitly, this works: 
{noformat}
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). |
+------------------------------------------+
{noformat}

My /etc/timezone has a valid timezone:
{noformat}
$ cat /etc/timezone
America/New_York
{noformat}




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org