[HBASE-8311] Make HBaseFsck less verbose

Author: manukranthk

Summary: Adding an option to output summaries related to each table into a file in json format. The table information would contain the following details total/online/offline (not deployed)/missing/skipped regions. Also each table would contain a list of errors for the regions for that table.

 Test Plan: Tested by executing the code on a shadow cluster.

 Reviewers: liyintang, arjen

 Reviewed By: arjen

 CC: hbase-eng@

 Differential Revision: https://phabricator.fb.com/D675393

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1470787 13f79535-47bb-0310-9956-ffa450edef68
[HBASE-8083] For RetriesExhausted Exception, tells whether any of the exception was thrown by RegionServer or not

Author: rshroff

Summary:
Whenever AppServer gets an errors(mostly RetriesExhaustedException),
they invalidate the cache for that user. The reason is that they are not
sure if the operation was performed on the RegionServer or not.

This change adds an API to tell whether any of the exception was thrown
by RegionServer or not. In case its not thrown by RegionServer, then
they will not invalidate the cache.

Test Plan:
mr
Will add a unit test to create different errors.

Reviewers: aaiyer, liyintang

Reviewed By: liyintang

CC: hbase-eng@

Differential Revision: https://phabricator.fb.com/D761556

Task ID: 2253805

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1470788 13f79535-47bb-0310-9956-ffa450edef68