[HBASE-8715] Add QOS to HBase read/write requests.

Summary:
This adds the options to enable QOS for IO in HBase. Note that
the priorities I have assigned for various if from my understanding and
we should definitely discuss if those are the right priorities or not.

Test Plan:
1) Add unit tests.
2) All unit tests.

Reviewers: liyintang, aaiyer, rshroff, sdong

Reviewed By: liyintang

CC: hbase-eng@, hdfs-dev@, paultuckfield

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1496580 13f79535-47bb-0310-9956-ffa450edef68
[HBASE-8500] Add option to only drain and stop the region server

Author: rshroff

Summary:
Adds an option to only drain and stop the region server. It can be used
in scenarios where fbar would like to send the machine into repair and
we can do a gracefull shutdown.

Test Plan: Tested on TSH052-FRC3

Reviewers: aaiyer, manukranthk

Reviewed By: aaiyer

CC: hbase-eng@, arjen

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

Blame Revision: ·

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1496582 13f79535-47bb-0310-9956-ffa450edef68
[HBASE-8500] Minor change in the script to skip restart verification if we are told to just drain and stop or clear the regionserver from blacklist

Author: rshroff

Summary:
As above +
1. In case we were told to only drain and stop, then don't clear the
regionserver from the blacklist.

Test Plan: Tested on devcluster

Reviewers: manukranthk, aaiyer

Reviewed By: aaiyer

CC: hbase-eng@

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

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1496583 13f79535-47bb-0310-9956-ffa450edef68
[HBASE-8500] Fixes Minor bug in RollingRestart

Author: rshroff

Summary:
In case of drain and stop only scenario, the Utility was not stopping
the RegionChecker and hence the java process would never exit.

The fix stops the regionchecker in all the scenarios.

Test Plan: tests on dev cluster

Reviewers: manukranthk

Reviewed By: manukranthk

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

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1496584 13f79535-47bb-0310-9956-ffa450edef68
[HBASE-8775] Removed RegionManager blocking caused by sleep of ThrottledRegionReopener

Author: shaneh

Summary:
Created runable to kick off retry when wait interval
prevented ThrottledRegionReopener from making progress.

Test Plan:
Tested locally on dev machine. Also will push to tsh025
to test there.

Reviewers: liyintang, nspiegelberg, manukranthk

Reviewed By: liyintang

CC: hbase-eng@

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

Task ID: 2178363

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1496585 13f79535-47bb-0310-9956-ffa450edef68
[0.89-fb] [HBASE-8227] Add the amoutn of time spent in the rpc queue to the profiling data

Author: aaiyer

Summary:
Add the amount of time spent in the RPC queue to the profiling data, so we can
keep track of networking and queueing delays. Will be useful for understanding
the amplification in errors between hbase and appserver.

Test Plan: deploy on shadow

Reviewers: liyintang, rshroff

Reviewed By: rshroff

CC: hbase-eng@

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

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1496586 13f79535-47bb-0310-9956-ffa450edef68
[HBASE-8805] [89-fb] Making number of compaction threads and the CompactionConfiguration class online configurable

Author: gauravm

Summary: Making the number of large/small compaction threads and the properties in the CompactionConfiguration class  online-configurable. Also, a minor change, making the configuration manager object in HRegionServer public static.

Test Plan:
1. Tried changing the configs on the dev cluster
2. Unit Tests
3. mvn test -Dtest=TestRegionServerOnlineConfigChange

Also generated coverage reports for this diff using the IntelliJ coverage tool, and the included unit test covers all the new code added.

Reviewers: liyintang, rshroff, manukranthk, aaiyer, shaneh

Reviewed By: liyintang

CC: hbase-eng@

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

Task ID: 2258346

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