airflow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bolke de Bruin <bdbr...@gmail.com>
Subject Re: Airflow 1.8.0 BETA 4
Date Fri, 27 Jan 2017 19:45:53 GMT
5.6.4 is the minimum. Yes it was required. updating.md was required. 5.6.4 is already really
really old. Most distro's replaced it with mariadb which is compatible. 

Bolke

Sent from my iPhone

> On 27 Jan 2017, at 20:19, Boris Tyukin <boris@boristyukin.com> wrote:
> 
> sorry mysql version i have is mysql  Ver 14.14 Distrib 5.1.73
> 
> I see that DATETIME(6) is only supported on  MySQL 5.7 and later.
> 
> Was it really necessary to do use DATETIME(6) not just DATETIME?
> 
> Probably should be mention in change doc that this requires an upgrade of
> mysql which in my opinion is not cool. epel repo only has 5.1.73 as latest
> version and CDH distro includes 5.1.73 as well.
> 
> Some companies might not allow an upgrade of mysql unless it is in one of
> the official linux repos.
> 
> 
>> On Fri, Jan 27, 2017 at 2:14 PM, Boris Tyukin <boris@boristyukin.com> wrote:
>> 
>> was requirement to MySQL database version changes with 1.8.0? I run mysql
>> 14.14 and it worked fine with 1.7.
>> 
>> I just installed 1.8.4 beta 4 and got this error below when i ran airflow
>> upgradedb command
>> 
>>  File "/usr/local/lib/python2.7/site-packages/MySQLdb/cursors.py", line
>> 205, in execute
>>    self.errorhandler(self, exc, value)
>>  File "/usr/local/lib/python2.7/site-packages/MySQLdb/connections.py",
>> line 36, in defaulterrorhandler
>>    raise errorclass, errorvalue
>> sqlalchemy.exc.ProgrammingError: (_mysql_exceptions.ProgrammingError)
>> (1064, "You have an error in your SQL syntax; check the manual that
>> corresponds to your MySQL server version for the right syntax to use near
>> '(6) NULL' at line 1") [SQL: u'ALTER TABLE dag MODIFY last_scheduler_run
>> DATETIME(6) NULL']
>> 
>> 
>> 
>>> On Thu, Jan 26, 2017 at 1:49 PM, Bolke de Bruin <bdbruin@gmail.com> wrote:
>>> 
>>> Hi All,
>>> 
>>> I have made the FOURTH beta of Airflow 1.8.0 available at:
>>> https://dist.apache.org/repos/dist/dev/incubator/airflow/ <
>>> https://dist.apache.org/repos/dist/dev/incubator/airflow/> , public keys
>>> are available at https://dist.apache.org/repos/
>>> dist/release/incubator/airflow/ <https://dist.apache.org/repos
>>> /dist/release/incubator/airflow/> . It is tagged with a local version
>>> “apache.incubating” so it allows upgrading from earlier releases. This beta
>>> is available for testing in a more production like setting (acceptance
>>> environment?).
>>> 
>>> I would like to encourage everyone  to try it out, to report back any
>>> issues so we get to a rock solid release of 1.8.0. When reporting issues a
>>> test case or even a fix is highly appreciated.
>>> 
>>> Issues fixed:
>>> * Incorrect Alembic reference due to revert (initdb/upgradedb/resetdb
>>> should work again)
>>> * Py3 incompatibility in base_taskrunner.
>>> 
>>> Under investigation:
>>> * DAG marked success, with half of the Tasks never scheduled (Alex)
>>> 
>>> Kind regards,
>>> Bolke
>> 
>> 
>> 

Mime
View raw message