Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
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 .