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

EmrEtlRunner: fix copy to staging for Tomcat7 logs with hyphen after .txt #1480

Closed
alexanderdean opened this issue Mar 7, 2015 · 0 comments
Assignees

Comments

@alexanderdean
Copy link
Member

Regression introduced by #1398.

There are two different formats for Tomcat7 logs:

  1. _var_log_tomcat7_localhost_access_log.txt-1416459661.gz
  2. _var_log_tomcat7_rotated_localhost_access_log.txt1416420062.gz

Unfortunately the first format does not match against the regexp introduced by #1398. The logs are copied to processing okay, but the trailing _ is not removed from the log file name, meaning that the logs are silently ignored by Hadoop.

The issue is super-easy to identify: no events will be generated by the Enrichment process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant