[HBASE-9930] Merge the Swift branch with Trunk

Summary: This revision merges the Swift branch with Trunk.

Test Plan: MR Unit Tests

Reviewers: manukranthk, adela, fan, daviddeng, liyintang, aaiyer, rshroff

Reviewed By: fan

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1576878 13f79535-47bb-0310-9956-ffa450edef68
[HBASE-10393] Fix the offline compaction utility

Author: rshroff

Summary:
Fixing the offline compaction utility to take in the region name
to identify the region.

Test Plan: mr unit Tests

Reviewers: manukranthk, aaiyer, liyintang

Reviewed By: manukranthk

CC: hbase-dev@

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

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1576879 13f79535-47bb-0310-9956-ffa450edef68
[HBASE-9930] Remove validateResult function which converts the SENTINEL_RESULT…
Summary: This diff removes the validateResult() function which converts the SENTINEL_RESULT back to null in the get call also. This is not supposed to be done because the SENTINEL_RESULT.isEmpty() is true which is in coherence with the semantics of get.

Test Plan: Run TestFromClientSide

Reviewers: fan, adela, gauravm, daviddeng

Reviewed By: gauravm

CC: hbase-eng@

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1576884 13f79535-47bb-0310-9956-ffa450edef68
[HBASE-9930] Fix NPE in processListOfPuts.

Author: manukranthk

Summary: We were returning null in one of the locations when we failed to get a client object. We should be instead throwing an IOException in that case.

Test Plan: Run TestMultiParllelPut

Reviewers: gauravm, fan

Reviewed By: gauravm

CC: hbase-eng@

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

Task ID: 3864263

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1576885 13f79535-47bb-0310-9956-ffa450edef68
[HBASE-7099][89-fb] Change compaction hook impl in online config fashion

Author: adela

Test Plan: unit test in TestStore

Reviewers: gauravm

Reviewed By: gauravm

CC: hbase-eng@

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

Task ID: 3818917

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1576886 13f79535-47bb-0310-9956-ffa450edef68
[master] Restore sleep time in TestHLog.testAppendClose

Author: fan

Summary: The value was changed by the merge.

Test Plan: TestHLog passes.

Reviewers: adela, daviddeng, gauravm, manukranthk

Reviewed By: gauravm

CC: hbase-dev@

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

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1576887 13f79535-47bb-0310-9956-ffa450edef68
[HBASE-9930] Scan constuctor was incorrectly merged while swift merge

Author: manukranthk

Summary: Scan constructor missed preloadBlocks during the swift merge.

Test Plan: run TestFromClientSide4

Reviewers: gauravm

Reviewed By: gauravm

CC: hbase-eng@

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

Task ID: 3873538

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