add hbase-site.xml.single-node.template

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1483516 13f79535-47bb-0310-9956-ffa450edef68
[HBASE-8515] Fixing the AvatarNode port in the single node template

Author: gauravm

Summary: The AvatarNode port is wrong in the single node template. This causes the HMaster to throw an exception when used in the single node mode.

Test Plan: The HMaster started up successfully when started in a single node mode.

Reviewers: liyintang, aaiyer, rshroff, adela, shaneh, manukranthk

Reviewed By: adela

CC: hbase-eng@, pritam

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

Task ID: 2376681

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1483518 13f79535-47bb-0310-9956-ffa450edef68
[HBASE-8114][89-fb] Adding time spent before RPC interrupted logging

Author: adela

Summary:
When the client closes the connection, we stop the execution of
the get RPC. We should also print how much time we spent executing
before we interrupted.

Test Plan: push on one machine on tsh25

Reviewers: liyintang, rshroff, manukranthk

Reviewed By: rshroff

CC: hbase-eng@

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

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1483519 13f79535-47bb-0310-9956-ffa450edef68
[HBASE-8524] [0.89-fb] Fix indefinite wait() in HBaseClient

Author: aaiyer

Summary:
HBaseClient threads wait() indefinitely on the Connection to get
a response from the server. However, if the server does not respond
(for whatever reasons) the client could be waiting forever.

Moreover, it will be difficult to guarantee rpcTimeout settings if
we wait forever.

Changing the indefinite wait to a loop of timed waits; Bailing out
if we wait for longer than the rpcTimeout.

Test Plan:
mvn tests
TBD:
try to get this on ods and re-pro with TF

Reviewers: liyintang, rshroff, shaneh

Reviewed By: liyintang

CC: hbase-eng@, mbm, mycnyc

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

Task ID: 2362485

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1483520 13f79535-47bb-0310-9956-ffa450edef68
[HBASE-8500] Minor Changes in RollingRestart + a basic wrapper around the utility

Author: rshroff

Summary:
Made small changes in RollingRestart class to be able to remotely
restart a region server.

The change also adds a very basic wrapper(groovy script) around the RollingRestart utility
to perform the RR for all/selected region servers in the cluster.

Test Plan: tested it multiple times on TSH025

Reviewers: aaiyer, liyintang, paultuckfield

Reviewed By: aaiyer

CC: hbase-eng@

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

Task ID: 2229110

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1483521 13f79535-47bb-0310-9956-ffa450edef68
[HBASE-8185] Adding ClientLocalScanner which opens the RegionScanner and reads data from HFiles directly from the client.

Author: manukranthk

Summary:
This diff adds ReadOnlyStore and ClientLocalScanner to do Client side scanning.
ReadOnlyStore : Provides a read only abstraction over Store.
ClientLocalScanner : Provides a ResultScanner which opens ReadOnlyStores and reads data from HFiles directly from the client side using the RegionScanner interface. The code tries to bypass the HRegionServer and provide a way to read using the RegionScanner.

Test Plan: Unit Testing.

Reviewers: liyintang, rshroff, aaiyer, adela, shaneh

Reviewed By: liyintang

CC: hbase-eng@

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

Task ID: 2103689

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1483523 13f79535-47bb-0310-9956-ffa450edef68
[HBASE-8083] Fixes TestHCM

Author: rshroff

Summary:
One of the test cases testRemoteServerFailure, changed the HRegion class
used to perform the operations. The test did not reset the class back to
original one after completion. This would cause errors to any other
tests executing after this test case.

Changed it to reset the class to the original one on completion. Also,
changed the order to ensure that there are test cases which run after
this test case to check whether its works or not.

Test Plan: mr

Reviewers: liyintang, manukranthk

Reviewed By: liyintang

CC: hbase-eng@

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

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1483524 13f79535-47bb-0310-9956-ffa450edef68
[HBASE-8515] Reverting r34792 so as to get the correct file path

Author: gauravm

Summary: Revision r34792 had a change relative to VENDOR.hbase/hbase-trunk. Going to revert it and get a new revision, since the change broke the syncing with the apache branch.

Test Plan: Tested on my dev server.

Reviewers: liyintang

Reviewed By: liyintang

CC: hbase-eng@

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1483526 13f79535-47bb-0310-9956-ffa450edef68
[HBASE-8544] Added a utility to reload configurations in Region Server

Author: gauravm

Summary: Created a utility to tell the Region Server to reload its configurations from disk. We need to fill in what happens when HRegion::updateConfiguration() and Store::updateConfiguration() are called. Currently it just updates the Configuration object, but we might be interested in updating certain other objects as well.

Test Plan: Unit tests

Reviewers: liyintang, aaiyer, rshroff, manukranthk

Reviewed By: rshroff

CC: hbase-eng@

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

Task ID: 2258346

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