HADOOP-9754 already did good job to address most of work for cleanup RPC code. Here is some additional work, include:
- Remove some unused deprecated code.
- Narrow "throws Exception" to throw some specific exception and remove some unnecessary exceptions
- Fix a generic warning and correct spell issue.