Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problem that Bundle submission of HUE Oozie fails after adjusting Oozie time zone to GMT+0800

2025-04-12 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

Today, I will talk to you about how to solve the problem of Bundle submission failure of HUE Oozie caused by adjusting the Oozie time zone to GMT+0800. Many people may not know much about it. In order to make you understand better, the editor has summarized the following for you. I hope you can get something from this article.

I. HUE Bundle problem

If the Oozie time zone is set to GMT+0800, when the Oozie Bundle is submitted in version 3.12.0 of HUE, it appears:

Bundle Job submission Error: [E1301: Could not read the bundle job definition, [Could not parse [2019-04-30T16:09Z] using [yyyy-MM-dd'T'HH:mm+0800] mask]]

II. Solutions

Modify the HUE source code:

1 、 apps/oozie/src/oozie/utils.py

At the beginning of the file, modify the value of GMT_TIME_FORMAT to look like this:

Or the utils.py file, modify and add the following parts:

2 、 apps/oozie/src/oozie/models2.py

Add import at the beginning:

Replace all utc_datetime_format of the file with gmt_datetime_format; UTC_TIME_FORMAT all with GMT_TIME_FORMAT.

Third, recompile the HUE source code, and restart the HUE service after success

For details on how to prepare the HUE compilation environment, you can see my previous article, introduction to HUE and compilation.

The end result is that in the Oozie-based GMT+0800 time zone, you can use the Bundle,Bundle in HUE to successfully submit, as shown below:

After reading the above, do you have any further understanding of how to solve the problem that the Bundle submission of HUE Oozie failed after adjusting the Oozie time zone to GMT+0800? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report