Example usage for org.apache.hadoop.mapred JobConf set

List of usage examples for org.apache.hadoop.mapred JobConf set

Introduction

In this page you can find the example usage for org.apache.hadoop.mapred JobConf set.

Prototype

public void set(String name, String value) 

Source Link

Document

Set the value of the name property.

Usage

From source file:com.ibm.bi.dml.runtime.matrix.mapred.MRJobConfiguration.java

License:Open Source License

public static void setPartitioningFilename(JobConf job, String fname) {
    job.set(PARTITIONING_OUTPUT_FILENAME_CONFIG, fname);
}

From source file:com.ibm.bi.dml.runtime.matrix.mapred.MRJobConfiguration.java

License:Open Source License

public static void setResultMergeInfo(JobConf job, String fnameNew, InputInfo ii, String stagingDir, long rlen,
        long clen, int brlen, int bclen) throws DMLRuntimeException {
    job.set(RESULTMERGE_COMPARE_FILENAME_CONFIG, fnameNew);
    job.set(RESULTMERGE_INPUT_INFO_CONFIG, InputInfo.inputInfoToString(ii));
    job.set(RESULTMERGE_STAGING_DIR_CONFIG, stagingDir);
    job.set(RESULTMERGE_MATRIX_NUM_ROW_CONFIG, String.valueOf(rlen));
    job.set(RESULTMERGE_MATRIX_NUM_COLUMN_CONFIG, String.valueOf(clen));
    job.set(RESULTMERGE_BLOCK_NUM_ROW_CONFIG, String.valueOf(brlen));
    job.set(RESULTMERGE_BLOCK_NUM_COLUMN_CONFIG, String.valueOf(bclen));
}

From source file:com.ibm.bi.dml.runtime.matrix.mapred.MRJobConfiguration.java

License:Open Source License

public static void setInstructionsInMapper(JobConf job, String instructionsInMapper) {
    job.set(INSTRUCTIONS_IN_MAPPER_CONFIG, instructionsInMapper);
}

From source file:com.ibm.bi.dml.runtime.matrix.mapred.MRJobConfiguration.java

License:Open Source License

public static void setAggregateInstructions(JobConf job, String aggInstructionsInReducer) {
    job.set(AGGREGATE_INSTRUCTIONS_CONFIG, aggInstructionsInReducer);
}

From source file:com.ibm.bi.dml.runtime.matrix.mapred.MRJobConfiguration.java

License:Open Source License

public static void setReblockInstructions(JobConf job, String reblockInstructions) {
    job.set(REBLOCK_INSTRUCTIONS_CONFIG, reblockInstructions);
}

From source file:com.ibm.bi.dml.runtime.matrix.mapred.MRJobConfiguration.java

License:Open Source License

public static void setCSVReblockInstructions(JobConf job, String reblockInstructions) {
    job.set(CSV_REBLOCK_INSTRUCTIONS_CONFIG, reblockInstructions);
}

From source file:com.ibm.bi.dml.runtime.matrix.mapred.MRJobConfiguration.java

License:Open Source License

public static void setCSVWriteInstructions(JobConf job, String csvWriteInstructions) {
    job.set(CSV_WRITE_INSTRUCTIONS_CONFIG, csvWriteInstructions);
}

From source file:com.ibm.bi.dml.runtime.matrix.mapred.MRJobConfiguration.java

License:Open Source License

public static void setCombineInstructions(JobConf job, String combineInstructions) {
    job.set(COMBINE_INSTRUCTIONS_CONFIG, combineInstructions);
}

From source file:com.ibm.bi.dml.runtime.matrix.mapred.MRJobConfiguration.java

License:Open Source License

public static void setInstructionsInReducer(JobConf job, String instructionsInReducer) {
    if (instructionsInReducer != null)
        job.set(INSTRUCTIONS_IN_REDUCER_CONFIG, instructionsInReducer);
}

From source file:com.ibm.bi.dml.runtime.matrix.mapred.MRJobConfiguration.java

License:Open Source License

public static void setAggregateBinaryInstructions(JobConf job, String aggBinInstrctions) {
    job.set(AGGREGATE_BINARY_INSTRUCTIONS_CONFIG, aggBinInstrctions);
}