[master]Fix HFileOutputFormat writer access permission

Author: fan

Summary: Fix writer access permission

Test Plan: Unit test passes

Reviewers: liyintang

Reviewed By: liyintang

CC: hbase-eng@

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

Task ID: 2633302

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1510048 13f79535-47bb-0310-9956-ffa450edef68
[master] Fix fsimage locking issue for the unit tests

Author: liyintang

Summary:
There are multiple unit test failures caused by the FSImage file locked up by previous unclean shutdown. The current solution is to set different FSImage/FSEdit directory for each unit tests. And also make sure the MiniDFSCluster can be shutdown cleanly.

In the meanwhile, try to fix other issues for TestStoreFile as well as TestRegionPlacement

Test Plan: run all the unit tests through the jenkins

Reviewers: manukranthk

Reviewed By: manukranthk

CC: hbase-eng@

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

Task ID: 2688608

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.89-fb@1510049 13f79535-47bb-0310-9956-ffa450edef68
[master] Deprecate mapred package in order to promote the mapreduce package

Author: liyintang

Summary: Currently, there are 2 map reduce related packages in HBase code base due to some historical reasons. In order to avoid the confusion, we need to deprecate the mapred package and delete them eventually in the long term.

Test Plan: mvn test

Reviewers: manukranthk

Reviewed By: manukranthk

CC: hbase-eng@

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

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