我想安排由Oozie.H我面臨以下問題的Hbase Map-Reduce作業。如何安排Hbase Map-oozie減少工作?
How/Where to specify these properties in oozie workflow ?
( i> Table name for Mapper/Reducer
ii> scan object for Mapper )
Scan scan = new Scan(new Get());
scan.setMaxVersions();
scan.addColumn(Bytes.toBytes(FAMILY),
Bytes.toBytes(VALUE));
scan.addColumn(Bytes.toBytes(FAMILY),
Bytes.toBytes(DATE));
Job job = new Job(conf, JOB_NAME + "_" + TABLE_USER);
// These two properties :-
TableMapReduceUtil.initTableMapperJob(TABLE_USER, scan,
Mapper.class, Text.class, Text.class, job);
TableMapReduceUtil.initTableReducerJob(DETAILS_TABLE,
Reducer.class, job);
或
please let me know the best way to schedule a Hbase Map-Reduce Job by Oozie .
謝謝:) :)(據我)安排一個HBase的Map_Reduce工作
喜@ 100gods,你會給一個樣本?我試圖運行一個mapreduce來從base導出數據作爲oozie中的java動作,但失敗了。我現在很困惑。 – BigPotato