7/11/2017 8:44:37 PM
(#1272)
The current upload logic is sitting in the ProjectManager class. This change delegates the upload and download to AzkabanProjectLoader class. This makes the upload/download code much easier to manage and test. Added a unit test for upload and download methods.
This change also helps pave the way for subsequent refactors which are required to clean up and simplify the project loading and validating logic.
Note: There is no logic change in this code.
|
7/11/2017 8:39:17 PM
Return json string directly from the LogUtil method
Step 3 of refactoring the log4j appender logic
Change the method return type and name to make unit testing easier.
Add an unit test.
* Code clean up
|
7/11/2017 7:44:58 PM
refactor JDBC Project class to leverage new azkaban-db
This change is aimed at re-constructing JDBC project loader class to
allow db retry feature to be leveraged. In order to make this happen,
there are a few changes made in this patch:
* remove some never-use abstract method in ProjectLoader interface.
* guicify JdbcProjectImpl and make it as the only implementation to
Projectloader.
* Seprate All Project related JDBC handler classes to a ourside static class.
* Bring in memory h2 db to test new JdbcProject class.
* Change azkaban-db interface to allow user to define if rollback should
be enabled.
|
7/11/2017 7:05:47 PM
Refactored sendEmail method
|
7/10/2017 7:30:10 PM
3.31.0
(#1235)" (#1269)
The PR #1235 (commit 68e507208941659026ac15a1b242364b25f5fa31) introduces a bug which breaks Azkaban's capability to handle multiple HCAT servers. More specifically #1235 introduces a factory class for the Hive Client and caches the `HiveConf` during construction. When fetching delegation tokens from other HCAT servers, it accidentally uses the cached configuration instead of creating a new HiveConf specific to the target HCAT server. Hence it ends up fetching tokens from `HIVE_HOME` configured HCAT server instead of the target HCAT server leading to SASL errors.
Reverting the change. Confirmed that `HadoopSecurityManager_H_2_0` is identical to the version prior to #1235
|
7/10/2017 6:55:23 PM
on java compiler including info on -Werror flag:
http://docs.oracle.com/javase/7/docs/technotes/tools/windows/javac.html
|
7/10/2017 6:49:11 PM
been scraped and wasn't implemented in totality. Removing dead code.
|
|
6/29/2017 10:42:44 PM
from running Azkaban flows (#1257)
* Issue #1256 - enabling config setting to prevent service users from running Azkaban flows
|
|