Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-4434

test_no_conversion failing near DST changeover

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • Impala 2.8.0
    • None
    • Backend
    • UTC, ec3.4xlarge, ubuntu 14.04

    Description

      To reproduce, run in an ec2 c3.4xlarge, using https://github.com/apache/incubator-impala/blob/master/bin/bootstrap_development.sh from a stock ubuntu 14.04 AMI.

       TestHiveParquetTimestampConversion.test_no_conversion[exec_option: {'disable_codegen': False, 'abort_on_error': 1, 'exec_single_node_rows_threshold': 0, 'batch_size': 0, 'num_nodes': 0} | table_format: parquet/none] 
      custom_cluster/test_hive_parquet_timestamp_conversion.py:97: in test_no_conversion
          assert len(data.split('\n')) == expected_row_count
      E   assert 1 == 0
      E    +  where 1 = len([''])
      E    +    where [''] = <built-in method split of str object at 0x7fc866f81508>('\n')
      E    +      where <built-in method split of str object at 0x7fc866f81508> = ''.split
      

      I also checked

      $ python2.7
      Python 2.7.6 (default, Jun 22 2015, 17:58:13) 
      [GCC 4.8.2] on linux2
      Type "help", "copyright", "credits" or "license" for more information.
      >>> import time
      >>> print time.tzname[time.localtime().tm_isdst]
      UTC
      >>> print time.localtime().tm_isdst                                                                                                                                                                                                            
      0
      >>> time.localtime()
      time.struct_time(tm_year=2016, tm_mon=11, tm_mday=5, tm_hour=2, tm_min=32, tm_sec=37, tm_wday=5, tm_yday=310, tm_isdst=0)
      

      DST ends in a couple days, and I think it used to end earlier in the year. Also, I think DST ended in the UK already while it is still DST here in California.

      Attachments

        Issue Links

          Activity

            People

              tarasbob Taras Bobrovytsky
              jbapple Jim Apple
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: