| <!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 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 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 Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../../allclasses-noframe.html">All 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: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </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<org.apache.hadoop.io.Text,<a href="../../../../../../org/apache/accumulo/core/data/Mutation.html" title="class in org.apache.accumulo.core.data">Mutation</a>></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<org.apache.hadoop.io.Text,<a href="../../../../../../org/apache/accumulo/core/data/Mutation.html" title="class in org.apache.accumulo.core.data">Mutation</a>></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"> </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 </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"> </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> </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"> </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> </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"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </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 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 ignored, |
| org.apache.hadoop.mapred.JobConf job)</code> </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 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 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 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 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 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 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<org.apache.hadoop.io.Text,<a href="../../../../../../org/apache/accumulo/core/data/Mutation.html" title="class in org.apache.accumulo.core.data">Mutation</a>></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 ignored, |
| org.apache.hadoop.mapred.JobConf 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> name, |
| org.apache.hadoop.util.Progressable progress)</code> </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 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 job)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <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 job)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <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 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 job, |
| <a href="../../../../../../org/apache/accumulo/core/client/BatchWriterConfig.html" title="class in org.apache.accumulo.core.client">BatchWriterConfig</a> 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 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> principal, |
| <a href="../../../../../../org/apache/accumulo/core/client/security/tokens/AuthenticationToken.html" title="interface in org.apache.accumulo.core.client.security.tokens">AuthenticationToken</a> 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 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> 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> 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 job, |
| boolean 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 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> 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 job, |
| org.apache.log4j.Level 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 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> instanceName)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <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 job, |
| boolean 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 job, |
| <a href="../../../../../../org/apache/accumulo/core/client/ClientConfiguration.html" title="class in org.apache.accumulo.core.client">ClientConfiguration</a> 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 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> 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> zooKeepers)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <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 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 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 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 void setConnectorInfo(org.apache.hadoop.mapred.JobConf 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> principal, |
| <a href="../../../../../../org/apache/accumulo/core/client/security/tokens/AuthenticationToken.html" title="interface in org.apache.accumulo.core.client.security.tokens">AuthenticationToken</a> 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 void setConnectorInfo(org.apache.hadoop.mapred.JobConf 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> 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> 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 <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> isConnectorInfoSet(org.apache.hadoop.mapred.JobConf 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 <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> getPrincipal(org.apache.hadoop.mapred.JobConf 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 <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> getTokenClass(org.apache.hadoop.mapred.JobConf job)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <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 byte[] getToken(org.apache.hadoop.mapred.JobConf job)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <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 <a href="../../../../../../org/apache/accumulo/core/client/security/tokens/AuthenticationToken.html" title="interface in org.apache.accumulo.core.client.security.tokens">AuthenticationToken</a> getAuthenticationToken(org.apache.hadoop.mapred.JobConf 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 void setZooKeeperInstance(org.apache.hadoop.mapred.JobConf 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> 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> zooKeepers)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <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 void setZooKeeperInstance(org.apache.hadoop.mapred.JobConf job, |
| <a href="../../../../../../org/apache/accumulo/core/client/ClientConfiguration.html" title="class in org.apache.accumulo.core.client">ClientConfiguration</a> 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 void setMockInstance(org.apache.hadoop.mapred.JobConf 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> instanceName)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <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 <a href="../../../../../../org/apache/accumulo/core/client/Instance.html" title="interface in org.apache.accumulo.core.client">Instance</a> getInstance(org.apache.hadoop.mapred.JobConf 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 void setLogLevel(org.apache.hadoop.mapred.JobConf job, |
| org.apache.log4j.Level 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 org.apache.log4j.Level getLogLevel(org.apache.hadoop.mapred.JobConf 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 void setDefaultTableName(org.apache.hadoop.mapred.JobConf 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> 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 <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> getDefaultTableName(org.apache.hadoop.mapred.JobConf 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 void setBatchWriterOptions(org.apache.hadoop.mapred.JobConf job, |
| <a href="../../../../../../org/apache/accumulo/core/client/BatchWriterConfig.html" title="class in org.apache.accumulo.core.client">BatchWriterConfig</a> 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 <a href="../../../../../../org/apache/accumulo/core/client/BatchWriterConfig.html" title="class in org.apache.accumulo.core.client">BatchWriterConfig</a> getBatchWriterOptions(org.apache.hadoop.mapred.JobConf 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 void setCreateTables(org.apache.hadoop.mapred.JobConf job, |
| boolean 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 <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> canCreateTables(org.apache.hadoop.mapred.JobConf 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 void setSimulationMode(org.apache.hadoop.mapred.JobConf job, |
| boolean 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 <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> getSimulationMode(org.apache.hadoop.mapred.JobConf 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 void checkOutputSpecs(org.apache.hadoop.fs.FileSystem ignored, |
| org.apache.hadoop.mapred.JobConf 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> in interface <code>org.apache.hadoop.mapred.OutputFormat<org.apache.hadoop.io.Text,<a href="../../../../../../org/apache/accumulo/core/data/Mutation.html" title="class in org.apache.accumulo.core.data">Mutation</a>></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 org.apache.hadoop.mapred.RecordWriter<org.apache.hadoop.io.Text,<a href="../../../../../../org/apache/accumulo/core/data/Mutation.html" title="class in org.apache.accumulo.core.data">Mutation</a>> getRecordWriter(org.apache.hadoop.fs.FileSystem ignored, |
| org.apache.hadoop.mapred.JobConf 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> name, |
| org.apache.hadoop.util.Progressable 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> in interface <code>org.apache.hadoop.mapred.OutputFormat<org.apache.hadoop.io.Text,<a href="../../../../../../org/apache/accumulo/core/data/Mutation.html" title="class in org.apache.accumulo.core.data">Mutation</a>></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 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 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 Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../../allclasses-noframe.html">All 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: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </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 © 2011–2019 <a href="https://www.apache.org">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |