Source:
<code>public void load() throws TableNotFoundException, IOException, AccumuloException, AccumuloSecurityException { Table.ID tableId = Tables.getTableId(context.getInstance(), tableName); Map<String,String> props = context.getConnector().instanceOperations().getSystemConfiguration(); AccumuloConfiguration conf = new ConfigurationCopy(props); FileSystem fs = VolumeConfiguration.getVolume(dir, CachedConfiguration.getInstance(), conf) .getFileSystem(); Path srcPath = checkPath(fs, dir); Executor executor; ExecutorService service = null; if (this.executor != null) { executor = this.executor; } else if (numThreads > 0) { executor = service = Executors.newFixedThreadPool(numThreads); } else { String threads = context.getConfiguration().get(ClientProperty.BULK_LOAD_THREADS.getKey()); if (threads == null) { threads = ClientProperty.BULK_LOAD_THREADS.getDefaultValue(); } int nThreads; if (threads.toUpperCase().endsWith("C")) { nThreads = Runtime.getRuntime().availableProcessors() * Integer.parseInt(threads.substring(0, threads.length() - 1)); } else { nThreads = Integer.parseInt(threads); } executor = service = Executors.newFixedThreadPool(nThreads); } try { SortedMap<KeyExtent,Bulk.Files> mappings = computeFileToTabletMappings(fs, tableId, srcPath, executor, context); BulkSerialize.writeLoadMapping(mappings, srcPath.toString(), p -> fs.create(p)); <START> List<ByteBuffer> args = Arrays.asList(ByteBuffer.wrap(tableName.getBytes(UTF_8)), <END> ByteBuffer.wrap(srcPath.toString().getBytes(UTF_8)), ByteBuffer.wrap((setTime + "").getBytes(UTF_8))); doFateOperation(FateOperation.TABLE_BULK_IMPORT2, args, Collections.emptyMap(), tableName); } finally { if (service != null) { service.shutdown(); } } }</code><technical_language>This send tableId instead of name</technical_language>

Target:
public void load() throws TableNotFoundException, IOException, AccumuloException, AccumuloSecurityException { Table.ID tableId = Tables.getTableId(context.getInstance(), tableName); Map<String,String> props = context.getConnector().instanceOperations().getSystemConfiguration(); AccumuloConfiguration conf = new ConfigurationCopy(props); FileSystem fs = VolumeConfiguration.getVolume(dir, CachedConfiguration.getInstance(), conf) .getFileSystem(); Path srcPath = checkPath(fs, dir); Executor executor; ExecutorService service = null; if (this.executor != null) { executor = this.executor; } else if (numThreads > 0) { executor = service = Executors.newFixedThreadPool(numThreads); } else { String threads = context.getConfiguration().get(ClientProperty.BULK_LOAD_THREADS.getKey()); executor = service = Executors .newFixedThreadPool(ConfigurationTypeHelper.getNumThreads(threads)); } try { SortedMap<KeyExtent,Bulk.Files> mappings = computeFileToTabletMappings(fs, tableId, srcPath, executor, context); BulkSerialize.writeLoadMapping(mappings, srcPath.toString(), p -> fs.create(p)); List<ByteBuffer> args = Arrays.asList(ByteBuffer.wrap(tableId.getUtf8()), ByteBuffer.wrap(srcPath.toString().getBytes(UTF_8)), ByteBuffer.wrap((setTime + "").getBytes(UTF_8))); doFateOperation(FateOperation.TABLE_BULK_IMPORT2, args, Collections.emptyMap(), tableName); } finally { if (service != null) { service.shutdown(); } } }