org.apache.hadoop.mapred.lib.MultipleOutputs.close()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(2.8k)|赞(0)|评价(0)|浏览(130)

本文整理了Java中org.apache.hadoop.mapred.lib.MultipleOutputs.close()方法的一些代码示例,展示了MultipleOutputs.close()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。MultipleOutputs.close()方法的具体详情如下:
包路径:org.apache.hadoop.mapred.lib.MultipleOutputs
类名称:MultipleOutputs
方法名:close

MultipleOutputs.close介绍

[英]Closes all the opened named outputs.

If overriden subclasses must invoke super.close() at the end of their close()
[中]关闭所有打开的命名输出。
如果被重写,子类必须在其close()末尾调用super.close()

代码示例

代码示例来源:origin: apache/mahout

@Override
 public void close() throws IOException {
  if (mo != null) {
   mo.close();
  }
 }
}

代码示例来源:origin: org.apache.mahout/mahout-core

@Override
 public void close() throws IOException {
  outputs.close();
 }
});

代码示例来源:origin: org.apache.mahout/mahout-core

@Override
 public void close() throws IOException {
  if (mo != null) {
   mo.close();
  }
 }
}

代码示例来源:origin: org.apache.mahout/mahout-mr

@Override
 public void close() throws IOException {
  outputs.close();
 }
});

代码示例来源:origin: org.apache.mahout/mahout-mrlegacy

@Override
 public void close() throws IOException {
  if (mo != null) {
   mo.close();
  }
 }
}

代码示例来源:origin: org.apache.mahout/mahout-mrlegacy

@Override
 public void close() throws IOException {
  outputs.close();
 }
});

代码示例来源:origin: org.apache.mahout/mahout-core

@Override
 public void close() throws IOException {
  outputs.close();
 }
});

代码示例来源:origin: org.apache.mahout/mahout-hdfs

@Override
 public void close() throws IOException {
  if (mo != null) {
   mo.close();
  }
 }
}

代码示例来源:origin: lintool/Mr.LDA

public void close() throws IOException {
  // analyzer.close();
  multipleOutputs.close();
 }
}

代码示例来源:origin: org.apache.hadoop/hadoop-mapred-test

public void close() throws IOException {
  mos.close();
 }
}

代码示例来源:origin: lintool/Mr.LDA

public void close() throws IOException {
  multipleOutputs.close();
 }
}

代码示例来源:origin: org.apache.mahout/mahout-mrlegacy

@Override
 public void close() throws IOException {
  outputs.close();
 }
});

代码示例来源:origin: org.apache.mahout/mahout-mr

@Override
 public void close() throws IOException {
  outputs.close();
 }
});

代码示例来源:origin: ukwa/webarchive-discovery

@Override
public void close() throws IOException {
  super.close();
  mos.close();
}

代码示例来源:origin: ch.cern.hadoop/hadoop-mapreduce-client-jobclient

public void close() throws IOException {
  mos.close();
 }
}

代码示例来源:origin: ch.cern.hadoop/hadoop-mapreduce-client-jobclient

public void close() throws IOException {
  mos.close();
 }
}

代码示例来源:origin: ch.cern.hadoop/hadoop-mapreduce-client-jobclient

public void close() throws IOException {
  mos.close();
 }
}

代码示例来源:origin: uk.bl.wa.discovery/warc-hadoop-recordreaders

@Override
public void close() throws IOException {
  super.close();
  mos.close();
}

代码示例来源:origin: uk.bl.wa.discovery/warc-hadoop-recordreaders

@Override
public void close() throws IOException {
  super.close();
  mos.close();
}

代码示例来源:origin: lintool/Mr.LDA

public void close() throws IOException {
  if (!outputValue.isEmpty()) {
   outputKey.set(topicIndex, (float) Gamma.digamma(Math.exp(normalizeFactor)));
   outputBeta.collect(outputKey, outputValue);
  }

  multipleOutputs.close();
 }
}

相关文章