code: @SuppressWarnings("unchecked")
  	public <K, V> void write(String namedOutput, K key, V value, String baseOutputPath)
  	    throws IOException, InterruptedException {
  		checkNamedOutputName(context, namedOutput, false);
  		checkBaseOutputPath(baseOutputPath);
  		if(!namedOutputs.contains(namedOutput)) {
  			throw new IllegalArgumentException("Undefined named output '" + namedOutput + "'");
  		}
  		getRecordWriter(baseOutputPath).write(key, value);
  	}
docs: Write key and value to baseOutputPath using the namedOutput.
  
  @param namedOutput
  the named output name
  @param key
  the key
  @param value
  the value
  @param baseOutputPath
  base-output path to write the record to. Note: Framework will generate unique filename for the
  baseOutputPath