Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[b/402028795] Oozie connector #793

Merged
merged 21 commits into from
Mar 27, 2025
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rename logger
vladislav-sidorovich committed Mar 24, 2025
commit 9afa2f48f508d37345e25b8ba1fbaabc0c896ef1
Original file line number Diff line number Diff line change
@@ -42,7 +42,7 @@
import org.slf4j.LoggerFactory;

public class OozieJobsTask extends AbstractTask<Void> {
private static final Logger LOG = LoggerFactory.getLogger(OozieJobsTask.class);
private static final Logger logger = LoggerFactory.getLogger(OozieJobsTask.class);
private static final ObjectMapper objectMapper = new ObjectMapper();

private final int maxDaysToFetch;
@@ -79,7 +79,7 @@ protected Void doRun(TaskRunContext context, @Nonnull ByteSink sink, @Nonnull Ha
int offset = 0;
LocalDateTime lastJobEndDate = currentTime;

LOG.info("Start fetch Oozie jobs for last {}d starts from {}", maxDaysToFetch, currentTime);
logger.info("Start fetch Oozie jobs for last {}d starts from {}", maxDaysToFetch, currentTime);

while (ChronoUnit.DAYS.between(lastJobEndDate, currentTime) < maxDaysToFetch) {
List<WorkflowJob> jobsInfo = oozieClient.getJobsInfo(null, offset, batchSize);