[HBASE-8307] Fix a bug in Histogram class.

Author: manukranthk

Summary: There was a bug in histogram class which causes huge spikes in the graph if it hits a particular case.

Test Plan: Added a unit test which fails before the test.

Reviewers: adela, aaiyer

Reviewed By: adela

CC: hbase-eng@

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

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1511059 13f79535-47bb-0310-9956-ffa450edef68
[Master] Fix more unit tests failures caused by wrong FS

Author: liyintang

Summary:
Several unit tests are failed in the Jenkins due to the wrong fs setting.

==============
Error Message

Wrong FS: hdfs://localhost.localdomain:39190/user/svcscm, expected: file:///

http://ci-builds.fb.com/job/hadoop_baboon_hbase_trunk/776/testReport/junit/org.apache.hadoop.hbase.regionserver.wal/TestLogRolling/testLogRollOnDatanodeDeath/

Test Plan: running all the unit test

Reviewers: manukranthk, rshroff

Reviewed By: manukranthk

CC: hbase-eng@

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

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1511060 13f79535-47bb-0310-9956-ffa450edef68
[HBASE-8500] Adding success message to Rolling Restart script and bailing out in case region movement fails

Author: rshroff

Summary:
It will better to dump out a success message when the rolling restart
for a node succeeds.

Also, it fixes the case when the move of a region fails.

Test Plan:
tested it on TSH025, killed a region server while it was
moving
and also checked the log message on a successful rolling restart

Reviewers: aaiyer, kknapp

Reviewed By: kknapp

CC: hbase-eng@

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

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1511061 13f79535-47bb-0310-9956-ffa450edef68
[master] Fix the TestCompaction

Author: liyintang

Summary:  Fix the TestCompaction

Test Plan: mvn test -Dtest=TestCompaction

Reviewers: manukranthk

Reviewed By: manukranthk

CC: hbase-eng@

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

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