[jira] [HBASE-6360] [89-fb] Make thrift proxy stats visible in jconsole.

Author: michalgr

Summary: Make thrift proxy stats visible in jconsole.

Test Plan: Checked if stats are visible in jconsole and cmdline-jmxclient.

Reviewers: kranganathan

Reviewed By: kranganathan

Differential Revision: https://reviews.facebook.net/D4065

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1360997 13f79535-47bb-0310-9956-ffa450edef68
[master] [hotfix] Moving the Snappy compression codec to the end of the list because we use enum ordinals in our persistent format

Author: mbautin

Summary: The Snappy change broke compatibility with the existing data because it added the Snappy codec in the middle of the enum, and we use ordinal numbers of the compression algorithm enum to store the compression algorithm in the HFile trailer.

Test Plan:
Unit tests
Push to dark launch

Reviewers: pkhemani, feifei, liyintang

Reviewed By: liyintang

CC: hbase-eng@

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

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1360998 13f79535-47bb-0310-9956-ffa450edef68
[HBASE-6374] [0.89-fb] Pulling in the multi- framework from 0.92 to integrate the way we handle Puts/Gets and Deletes.

Author: aaiyer

Summary:
Currently, multi Puts are handled more efficiently than Gets or Deletes.

Multi-Get/Put(s) are split by region/regionserver and the requests are made
in batches. For multi-Puts these requests were being made in parallel, while
it was serial for Gets and deletes. This was causing Gets to be slow;
especially, when there is one slow region/regionserver that slows everything.

Instead of plainly copying the code from the puts to gets (which was version
    0), we are integrating the codepath for gets/puts and deletes. This is the
way things work in 0.92 so pulling in stuff from 0.92 instead of
reimplementing the stuff. (This will also decrease the differences wrt the
    opensourcing, making a possible move in future more easier).

Note: We are pulling in stuff from 0.92 as opposed to 0.94/trunk because they
have moved to protocolBuffers and pulling that in will be too risky/big
change.

TBDs: 1) deprecate old multi put/delete/get API in HRegionServer. We will need
them around as long as we intend to support old clients that still need the
functionality.

2) integrate mutateRows also into the multi-framework. This is not blocking on
anything. But not as hi pri to block the diff. Will do this, as a later diff.

Test Plan:
test on MR unit test. (these seem to test the end to end
    functionality of multi gets/puts)

TestRegionStateOnMasterFailure is the only test that fails. It fails even without this change.

Reviewers: liyintang, kranganathan, kannan, pkhemani

Reviewed By: liyintang

CC: hbase-eng@

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

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1360999 13f79535-47bb-0310-9956-ffa450edef68
[jira] [HBASE-6366] [89-fb] Delay eviction on close

Author: michalgr

Summary:
Delay eviction on close.

Since now evictBlocksByHfileName does not evict blocks immediately. It adds name of the file to list of recently closed files. During next eviction blocks corresponding to files on list are evicted and the list is cleared.

Test Plan: I prepared unit test. It runs ok.

Reviewers: liyintang, kranganathan

Reviewed By: liyintang

CC: JIRA

Differential Revision: https://reviews.facebook.net/D4071

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1361000 13f79535-47bb-0310-9956-ffa450edef68
[master] Remove references to InterfaceAudience/InterfaceStability from HBase

Author: mbautin

Summary: Removing references to Interface{Audience,Stability} because that prevents HBase from compiling with certain versions of Hadoop.

Test Plan: Rebuild HBase from the external branch (hbase-89-fb-apache)

Reviewers: pritam, kranganathan

CC: hbase-eng@

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

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