[HOD] Miscellaneous logcondense bugs
------------------------------------
Key: HADOOP-3311
URL: https://issues.apache.org/jira/browse/HADOOP-3311
Project: Hadoop Core
Issue Type: Bug
Components: contrib/hod
Reporter: Vinod Kumar Vavilapalli
Assignee: Hemanth Yamijala
Some miscellaneous logcondense related bugs:
- If we don't specify hadoop configuration(via -c), logcondense doesn't
behave sanely, and throws an exception. It should instead print an error
message and exit, similar to how it behaves with a missing hadoop package(-p).
- version(logcondense.py --version) isn't updated as expected; should sync
with HoD version(?).
- help messages for (-d, --days) and (-l, --logs) should be better, they
aren't that clear/obvious now.
- We currently don't check the return status of "hadoop -lsr <path>" command
now. When -lsr command fails with an error (for e.g when JAVA_HOME isn't set),
logcondense doesn't report anything and exits silently; this behavior should
change .
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.