[HBASE-10986] Add Test timeouts to all hanging JUnit tests

Author: elliott

Summary: Some tests are hanging on Jenkins.  Add timeouts to all the junit4 tests.

Test Plan: mvn test

Reviewers: liyintang, daviddeng

Reviewed By: daviddeng

CC: hbase-eng@

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

Task ID: 4142789

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1588117 13f79535-47bb-0310-9956-ffa450edef68
[master] Support arbitrary parameters and return value in endpoint.

Author: daviddeng

Summary: Implements `EndpointBytesCodec` converting between primitive types and `byte arrays.

Test Plan:
`TestEndpoint` was changed.
`TestEndpointBytesCodec` was added.

Reviewers: adela, gauravm, manukranthk

Reviewed By: adela

CC: hbase-eng@, andrewcox

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

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1588118 13f79535-47bb-0310-9956-ffa450edef68
[HBASE-9930] Fix new HDFS dependencies

Author: manukranthk

Summary: On pulling the new HDFS dependencies, the trunk cannot be built. This diff is to fix it.

Test Plan: mvn -Dskiptests package

Reviewers: daviddeng, pritam, dikang, weiyan, hkuang, tomasz

Reviewed By: daviddeng

CC: hbase-eng@, andrewcox, jiqingt, elliott, gauravm

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

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1588119 13f79535-47bb-0310-9956-ffa450edef68
[HBASE-9704] Tag TestClientLocalScanner#testLocalScannerWithHardlinks as unstable.

Author: manukranthk

Summary: Follow up task : 3864238

Test Plan: Tagging ustable

Reviewers: daviddeng

Reviewed By: daviddeng

CC: hbase-eng@

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

Task ID: 3864238

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1588120 13f79535-47bb-0310-9956-ffa450edef68
[master] Pinned table tests for RegionPlacement

Author: elliott

Summary: Add test to make sure tables stay pinned after creation.

Test Plan: bin/test/loop_tests.sh -n 3 -t TestRegionPlacement

Reviewers: adela, daviddeng

Reviewed By: adela

CC: hbase-eng@

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

Task ID: 4114856

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