[HBASE-9896] Fix the end row bug in the TableInputFormatBase

Author: rshroff

Summary:
In case the the endrow is not specified, the end row is taken from the
HexSplit Class, which defaults it to 'ffffffff'. This will exclude all
the rows starting with ffffffff and after. The fix honors the endrow
from the config instead of using the one from the HexSplit Class.

Test Plan: MR unit tests, and custom job

Reviewers: manukranthk, liyintang

Reviewed By: manukranthk

CC: hbase-dev@, syyang, chaoyc

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

Task ID: 3599597

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1568490 13f79535-47bb-0310-9956-ffa450edef68
[HBASE-9896] Adding functionality to take filter string and also be able to read from snapshot.

Author: manukranthk

Summary: This diff adds the functionality to provide the filter string and snapshot to TableMapReduceUtils.

Test Plan: Run Unit tests and visually verify the logs.

Reviewers: gauravm, liyintang, rshroff

Reviewed By: rshroff

CC: hbase-eng@

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

Task ID: 3686455

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1568491 13f79535-47bb-0310-9956-ffa450edef68
[HBASE-10538] Rewrite code related to GetScan

Author: daviddeng

Summary:
Instead of setting stopRow equals to startRow, stopRow is set to the
next value greater than startRow, i.e. with an extra trailing ZERO.

Test Plan: TestScanner

Reviewers: liyintang, manukranthk, gauravm, fan

Reviewed By: liyintang

CC: hbase-eng@

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

Task ID: 3732722

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