HBASE-11049 HBase WALPlayer needs to add credentials to job to play to table (Jerry He)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1589886 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew Kyle Purtell 2014-04-24 21:32:12 +00:00
parent dcd070dc0e
commit 1021af6aef
1 changed files with 1 additions and 0 deletions

View File

@ -256,6 +256,7 @@ public class WALPlayer extends Configured implements Tool {
job.setMapperClass(HLogMapper.class);
job.setOutputFormatClass(MultiTableOutputFormat.class);
TableMapReduceUtil.addDependencyJars(job);
TableMapReduceUtil.initCredentials(job);
// No reducers.
job.setNumReduceTasks(0);
}