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

Add integration tests to verify logging #317

Open
gokulavasan opened this issue Jun 7, 2016 · 0 comments
Open

Add integration tests to verify logging #317

gokulavasan opened this issue Jun 7, 2016 · 0 comments

Comments

@gokulavasan
Copy link
Contributor

One of the common pain points in debugging CDAP MapReduce (which includes Hydrator pipelines) has been missing logs - which means we need to ask the user to go to MR container logs using UI or cmdline and this is not ideal. Sometimes this is fixed in Release X and in Release X+1 there is retrogression and we don't catch it. In order to avoid this completely, we need an integration test case to make sure we collect MR logs - this might be accomplished by hitting the logs endpoint or we might need to add a new LogClient. The test should also make sure that the MR program throws exceptions and those logs are also captured (in addition to the successful completion path). Also add System.out/err.println in Mapper/Reducer logic to make sure we are capturing those statements too.

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

No branches or pull requests

1 participant