@Test public void testClientPropertiesPath() throws Exception { JobConf job = new JobConf(); Properties cp = Accumulo.newClientProperties().to("test", "zk").as("blah", "blah").build(); try { File file = File.createTempFile("accumulo-client", ".properties", null); file.deleteOnExit(); FileWriter writer = new FileWriter(file); writer.write("auth.type=password\n"); writer.write("instance.zookeepers=zk\n"); writer.write("instance.name=test\n"); writer.write("auth.principal=blah\n"); writer.write("auth.token=blah"); writer.close(); AccumuloOutputFormat.configure().clientPropertiesPath(file.getAbsolutePath()).store(job); assertEquals("Properties from path does not match the expected values ", cp, OutputConfigurator.getClientProperties(AccumuloOutputFormat.class, job)); } catch (IOException e) { throw new IllegalStateException(e); } }
public static OutputFormatBuilder.ClientParams<JobConf> configure() { return new OutputFormatBuilderImpl<>(CLASS); }
AccumuloOutputFormat implements OutputFormat<Text,Mutation> { public static OutputFormatBuilder.ClientParams<JobConf> configure() { return new OutputFormatBuilderImpl<>(CLASS); } }
AccumuloOutputFormat implements OutputFormat<Text,Mutation> { public static OutputFormatBuilder.ClientParams<JobConf> configure() { return new OutputFormatBuilderImpl<>(CLASS); }  }
AccumuloOutputFormat implements OutputFormat<Text,Mutation> { public static OutputFormatBuilder.ClientParams<JobConf> configure() { return new OutputFormatBuilderImpl<>(CLASS); }  @Override void checkOutputSpecs(FileSystem ignored, JobConf job); @Override RecordWriter<Text,Mutation> getRecordWriter(FileSystem ignored, JobConf job, String name,
      Progressable progress); static OutputFormatBuilder.ClientParams<JobConf> configure(); }
AccumuloOutputFormat implements OutputFormat<Text,Mutation> { public static OutputFormatBuilder.ClientParams<JobConf> configure() { return new OutputFormatBuilderImpl<>(CLASS); }  @Override void checkOutputSpecs(FileSystem ignored, JobConf job); @Override RecordWriter<Text,Mutation> getRecordWriter(FileSystem ignored, JobConf job, String name,
      Progressable progress); static OutputFormatBuilder.ClientParams<JobConf> configure();  }