[HBASE-10730] Optimize Delete Column on per StoreFile basis.

Author: everyoung

Summary:
1. add deleteColumn check on KeyValueHeap.generalizedSeek level.
2. small fix on createLastOnRow.

Test Plan:
Write one new unit tests.

MR test passed.

Reviewers: aaiyer, adela

Reviewed By: aaiyer

CC: hbase-dev@, fan, arice

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

Task ID: 2672883

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1577636 13f79535-47bb-0310-9956-ffa450edef68
[private] Select the last git-svn-id if extracted multiple

Author: daviddeng

Summary: In the log, sometimes there are wrong git-svn-id, but the last one is always correct. Choose it.

Test Plan:
`mvn -DskipTests package`
`cat target/generated-sources/org/apache/hadoop/hbase/package-info.java`

Reviewers: liyintang, rshroff, manukranthk

Reviewed By: liyintang

CC: hbase-eng@, aleksandr

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

Task ID: 3896981

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1577637 13f79535-47bb-0310-9956-ffa450edef68
[master] Stabliize async client with trunk

Author: fan

Summary:
Original diff: https://phabricator.fb.com/D1192422

1. Make async APIs work with header protocol feature.
2. Remove switch of connection pooling because we probably don't need to disable it in the future.
3. Tweaks to avoid creating unnecessary connections. Skipping connection refreshment is only applied to async part. Will carefully review and fix bad logic in sync part in the future.
4. Fix thread leaking problem in HTableAsync.

Other things to mention:
Async client in HTable is disabled by default in this diff for perf testing of sync client.
Pool exhausted exception is also eliminated on osh7.

Test Plan:
TestSimpleOperations, TestHeaderSendReceive
Async client runs stably on osh7 for more than 3 days

Reviewers: adela, daviddeng, gauravm, manukranthk

Reviewed By: manukranthk

CC: hbase-dev@

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

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1577638 13f79535-47bb-0310-9956-ffa450edef68
[HBASE-7099][89-fb] Debugging why compaction hook is not populating kvsConverted, but populates bytesSaved

Author: adela

Summary: added some more logging and change differenceInBytes method

Test Plan: ran TestLowerToUpperCompactionHook

Reviewers: gauravm, manukranthk, aaiyer

Reviewed By: gauravm

CC: hbase-eng@

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

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1577639 13f79535-47bb-0310-9956-ffa450edef68
[HBASE-9930] Fixing conf dependencies of ClientSideScan and fixing TestClientLocalScanner unit tests.

Author: manukranthk

Summary:
This diff achieves to do the following :
* Fix TestClientLocalScanner
* Remove conf dependencies from ClientLocalScanner

Test Plan: Run TestClientLocalScanner

Reviewers: gauravm, fan

Reviewed By: gauravm

CC: hbase-eng@

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

Task ID: 3667016, 3274463

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1577640 13f79535-47bb-0310-9956-ffa450edef68
[HBASE-10393] Totally fix the CompactUtility

Author: rshroff

Summary:
The input for the list of compacted files given to the utility was
not given in a correct format. Adding 'f' option for the list of
coma separated files.

Test Plan: ran on titanshadow054-frc3

Reviewers: aaiyer, adela, manukranthk, liyintang

Reviewed By: manukranthk

CC: hbase-eng@, aleksandr, liyintang, gauravm

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

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1577641 13f79535-47bb-0310-9956-ffa450edef68
[private] Optimize head/tail/padHead/appendToTail in Bytes, add testcases

Author: daviddeng

Summary:
Reduce the number of allocation of array when possible
Add testcases

Test Plan: `TestBytes`

Reviewers: liyintang, manukranthk, fan

Reviewed By: manukranthk

CC: hbase-eng@, andrewcox, gauravm

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

Task ID: 3839997

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1577642 13f79535-47bb-0310-9956-ffa450edef68
[private] Tag some unstable cases

Author: daviddeng

Summary: According to http://ci-builds.fb.com/job/hadoop_cheetah_hbase_trunk/1444/

Test Plan: Jekkins

Reviewers: gauravm, manukranthk, liyintang, fan, aaiyer

Reviewed By: liyintang

CC: hbase-eng@

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

Task ID: 3789093

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