[HBASE-6368] Remove use of deprecated guava functions

Author: amirshim

Summary:
It would be nice to be able to use Guava version 14, for some of the new classes, e.g. Range classes.  So first we need to make sure we don't use any of the deprecated functions.

Test Plan: Compile and run tests.

Reviewers: nspiegelberg

Reviewed By: nspiegelberg

CC: HBase Eng@

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

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1432706 13f79535-47bb-0310-9956-ffa450edef68
[HBASE-7514] Fix the TestLogSplitOnMasterFailover.testWithDistributedLogSplittingAndErrors

Author: manukranthk

Summary: The Test is polling for the .META. table and failing after a certain number of retries with a PreemptiveFastFailException. Catching that exception in the Test since it only knows about RetriesExhaustedException and catches that.

Test Plan: Ensuring that the Unit Tests pass consistently.

Reviewers: liyintang, aaiyer

Reviewed By: aaiyer

CC: hbase-eng@

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

Task ID: 1997870

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