milleruntime commented on a change in pull request #361: ACCUMULO-4784 - Create
builder for Connector
URL: https://github.com/apache/accumulo/pull/361#discussion_r165191555
##########
File path:
core/src/main/java/org/apache/accumulo/core/client/mapreduce/AbstractInputFormat.java
##########
@@ -118,6 +120,21 @@ public static String getClassLoaderContext(JobContext
job) {
return InputConfigurator.getClassLoaderContext(CLASS,
job.getConfiguration());
}
+ /**
+ * Sets connection information needed to communicate with Accumulo for this
job
+ *
+ * @param job
+ * Hadoop job instance to be configured
+ * @param connectionInfo
+ * Connection information for Accumulo
+ * @since 2.0.0
+ */
+ public static void setConnectionInfo(Job job, ConnectionInfo connectionInfo)
throws AccumuloSecurityException {
+ ConnectionInfoImpl info = (ConnectionInfoImpl) connectionInfo;
Review comment:
Here too.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services