Details
-
New Feature
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
1.0.0, 0.24.0
-
None
-
None
Description
The script supplied by the ops team could have many problems
- not run
- have the wrong permissions
- fail to parse/resolve some or all hosts
- not be the string set in the configuration file.
Diagnostics could be improved here with an entry point that
- reads in the configuration file
- instantiates whatever mapper is declared
- attempts to resolve all hosts passed in as arguments, logging success and failures
- prints out a topology map at the end
A key goal would be to recognise and report a complete failure to report a mapping as per MAPREDUCE-50, so let people identify problems in their script before updating the cluster
Test plan
-Java entry point: invoke it with arguments, get the output as a string and scan.
-Shell script. Include whatever post-install script tests are being written.
Attachments
Issue Links
- depends upon
-
HADOOP-8046 Revert StaticMapping semantics to the existing ones, add DNS mapping diagnostics in progress
- Resolved
- duplicates
-
HADOOP-8232 Provide a command line entry point to view/test topology options
- Resolved
- relates to
-
HADOOP-10867 NPE in heartbeat when the configured topology script doesn't exist
- Open