You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airflow.apache.org by jiajie zhong <zh...@hotmail.com> on 2019/03/01 04:53:56 UTC
Re: Change Airflow Dag Execution time timezone on Airflow UI
I think it a very helpful if we could use local timestamps too. I am Chinese, in my country many Aiflow users think Airflow ONLY could use UTC is not hommization and Configurability. Many users will trip time when they first use Airflow. I think let local timestamp work in useful for those no-develop-airflow-user(who focus on workflow and business rather than maintain Airflow self and change Hooks or Operator).
________________________________
Would be a major improvement for us as well - we run at -06:00/-05:00, and
it's confusing having the cron schedule displayed in CST but all timestamps
in UTC. Of course, there's no reason I couldn't submit a PR myself; I just
haven't had time.
Alek
On Wed, Feb 27, 2019 at 8:58 AM munishkumar1991@gmail.com <
munishkumar1991@gmail.com> wrote:
> Hi All,
>
> Trying to change timezone on Airflow UI, didn't get any solution.
> Actually Airflow UI runs on UTC timezone. So every DAG execution time,
> start time , show in utc format. Want to change it (DAG execution timezone)
> to IST timezone. Please help to resolve same.
>
> Thanks
>
>
Re: Change Airflow Dag Execution time timezone on Airflow UI
Posted by jiajie zhong <zh...@hotmail.com>.
I have serveral featrues to handle in the same time, and I not good at web developer. I let a msg in the JIRA ticket and I will do it when I finish my feature and if ticket still no one assignee
________________________________
From: Tao Feng <fe...@gmail.com>
Sent: Friday, March 1, 2019 14:39
To: dev@airflow.apache.org
Subject: Re: Change Airflow Dag Execution time timezone on Airflow UI
I look at the UI code. I think you are right. I just created a ticket(
https://issues.apache.org/jira/browse/AIRFLOW-3981) to keep track the
issue. Feel free to take a stab if you are interested.
On Thu, Feb 28, 2019 at 10:26 PM jiajie zhong <zh...@hotmail.com>
wrote:
> My idea is same as Manu's. If we change timezone, two diff time in Airflow
> would make user more confusion.
>
> So do we plan to change all timezone in Airflow right now?
>
> - z
>
>
> ________________________________
>
> Hi Manu,
>
> Yes you are right. At this moment changing timezone in UI is not supported,
> if I’m not wrong.
>
> Feature to change timezone in UI may not be an easy/quick task: Changing
> the timezone in the navbar may be easy, but timezones in Tree view/Graph
> view, log files, etc., may take effort and time. Quite a lot to take into
> consideration.
>
>
> XD
>
> On Fri, Mar 1, 2019 at 14:04 Manu Zhang <ow...@gmail.com> wrote:
>
> > IIRC, the timezone setting only changes backend schedule time but nothing
> > on UI and causes even more confusion.
> >
> >
> > Manu Zhang
> > On Mar 1, 2019, 1:08 PM +0800, Tao Feng <fe...@gmail.com>, wrote:
> > > Have you looked into
> > >
> >
> https://github.com/apache/airflow/blob/0d64fd8aac7b93f4143d8f1d3baa4a0e239aba55/docs/timezone.rst
> > > or set
> > >
> >
> https://github.com/apache/airflow/blob/master/airflow/config_templates/default_airflow.cfg#L78
> > > to Beijing timezone? Does it not work for you use case?
> > >
> > > On Thu, Feb 28, 2019 at 9:03 PM jiajie zhong <
> zhongjiajie955@hotmail.com
> > >
> > > wrote:
> > >
> > > > I think it a very helpful if we could use local timestamps too. I am
> > > > Chinese, in my country many Aiflow users think Airflow ONLY could use
> > UTC
> > > > is not hommization and Configurability. Many users will trip time
> when
> > they
> > > > first use Airflow. I think let local timestamp work in useful for
> those
> > > > no-develop-airflow-user(who focus on workflow and business rather
> than
> > > > maintain Airflow self and change Hooks or Operator).
> > > >
> > > >
> > > > ________________________________
> > > >
> > > > Would be a major improvement for us as well - we run at
> -06:00/-05:00,
> > and
> > > > it's confusing having the cron schedule displayed in CST but all
> > timestamps
> > > > in UTC. Of course, there's no reason I couldn't submit a PR myself; I
> > just
> > > > haven't had time.
> > > >
> > > > Alek
> > > >
> > > > On Wed, Feb 27, 2019 at 8:58 AM munishkumar1991@gmail.com <
> > > > munishkumar1991@gmail.com> wrote:
> > > >
> > > > > Hi All,
> > > > >
> > > > > Trying to change timezone on Airflow UI, didn't get any solution.
> > > > > Actually Airflow UI runs on UTC timezone. So every DAG execution
> > time,
> > > > > start time , show in utc format. Want to change it (DAG execution
> > > > timezone)
> > > > > to IST timezone. Please help to resolve same.
> > > > >
> > > > > Thanks
> > > > >
> > > > >
> > > >
> >
>
Re: Change Airflow Dag Execution time timezone on Airflow UI
Posted by Tao Feng <fe...@gmail.com>.
I look at the UI code. I think you are right. I just created a ticket(
https://issues.apache.org/jira/browse/AIRFLOW-3981) to keep track the
issue. Feel free to take a stab if you are interested.
On Thu, Feb 28, 2019 at 10:26 PM jiajie zhong <zh...@hotmail.com>
wrote:
> My idea is same as Manu's. If we change timezone, two diff time in Airflow
> would make user more confusion.
>
> So do we plan to change all timezone in Airflow right now?
>
> - z
>
>
> ________________________________
>
> Hi Manu,
>
> Yes you are right. At this moment changing timezone in UI is not supported,
> if I’m not wrong.
>
> Feature to change timezone in UI may not be an easy/quick task: Changing
> the timezone in the navbar may be easy, but timezones in Tree view/Graph
> view, log files, etc., may take effort and time. Quite a lot to take into
> consideration.
>
>
> XD
>
> On Fri, Mar 1, 2019 at 14:04 Manu Zhang <ow...@gmail.com> wrote:
>
> > IIRC, the timezone setting only changes backend schedule time but nothing
> > on UI and causes even more confusion.
> >
> >
> > Manu Zhang
> > On Mar 1, 2019, 1:08 PM +0800, Tao Feng <fe...@gmail.com>, wrote:
> > > Have you looked into
> > >
> >
> https://github.com/apache/airflow/blob/0d64fd8aac7b93f4143d8f1d3baa4a0e239aba55/docs/timezone.rst
> > > or set
> > >
> >
> https://github.com/apache/airflow/blob/master/airflow/config_templates/default_airflow.cfg#L78
> > > to Beijing timezone? Does it not work for you use case?
> > >
> > > On Thu, Feb 28, 2019 at 9:03 PM jiajie zhong <
> zhongjiajie955@hotmail.com
> > >
> > > wrote:
> > >
> > > > I think it a very helpful if we could use local timestamps too. I am
> > > > Chinese, in my country many Aiflow users think Airflow ONLY could use
> > UTC
> > > > is not hommization and Configurability. Many users will trip time
> when
> > they
> > > > first use Airflow. I think let local timestamp work in useful for
> those
> > > > no-develop-airflow-user(who focus on workflow and business rather
> than
> > > > maintain Airflow self and change Hooks or Operator).
> > > >
> > > >
> > > > ________________________________
> > > >
> > > > Would be a major improvement for us as well - we run at
> -06:00/-05:00,
> > and
> > > > it's confusing having the cron schedule displayed in CST but all
> > timestamps
> > > > in UTC. Of course, there's no reason I couldn't submit a PR myself; I
> > just
> > > > haven't had time.
> > > >
> > > > Alek
> > > >
> > > > On Wed, Feb 27, 2019 at 8:58 AM munishkumar1991@gmail.com <
> > > > munishkumar1991@gmail.com> wrote:
> > > >
> > > > > Hi All,
> > > > >
> > > > > Trying to change timezone on Airflow UI, didn't get any solution.
> > > > > Actually Airflow UI runs on UTC timezone. So every DAG execution
> > time,
> > > > > start time , show in utc format. Want to change it (DAG execution
> > > > timezone)
> > > > > to IST timezone. Please help to resolve same.
> > > > >
> > > > > Thanks
> > > > >
> > > > >
> > > >
> >
>
Re: Change Airflow Dag Execution time timezone on Airflow UI
Posted by jiajie zhong <zh...@hotmail.com>.
My idea is same as Manu's. If we change timezone, two diff time in Airflow would make user more confusion.
So do we plan to change all timezone in Airflow right now?
- z
________________________________
Hi Manu,
Yes you are right. At this moment changing timezone in UI is not supported,
if I’m not wrong.
Feature to change timezone in UI may not be an easy/quick task: Changing
the timezone in the navbar may be easy, but timezones in Tree view/Graph
view, log files, etc., may take effort and time. Quite a lot to take into
consideration.
XD
On Fri, Mar 1, 2019 at 14:04 Manu Zhang <ow...@gmail.com> wrote:
> IIRC, the timezone setting only changes backend schedule time but nothing
> on UI and causes even more confusion.
>
>
> Manu Zhang
> On Mar 1, 2019, 1:08 PM +0800, Tao Feng <fe...@gmail.com>, wrote:
> > Have you looked into
> >
> https://github.com/apache/airflow/blob/0d64fd8aac7b93f4143d8f1d3baa4a0e239aba55/docs/timezone.rst
> > or set
> >
> https://github.com/apache/airflow/blob/master/airflow/config_templates/default_airflow.cfg#L78
> > to Beijing timezone? Does it not work for you use case?
> >
> > On Thu, Feb 28, 2019 at 9:03 PM jiajie zhong <zhongjiajie955@hotmail.com
> >
> > wrote:
> >
> > > I think it a very helpful if we could use local timestamps too. I am
> > > Chinese, in my country many Aiflow users think Airflow ONLY could use
> UTC
> > > is not hommization and Configurability. Many users will trip time when
> they
> > > first use Airflow. I think let local timestamp work in useful for those
> > > no-develop-airflow-user(who focus on workflow and business rather than
> > > maintain Airflow self and change Hooks or Operator).
> > >
> > >
> > > ________________________________
> > >
> > > Would be a major improvement for us as well - we run at -06:00/-05:00,
> and
> > > it's confusing having the cron schedule displayed in CST but all
> timestamps
> > > in UTC. Of course, there's no reason I couldn't submit a PR myself; I
> just
> > > haven't had time.
> > >
> > > Alek
> > >
> > > On Wed, Feb 27, 2019 at 8:58 AM munishkumar1991@gmail.com <
> > > munishkumar1991@gmail.com> wrote:
> > >
> > > > Hi All,
> > > >
> > > > Trying to change timezone on Airflow UI, didn't get any solution.
> > > > Actually Airflow UI runs on UTC timezone. So every DAG execution
> time,
> > > > start time , show in utc format. Want to change it (DAG execution
> > > timezone)
> > > > to IST timezone. Please help to resolve same.
> > > >
> > > > Thanks
> > > >
> > > >
> > >
>
Re: Change Airflow Dag Execution time timezone on Airflow UI
Posted by Deng Xiaodong <xd...@gmail.com>.
Hi Manu,
Yes you are right. At this moment changing timezone in UI is not supported,
if I’m not wrong.
Feature to change timezone in UI may not be an easy/quick task: Changing
the timezone in the navbar may be easy, but timezones in Tree view/Graph
view, log files, etc., may take effort and time. Quite a lot to take into
consideration.
XD
On Fri, Mar 1, 2019 at 14:04 Manu Zhang <ow...@gmail.com> wrote:
> IIRC, the timezone setting only changes backend schedule time but nothing
> on UI and causes even more confusion.
>
>
> Manu Zhang
> On Mar 1, 2019, 1:08 PM +0800, Tao Feng <fe...@gmail.com>, wrote:
> > Have you looked into
> >
> https://github.com/apache/airflow/blob/0d64fd8aac7b93f4143d8f1d3baa4a0e239aba55/docs/timezone.rst
> > or set
> >
> https://github.com/apache/airflow/blob/master/airflow/config_templates/default_airflow.cfg#L78
> > to Beijing timezone? Does it not work for you use case?
> >
> > On Thu, Feb 28, 2019 at 9:03 PM jiajie zhong <zhongjiajie955@hotmail.com
> >
> > wrote:
> >
> > > I think it a very helpful if we could use local timestamps too. I am
> > > Chinese, in my country many Aiflow users think Airflow ONLY could use
> UTC
> > > is not hommization and Configurability. Many users will trip time when
> they
> > > first use Airflow. I think let local timestamp work in useful for those
> > > no-develop-airflow-user(who focus on workflow and business rather than
> > > maintain Airflow self and change Hooks or Operator).
> > >
> > >
> > > ________________________________
> > >
> > > Would be a major improvement for us as well - we run at -06:00/-05:00,
> and
> > > it's confusing having the cron schedule displayed in CST but all
> timestamps
> > > in UTC. Of course, there's no reason I couldn't submit a PR myself; I
> just
> > > haven't had time.
> > >
> > > Alek
> > >
> > > On Wed, Feb 27, 2019 at 8:58 AM munishkumar1991@gmail.com <
> > > munishkumar1991@gmail.com> wrote:
> > >
> > > > Hi All,
> > > >
> > > > Trying to change timezone on Airflow UI, didn't get any solution.
> > > > Actually Airflow UI runs on UTC timezone. So every DAG execution
> time,
> > > > start time , show in utc format. Want to change it (DAG execution
> > > timezone)
> > > > to IST timezone. Please help to resolve same.
> > > >
> > > > Thanks
> > > >
> > > >
> > >
>
Re: Change Airflow Dag Execution time timezone on Airflow UI
Posted by Manu Zhang <ow...@gmail.com>.
IIRC, the timezone setting only changes backend schedule time but nothing on UI and causes even more confusion.
Manu Zhang
On Mar 1, 2019, 1:08 PM +0800, Tao Feng <fe...@gmail.com>, wrote:
> Have you looked into
> https://github.com/apache/airflow/blob/0d64fd8aac7b93f4143d8f1d3baa4a0e239aba55/docs/timezone.rst
> or set
> https://github.com/apache/airflow/blob/master/airflow/config_templates/default_airflow.cfg#L78
> to Beijing timezone? Does it not work for you use case?
>
> On Thu, Feb 28, 2019 at 9:03 PM jiajie zhong <zh...@hotmail.com>
> wrote:
>
> > I think it a very helpful if we could use local timestamps too. I am
> > Chinese, in my country many Aiflow users think Airflow ONLY could use UTC
> > is not hommization and Configurability. Many users will trip time when they
> > first use Airflow. I think let local timestamp work in useful for those
> > no-develop-airflow-user(who focus on workflow and business rather than
> > maintain Airflow self and change Hooks or Operator).
> >
> >
> > ________________________________
> >
> > Would be a major improvement for us as well - we run at -06:00/-05:00, and
> > it's confusing having the cron schedule displayed in CST but all timestamps
> > in UTC. Of course, there's no reason I couldn't submit a PR myself; I just
> > haven't had time.
> >
> > Alek
> >
> > On Wed, Feb 27, 2019 at 8:58 AM munishkumar1991@gmail.com <
> > munishkumar1991@gmail.com> wrote:
> >
> > > Hi All,
> > >
> > > Trying to change timezone on Airflow UI, didn't get any solution.
> > > Actually Airflow UI runs on UTC timezone. So every DAG execution time,
> > > start time , show in utc format. Want to change it (DAG execution
> > timezone)
> > > to IST timezone. Please help to resolve same.
> > >
> > > Thanks
> > >
> > >
> >
Re: Change Airflow Dag Execution time timezone on Airflow UI
Posted by Tao Feng <fe...@gmail.com>.
Have you looked into
https://github.com/apache/airflow/blob/0d64fd8aac7b93f4143d8f1d3baa4a0e239aba55/docs/timezone.rst
or set
https://github.com/apache/airflow/blob/master/airflow/config_templates/default_airflow.cfg#L78
to Beijing timezone? Does it not work for you use case?
On Thu, Feb 28, 2019 at 9:03 PM jiajie zhong <zh...@hotmail.com>
wrote:
> I think it a very helpful if we could use local timestamps too. I am
> Chinese, in my country many Aiflow users think Airflow ONLY could use UTC
> is not hommization and Configurability. Many users will trip time when they
> first use Airflow. I think let local timestamp work in useful for those
> no-develop-airflow-user(who focus on workflow and business rather than
> maintain Airflow self and change Hooks or Operator).
>
>
> ________________________________
>
> Would be a major improvement for us as well - we run at -06:00/-05:00, and
> it's confusing having the cron schedule displayed in CST but all timestamps
> in UTC. Of course, there's no reason I couldn't submit a PR myself; I just
> haven't had time.
>
> Alek
>
> On Wed, Feb 27, 2019 at 8:58 AM munishkumar1991@gmail.com <
> munishkumar1991@gmail.com> wrote:
>
> > Hi All,
> >
> > Trying to change timezone on Airflow UI, didn't get any solution.
> > Actually Airflow UI runs on UTC timezone. So every DAG execution time,
> > start time , show in utc format. Want to change it (DAG execution
> timezone)
> > to IST timezone. Please help to resolve same.
> >
> > Thanks
> >
> >
>