blob: 5c7a22ad9408e003dd4df0cf38f72bbd35b0c902 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_201) on Thu Apr 11 20:05:12 EDT 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>AccumuloOutputFormat (Apache Accumulo Project 1.9.3 API)</title>
<meta name="date" content="2019-04-11">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AccumuloOutputFormat (Apache Accumulo Project 1.9.3 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":9,"i1":10,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":10,"i9":9,"i10":41,"i11":41,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":41,"i20":9,"i21":9,"i22":41};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/AccumuloOutputFormat.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloMultiTableInputFormat.html" title="class in org.apache.accumulo.core.client.mapred"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.AccumuloRecordWriter.html" title="class in org.apache.accumulo.core.client.mapred"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html" target="_top">Frames</a></li>
<li><a href="AccumuloOutputFormat.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.accumulo.core.client.mapred</div>
<h2 title="Class AccumuloOutputFormat" class="title">Class AccumuloOutputFormat</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.accumulo.core.client.mapred.AccumuloOutputFormat</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>org.apache.hadoop.mapred.OutputFormat&lt;org.apache.hadoop.io.Text,<a href="../../../../../../org/apache/accumulo/core/data/Mutation.html" title="class in org.apache.accumulo.core.data">Mutation</a>&gt;</dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">AccumuloOutputFormat</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
implements org.apache.hadoop.mapred.OutputFormat&lt;org.apache.hadoop.io.Text,<a href="../../../../../../org/apache/accumulo/core/data/Mutation.html" title="class in org.apache.accumulo.core.data">Mutation</a>&gt;</pre>
<div class="block">This class allows MapReduce jobs to use Accumulo as the sink for data. This <code>OutputFormat</code>
accepts keys and values of type <code>Text</code> (for a table name) and <a href="../../../../../../org/apache/accumulo/core/data/Mutation.html" title="class in org.apache.accumulo.core.data"><code>Mutation</code></a> from the Map
and Reduce functions.
The user must specify the following via static configurator methods:
<ul>
<li><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setConnectorInfo-org.apache.hadoop.mapred.JobConf-java.lang.String-org.apache.accumulo.core.client.security.tokens.AuthenticationToken-"><code>setConnectorInfo(JobConf, String, AuthenticationToken)</code></a>
<li><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setConnectorInfo-org.apache.hadoop.mapred.JobConf-java.lang.String-java.lang.String-"><code>setConnectorInfo(JobConf, String, String)</code></a>
<li><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setZooKeeperInstance-org.apache.hadoop.mapred.JobConf-org.apache.accumulo.core.client.ClientConfiguration-"><code>setZooKeeperInstance(JobConf, ClientConfiguration)</code></a>
</ul>
Other static methods are optional.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.AccumuloRecordWriter.html" title="class in org.apache.accumulo.core.client.mapred">AccumuloOutputFormat.AccumuloRecordWriter</a></span></code>
<div class="block">A base class to be used to create <code>RecordWriter</code> instances that write to Accumulo.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static org.apache.log4j.Logger</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#log">log</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#AccumuloOutputFormat--">AccumuloOutputFormat</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#canCreateTables-org.apache.hadoop.mapred.JobConf-">canCreateTables</a></span>(org.apache.hadoop.mapred.JobConf&nbsp;job)</code>
<div class="block">Determines whether tables are permitted to be created as needed.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#checkOutputSpecs-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.mapred.JobConf-">checkOutputSpecs</a></span>(org.apache.hadoop.fs.FileSystem&nbsp;ignored,
org.apache.hadoop.mapred.JobConf&nbsp;job)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>protected static <a href="../../../../../../org/apache/accumulo/core/client/security/tokens/AuthenticationToken.html" title="interface in org.apache.accumulo.core.client.security.tokens">AuthenticationToken</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#getAuthenticationToken-org.apache.hadoop.mapred.JobConf-">getAuthenticationToken</a></span>(org.apache.hadoop.mapred.JobConf&nbsp;job)</code>
<div class="block">Gets the authenticated token from either the specified token file or directly from the
configuration, whichever was used when the job was configured.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>protected static <a href="../../../../../../org/apache/accumulo/core/client/BatchWriterConfig.html" title="class in org.apache.accumulo.core.client">BatchWriterConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#getBatchWriterOptions-org.apache.hadoop.mapred.JobConf-">getBatchWriterOptions</a></span>(org.apache.hadoop.mapred.JobConf&nbsp;job)</code>
<div class="block">Gets the <a href="../../../../../../org/apache/accumulo/core/client/BatchWriterConfig.html" title="class in org.apache.accumulo.core.client"><code>BatchWriterConfig</code></a> settings.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>protected static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#getDefaultTableName-org.apache.hadoop.mapred.JobConf-">getDefaultTableName</a></span>(org.apache.hadoop.mapred.JobConf&nbsp;job)</code>
<div class="block">Gets the default table name from the configuration.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>protected static <a href="../../../../../../org/apache/accumulo/core/client/Instance.html" title="interface in org.apache.accumulo.core.client">Instance</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#getInstance-org.apache.hadoop.mapred.JobConf-">getInstance</a></span>(org.apache.hadoop.mapred.JobConf&nbsp;job)</code>
<div class="block">Initializes an Accumulo <a href="../../../../../../org/apache/accumulo/core/client/Instance.html" title="interface in org.apache.accumulo.core.client"><code>Instance</code></a> based on the configuration.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>protected static org.apache.log4j.Level</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#getLogLevel-org.apache.hadoop.mapred.JobConf-">getLogLevel</a></span>(org.apache.hadoop.mapred.JobConf&nbsp;job)</code>
<div class="block">Gets the log level from this configuration.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>protected static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#getPrincipal-org.apache.hadoop.mapred.JobConf-">getPrincipal</a></span>(org.apache.hadoop.mapred.JobConf&nbsp;job)</code>
<div class="block">Gets the principal from the configuration.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>org.apache.hadoop.mapred.RecordWriter&lt;org.apache.hadoop.io.Text,<a href="../../../../../../org/apache/accumulo/core/data/Mutation.html" title="class in org.apache.accumulo.core.data">Mutation</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#getRecordWriter-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.mapred.JobConf-java.lang.String-org.apache.hadoop.util.Progressable-">getRecordWriter</a></span>(org.apache.hadoop.fs.FileSystem&nbsp;ignored,
org.apache.hadoop.mapred.JobConf&nbsp;job,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
org.apache.hadoop.util.Progressable&nbsp;progress)</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>protected static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#getSimulationMode-org.apache.hadoop.mapred.JobConf-">getSimulationMode</a></span>(org.apache.hadoop.mapred.JobConf&nbsp;job)</code>
<div class="block">Determines whether this feature is enabled.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>protected static byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#getToken-org.apache.hadoop.mapred.JobConf-">getToken</a></span>(org.apache.hadoop.mapred.JobConf&nbsp;job)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">since 1.6.0; Use <a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#getAuthenticationToken-org.apache.hadoop.mapred.JobConf-"><code>getAuthenticationToken(JobConf)</code></a> instead.</span></div>
</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>protected static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#getTokenClass-org.apache.hadoop.mapred.JobConf-">getTokenClass</a></span>(org.apache.hadoop.mapred.JobConf&nbsp;job)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">since 1.6.0; Use <a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#getAuthenticationToken-org.apache.hadoop.mapred.JobConf-"><code>getAuthenticationToken(JobConf)</code></a> instead.</span></div>
</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>protected static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#isConnectorInfoSet-org.apache.hadoop.mapred.JobConf-">isConnectorInfoSet</a></span>(org.apache.hadoop.mapred.JobConf&nbsp;job)</code>
<div class="block">Determines if the connector has been configured.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setBatchWriterOptions-org.apache.hadoop.mapred.JobConf-org.apache.accumulo.core.client.BatchWriterConfig-">setBatchWriterOptions</a></span>(org.apache.hadoop.mapred.JobConf&nbsp;job,
<a href="../../../../../../org/apache/accumulo/core/client/BatchWriterConfig.html" title="class in org.apache.accumulo.core.client">BatchWriterConfig</a>&nbsp;bwConfig)</code>
<div class="block">Sets the configuration for for the job's <a href="../../../../../../org/apache/accumulo/core/client/BatchWriter.html" title="interface in org.apache.accumulo.core.client"><code>BatchWriter</code></a> instances.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setConnectorInfo-org.apache.hadoop.mapred.JobConf-java.lang.String-org.apache.accumulo.core.client.security.tokens.AuthenticationToken-">setConnectorInfo</a></span>(org.apache.hadoop.mapred.JobConf&nbsp;job,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;principal,
<a href="../../../../../../org/apache/accumulo/core/client/security/tokens/AuthenticationToken.html" title="interface in org.apache.accumulo.core.client.security.tokens">AuthenticationToken</a>&nbsp;token)</code>
<div class="block">Sets the connector information needed to communicate with Accumulo in this job.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setConnectorInfo-org.apache.hadoop.mapred.JobConf-java.lang.String-java.lang.String-">setConnectorInfo</a></span>(org.apache.hadoop.mapred.JobConf&nbsp;job,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;principal,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tokenFile)</code>
<div class="block">Sets the connector information needed to communicate with Accumulo in this job.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setCreateTables-org.apache.hadoop.mapred.JobConf-boolean-">setCreateTables</a></span>(org.apache.hadoop.mapred.JobConf&nbsp;job,
boolean&nbsp;enableFeature)</code>
<div class="block">Sets the directive to create new tables, as necessary.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setDefaultTableName-org.apache.hadoop.mapred.JobConf-java.lang.String-">setDefaultTableName</a></span>(org.apache.hadoop.mapred.JobConf&nbsp;job,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName)</code>
<div class="block">Sets the default table name to use if one emits a null in place of a table name for a given
mutation.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setLogLevel-org.apache.hadoop.mapred.JobConf-org.apache.log4j.Level-">setLogLevel</a></span>(org.apache.hadoop.mapred.JobConf&nbsp;job,
org.apache.log4j.Level&nbsp;level)</code>
<div class="block">Sets the log level for this job.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setMockInstance-org.apache.hadoop.mapred.JobConf-java.lang.String-">setMockInstance</a></span>(org.apache.hadoop.mapred.JobConf&nbsp;job,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;instanceName)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">since 1.8.0; use MiniAccumuloCluster or a standard mock framework</span></div>
</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setSimulationMode-org.apache.hadoop.mapred.JobConf-boolean-">setSimulationMode</a></span>(org.apache.hadoop.mapred.JobConf&nbsp;job,
boolean&nbsp;enableFeature)</code>
<div class="block">Sets the directive to use simulation mode for this job.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setZooKeeperInstance-org.apache.hadoop.mapred.JobConf-org.apache.accumulo.core.client.ClientConfiguration-">setZooKeeperInstance</a></span>(org.apache.hadoop.mapred.JobConf&nbsp;job,
<a href="../../../../../../org/apache/accumulo/core/client/ClientConfiguration.html" title="class in org.apache.accumulo.core.client">ClientConfiguration</a>&nbsp;clientConfig)</code>
<div class="block">Configures a <a href="../../../../../../org/apache/accumulo/core/client/ZooKeeperInstance.html" title="class in org.apache.accumulo.core.client"><code>ZooKeeperInstance</code></a> for this job.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setZooKeeperInstance-org.apache.hadoop.mapred.JobConf-java.lang.String-java.lang.String-">setZooKeeperInstance</a></span>(org.apache.hadoop.mapred.JobConf&nbsp;job,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;instanceName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;zooKeepers)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">since 1.6.0; Use <a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setZooKeeperInstance-org.apache.hadoop.mapred.JobConf-org.apache.accumulo.core.client.ClientConfiguration-"><code>setZooKeeperInstance(JobConf, ClientConfiguration)</code></a>
instead.</span></div>
</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="log">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>log</h4>
<pre>protected static final&nbsp;org.apache.log4j.Logger log</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="AccumuloOutputFormat--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AccumuloOutputFormat</h4>
<pre>public&nbsp;AccumuloOutputFormat()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="setConnectorInfo-org.apache.hadoop.mapred.JobConf-java.lang.String-org.apache.accumulo.core.client.security.tokens.AuthenticationToken-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setConnectorInfo</h4>
<pre>public static&nbsp;void&nbsp;setConnectorInfo(org.apache.hadoop.mapred.JobConf&nbsp;job,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;principal,
<a href="../../../../../../org/apache/accumulo/core/client/security/tokens/AuthenticationToken.html" title="interface in org.apache.accumulo.core.client.security.tokens">AuthenticationToken</a>&nbsp;token)
throws <a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a></pre>
<div class="block">Sets the connector information needed to communicate with Accumulo in this job.
<p>
<b>WARNING:</b> Some tokens, when serialized, divulge sensitive information in the
configuration as a means to pass the token to MapReduce tasks. This information is BASE64
encoded to provide a charset safe conversion to a string, but this conversion is not intended
to be secure. <a href="../../../../../../org/apache/accumulo/core/client/security/tokens/PasswordToken.html" title="class in org.apache.accumulo.core.client.security.tokens"><code>PasswordToken</code></a> is one example that is insecure in this way; however
<a href="../../../../../../org/apache/accumulo/core/client/security/tokens/DelegationToken.html" title="interface in org.apache.accumulo.core.client.security.tokens"><code>DelegationToken</code></a>s, acquired using
<a href="../../../../../../org/apache/accumulo/core/client/admin/SecurityOperations.html#getDelegationToken-org.apache.accumulo.core.client.admin.DelegationTokenConfig-"><code>SecurityOperations.getDelegationToken(DelegationTokenConfig)</code></a>, is not subject to this
concern.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>job</code> - the Hadoop job instance to be configured</dd>
<dd><code>principal</code> - a valid Accumulo user name (user must have Table.CREATE permission if
<a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setCreateTables-org.apache.hadoop.mapred.JobConf-boolean-"><code>setCreateTables(JobConf, boolean)</code></a> is set to true)</dd>
<dd><code>token</code> - the user's password</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a></code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.5.0</dd>
</dl>
</li>
</ul>
<a name="setConnectorInfo-org.apache.hadoop.mapred.JobConf-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setConnectorInfo</h4>
<pre>public static&nbsp;void&nbsp;setConnectorInfo(org.apache.hadoop.mapred.JobConf&nbsp;job,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;principal,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tokenFile)
throws <a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a></pre>
<div class="block">Sets the connector information needed to communicate with Accumulo in this job.
<p>
Stores the password in a file in HDFS and pulls that into the Distributed Cache in an attempt
to be more secure than storing it in the Configuration.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>job</code> - the Hadoop job instance to be configured</dd>
<dd><code>principal</code> - a valid Accumulo user name (user must have Table.CREATE permission if
<a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setCreateTables-org.apache.hadoop.mapred.JobConf-boolean-"><code>setCreateTables(JobConf, boolean)</code></a> is set to true)</dd>
<dd><code>tokenFile</code> - the path to the password file</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../org/apache/accumulo/core/client/AccumuloSecurityException.html" title="class in org.apache.accumulo.core.client">AccumuloSecurityException</a></code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.6.0</dd>
</dl>
</li>
</ul>
<a name="isConnectorInfoSet-org.apache.hadoop.mapred.JobConf-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isConnectorInfoSet</h4>
<pre>protected static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;isConnectorInfoSet(org.apache.hadoop.mapred.JobConf&nbsp;job)</pre>
<div class="block">Determines if the connector has been configured.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>job</code> - the Hadoop context for the configured job</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the connector has been configured, false otherwise</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.5.0</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setConnectorInfo-org.apache.hadoop.mapred.JobConf-java.lang.String-org.apache.accumulo.core.client.security.tokens.AuthenticationToken-"><code>setConnectorInfo(JobConf, String, AuthenticationToken)</code></a></dd>
</dl>
</li>
</ul>
<a name="getPrincipal-org.apache.hadoop.mapred.JobConf-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPrincipal</h4>
<pre>protected static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getPrincipal(org.apache.hadoop.mapred.JobConf&nbsp;job)</pre>
<div class="block">Gets the principal from the configuration.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>job</code> - the Hadoop context for the configured job</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the user name</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.5.0</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setConnectorInfo-org.apache.hadoop.mapred.JobConf-java.lang.String-org.apache.accumulo.core.client.security.tokens.AuthenticationToken-"><code>setConnectorInfo(JobConf, String, AuthenticationToken)</code></a></dd>
</dl>
</li>
</ul>
<a name="getTokenClass-org.apache.hadoop.mapred.JobConf-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTokenClass</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
protected static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getTokenClass(org.apache.hadoop.mapred.JobConf&nbsp;job)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">since 1.6.0; Use <a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#getAuthenticationToken-org.apache.hadoop.mapred.JobConf-"><code>getAuthenticationToken(JobConf)</code></a> instead.</span></div>
<div class="block">Gets the serialized token class from either the configuration or the token file.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.5.0</dd>
</dl>
</li>
</ul>
<a name="getToken-org.apache.hadoop.mapred.JobConf-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getToken</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
protected static&nbsp;byte[]&nbsp;getToken(org.apache.hadoop.mapred.JobConf&nbsp;job)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">since 1.6.0; Use <a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#getAuthenticationToken-org.apache.hadoop.mapred.JobConf-"><code>getAuthenticationToken(JobConf)</code></a> instead.</span></div>
<div class="block">Gets the serialized token from either the configuration or the token file.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.5.0</dd>
</dl>
</li>
</ul>
<a name="getAuthenticationToken-org.apache.hadoop.mapred.JobConf-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAuthenticationToken</h4>
<pre>protected static&nbsp;<a href="../../../../../../org/apache/accumulo/core/client/security/tokens/AuthenticationToken.html" title="interface in org.apache.accumulo.core.client.security.tokens">AuthenticationToken</a>&nbsp;getAuthenticationToken(org.apache.hadoop.mapred.JobConf&nbsp;job)</pre>
<div class="block">Gets the authenticated token from either the specified token file or directly from the
configuration, whichever was used when the job was configured.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>job</code> - the Hadoop job instance to be configured</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the principal's authentication token</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.6.0</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setConnectorInfo-org.apache.hadoop.mapred.JobConf-java.lang.String-org.apache.accumulo.core.client.security.tokens.AuthenticationToken-"><code>setConnectorInfo(JobConf, String, AuthenticationToken)</code></a>,
<a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setConnectorInfo-org.apache.hadoop.mapred.JobConf-java.lang.String-java.lang.String-"><code>setConnectorInfo(JobConf, String, String)</code></a></dd>
</dl>
</li>
</ul>
<a name="setZooKeeperInstance-org.apache.hadoop.mapred.JobConf-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setZooKeeperInstance</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public static&nbsp;void&nbsp;setZooKeeperInstance(org.apache.hadoop.mapred.JobConf&nbsp;job,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;instanceName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;zooKeepers)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">since 1.6.0; Use <a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setZooKeeperInstance-org.apache.hadoop.mapred.JobConf-org.apache.accumulo.core.client.ClientConfiguration-"><code>setZooKeeperInstance(JobConf, ClientConfiguration)</code></a>
instead.</span></div>
<div class="block">Configures a <a href="../../../../../../org/apache/accumulo/core/client/ZooKeeperInstance.html" title="class in org.apache.accumulo.core.client"><code>ZooKeeperInstance</code></a> for this job.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>job</code> - the Hadoop job instance to be configured</dd>
<dd><code>instanceName</code> - the Accumulo instance name</dd>
<dd><code>zooKeepers</code> - a comma-separated list of zookeeper servers</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.5.0</dd>
</dl>
</li>
</ul>
<a name="setZooKeeperInstance-org.apache.hadoop.mapred.JobConf-org.apache.accumulo.core.client.ClientConfiguration-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setZooKeeperInstance</h4>
<pre>public static&nbsp;void&nbsp;setZooKeeperInstance(org.apache.hadoop.mapred.JobConf&nbsp;job,
<a href="../../../../../../org/apache/accumulo/core/client/ClientConfiguration.html" title="class in org.apache.accumulo.core.client">ClientConfiguration</a>&nbsp;clientConfig)</pre>
<div class="block">Configures a <a href="../../../../../../org/apache/accumulo/core/client/ZooKeeperInstance.html" title="class in org.apache.accumulo.core.client"><code>ZooKeeperInstance</code></a> for this job.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>job</code> - the Hadoop job instance to be configured</dd>
<dd><code>clientConfig</code> - client configuration for specifying connection timeouts, SSL connection options, etc.</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.6.0</dd>
</dl>
</li>
</ul>
<a name="setMockInstance-org.apache.hadoop.mapred.JobConf-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMockInstance</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public static&nbsp;void&nbsp;setMockInstance(org.apache.hadoop.mapred.JobConf&nbsp;job,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;instanceName)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">since 1.8.0; use MiniAccumuloCluster or a standard mock framework</span></div>
<div class="block">Configures a <a href="../../../../../../org/apache/accumulo/core/client/mock/MockInstance.html" title="class in org.apache.accumulo.core.client.mock"><code>MockInstance</code></a> for this job.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>job</code> - the Hadoop job instance to be configured</dd>
<dd><code>instanceName</code> - the Accumulo instance name</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.5.0</dd>
</dl>
</li>
</ul>
<a name="getInstance-org.apache.hadoop.mapred.JobConf-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInstance</h4>
<pre>protected static&nbsp;<a href="../../../../../../org/apache/accumulo/core/client/Instance.html" title="interface in org.apache.accumulo.core.client">Instance</a>&nbsp;getInstance(org.apache.hadoop.mapred.JobConf&nbsp;job)</pre>
<div class="block">Initializes an Accumulo <a href="../../../../../../org/apache/accumulo/core/client/Instance.html" title="interface in org.apache.accumulo.core.client"><code>Instance</code></a> based on the configuration.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>job</code> - the Hadoop context for the configured job</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an Accumulo instance</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.5.0</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setZooKeeperInstance-org.apache.hadoop.mapred.JobConf-org.apache.accumulo.core.client.ClientConfiguration-"><code>setZooKeeperInstance(JobConf, ClientConfiguration)</code></a></dd>
</dl>
</li>
</ul>
<a name="setLogLevel-org.apache.hadoop.mapred.JobConf-org.apache.log4j.Level-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLogLevel</h4>
<pre>public static&nbsp;void&nbsp;setLogLevel(org.apache.hadoop.mapred.JobConf&nbsp;job,
org.apache.log4j.Level&nbsp;level)</pre>
<div class="block">Sets the log level for this job.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>job</code> - the Hadoop job instance to be configured</dd>
<dd><code>level</code> - the logging level</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.5.0</dd>
</dl>
</li>
</ul>
<a name="getLogLevel-org.apache.hadoop.mapred.JobConf-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLogLevel</h4>
<pre>protected static&nbsp;org.apache.log4j.Level&nbsp;getLogLevel(org.apache.hadoop.mapred.JobConf&nbsp;job)</pre>
<div class="block">Gets the log level from this configuration.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>job</code> - the Hadoop context for the configured job</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the log level</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.5.0</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setLogLevel-org.apache.hadoop.mapred.JobConf-org.apache.log4j.Level-"><code>setLogLevel(JobConf, Level)</code></a></dd>
</dl>
</li>
</ul>
<a name="setDefaultTableName-org.apache.hadoop.mapred.JobConf-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDefaultTableName</h4>
<pre>public static&nbsp;void&nbsp;setDefaultTableName(org.apache.hadoop.mapred.JobConf&nbsp;job,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tableName)</pre>
<div class="block">Sets the default table name to use if one emits a null in place of a table name for a given
mutation. Table names can only be alpha-numeric and underscores.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>job</code> - the Hadoop job instance to be configured</dd>
<dd><code>tableName</code> - the table to use when the tablename is null in the write call</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.5.0</dd>
</dl>
</li>
</ul>
<a name="getDefaultTableName-org.apache.hadoop.mapred.JobConf-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDefaultTableName</h4>
<pre>protected static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getDefaultTableName(org.apache.hadoop.mapred.JobConf&nbsp;job)</pre>
<div class="block">Gets the default table name from the configuration.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>job</code> - the Hadoop context for the configured job</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the default table name</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.5.0</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setDefaultTableName-org.apache.hadoop.mapred.JobConf-java.lang.String-"><code>setDefaultTableName(JobConf, String)</code></a></dd>
</dl>
</li>
</ul>
<a name="setBatchWriterOptions-org.apache.hadoop.mapred.JobConf-org.apache.accumulo.core.client.BatchWriterConfig-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBatchWriterOptions</h4>
<pre>public static&nbsp;void&nbsp;setBatchWriterOptions(org.apache.hadoop.mapred.JobConf&nbsp;job,
<a href="../../../../../../org/apache/accumulo/core/client/BatchWriterConfig.html" title="class in org.apache.accumulo.core.client">BatchWriterConfig</a>&nbsp;bwConfig)</pre>
<div class="block">Sets the configuration for for the job's <a href="../../../../../../org/apache/accumulo/core/client/BatchWriter.html" title="interface in org.apache.accumulo.core.client"><code>BatchWriter</code></a> instances. If not set, a new
<a href="../../../../../../org/apache/accumulo/core/client/BatchWriterConfig.html" title="class in org.apache.accumulo.core.client"><code>BatchWriterConfig</code></a>, with sensible built-in defaults is used. Setting the configuration
multiple times overwrites any previous configuration.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>job</code> - the Hadoop job instance to be configured</dd>
<dd><code>bwConfig</code> - the configuration for the <a href="../../../../../../org/apache/accumulo/core/client/BatchWriter.html" title="interface in org.apache.accumulo.core.client"><code>BatchWriter</code></a></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.5.0</dd>
</dl>
</li>
</ul>
<a name="getBatchWriterOptions-org.apache.hadoop.mapred.JobConf-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBatchWriterOptions</h4>
<pre>protected static&nbsp;<a href="../../../../../../org/apache/accumulo/core/client/BatchWriterConfig.html" title="class in org.apache.accumulo.core.client">BatchWriterConfig</a>&nbsp;getBatchWriterOptions(org.apache.hadoop.mapred.JobConf&nbsp;job)</pre>
<div class="block">Gets the <a href="../../../../../../org/apache/accumulo/core/client/BatchWriterConfig.html" title="class in org.apache.accumulo.core.client"><code>BatchWriterConfig</code></a> settings.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>job</code> - the Hadoop context for the configured job</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the configuration object</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.5.0</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setBatchWriterOptions-org.apache.hadoop.mapred.JobConf-org.apache.accumulo.core.client.BatchWriterConfig-"><code>setBatchWriterOptions(JobConf, BatchWriterConfig)</code></a></dd>
</dl>
</li>
</ul>
<a name="setCreateTables-org.apache.hadoop.mapred.JobConf-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCreateTables</h4>
<pre>public static&nbsp;void&nbsp;setCreateTables(org.apache.hadoop.mapred.JobConf&nbsp;job,
boolean&nbsp;enableFeature)</pre>
<div class="block">Sets the directive to create new tables, as necessary. Table names can only be alpha-numeric
and underscores.
<p>
By default, this feature is <b>disabled</b>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>job</code> - the Hadoop job instance to be configured</dd>
<dd><code>enableFeature</code> - the feature is enabled if true, disabled otherwise</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.5.0</dd>
</dl>
</li>
</ul>
<a name="canCreateTables-org.apache.hadoop.mapred.JobConf-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canCreateTables</h4>
<pre>protected static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;canCreateTables(org.apache.hadoop.mapred.JobConf&nbsp;job)</pre>
<div class="block">Determines whether tables are permitted to be created as needed.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>job</code> - the Hadoop context for the configured job</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the feature is disabled, false otherwise</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.5.0</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setCreateTables-org.apache.hadoop.mapred.JobConf-boolean-"><code>setCreateTables(JobConf, boolean)</code></a></dd>
</dl>
</li>
</ul>
<a name="setSimulationMode-org.apache.hadoop.mapred.JobConf-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSimulationMode</h4>
<pre>public static&nbsp;void&nbsp;setSimulationMode(org.apache.hadoop.mapred.JobConf&nbsp;job,
boolean&nbsp;enableFeature)</pre>
<div class="block">Sets the directive to use simulation mode for this job. In simulation mode, no output is
produced. This is useful for testing.
<p>
By default, this feature is <b>disabled</b>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>job</code> - the Hadoop job instance to be configured</dd>
<dd><code>enableFeature</code> - the feature is enabled if true, disabled otherwise</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.5.0</dd>
</dl>
</li>
</ul>
<a name="getSimulationMode-org.apache.hadoop.mapred.JobConf-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSimulationMode</h4>
<pre>protected static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;getSimulationMode(org.apache.hadoop.mapred.JobConf&nbsp;job)</pre>
<div class="block">Determines whether this feature is enabled.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>job</code> - the Hadoop context for the configured job</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the feature is enabled, false otherwise</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.5.0</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html#setSimulationMode-org.apache.hadoop.mapred.JobConf-boolean-"><code>setSimulationMode(JobConf, boolean)</code></a></dd>
</dl>
</li>
</ul>
<a name="checkOutputSpecs-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.mapred.JobConf-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkOutputSpecs</h4>
<pre>public&nbsp;void&nbsp;checkOutputSpecs(org.apache.hadoop.fs.FileSystem&nbsp;ignored,
org.apache.hadoop.mapred.JobConf&nbsp;job)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>checkOutputSpecs</code>&nbsp;in interface&nbsp;<code>org.apache.hadoop.mapred.OutputFormat&lt;org.apache.hadoop.io.Text,<a href="../../../../../../org/apache/accumulo/core/data/Mutation.html" title="class in org.apache.accumulo.core.data">Mutation</a>&gt;</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="getRecordWriter-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.mapred.JobConf-java.lang.String-org.apache.hadoop.util.Progressable-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getRecordWriter</h4>
<pre>public&nbsp;org.apache.hadoop.mapred.RecordWriter&lt;org.apache.hadoop.io.Text,<a href="../../../../../../org/apache/accumulo/core/data/Mutation.html" title="class in org.apache.accumulo.core.data">Mutation</a>&gt;&nbsp;getRecordWriter(org.apache.hadoop.fs.FileSystem&nbsp;ignored,
org.apache.hadoop.mapred.JobConf&nbsp;job,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
org.apache.hadoop.util.Progressable&nbsp;progress)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>getRecordWriter</code>&nbsp;in interface&nbsp;<code>org.apache.hadoop.mapred.OutputFormat&lt;org.apache.hadoop.io.Text,<a href="../../../../../../org/apache/accumulo/core/data/Mutation.html" title="class in org.apache.accumulo.core.data">Mutation</a>&gt;</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/AccumuloOutputFormat.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloMultiTableInputFormat.html" title="class in org.apache.accumulo.core.client.mapred"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.AccumuloRecordWriter.html" title="class in org.apache.accumulo.core.client.mapred"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.html" target="_top">Frames</a></li>
<li><a href="AccumuloOutputFormat.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2011&#x2013;2019 <a href="https://www.apache.org">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>