Method parameters in org.apache.accumulo.server.master.balancer with type arguments of type TServerInstance |
abstract long |
TabletBalancer.balance(SortedMap<TServerInstance,TabletServerStatus> current,
Set<KeyExtent> migrations,
List<TabletMigration> migrationsOut)
Ask the balancer if any migrations are necessary. |
long |
TableLoadBalancer.balance(SortedMap<TServerInstance,TabletServerStatus> current,
Set<KeyExtent> migrations,
List<TabletMigration> migrationsOut)
|
long |
ChaoticLoadBalancer.balance(SortedMap<TServerInstance,TabletServerStatus> current,
Set<KeyExtent> migrations,
List<TabletMigration> migrationsOut)
Will balance randomly, maintaining distribution |
long |
DefaultLoadBalancer.balance(SortedMap<TServerInstance,TabletServerStatus> current,
Set<KeyExtent> migrations,
List<TabletMigration> migrationsOut)
|
static List<TabletMigration> |
TabletBalancer.checkMigrationSanity(Set<TServerInstance> current,
List<TabletMigration> migrations)
Utility to ensure that the migrations from balance() are consistent:
Tablet objects are not null
Source and destination tablet servers are not null and current
|
TServerInstance |
DefaultLoadBalancer.getAssignment(SortedMap<TServerInstance,TabletServerStatus> locations,
KeyExtent extent,
TServerInstance last)
|
abstract void |
TabletBalancer.getAssignments(SortedMap<TServerInstance,TabletServerStatus> current,
Map<KeyExtent,TServerInstance> unassigned,
Map<KeyExtent,TServerInstance> assignments)
Assign tablets to tablet servers. |
abstract void |
TabletBalancer.getAssignments(SortedMap<TServerInstance,TabletServerStatus> current,
Map<KeyExtent,TServerInstance> unassigned,
Map<KeyExtent,TServerInstance> assignments)
Assign tablets to tablet servers. |
abstract void |
TabletBalancer.getAssignments(SortedMap<TServerInstance,TabletServerStatus> current,
Map<KeyExtent,TServerInstance> unassigned,
Map<KeyExtent,TServerInstance> assignments)
Assign tablets to tablet servers. |
void |
TableLoadBalancer.getAssignments(SortedMap<TServerInstance,TabletServerStatus> current,
Map<KeyExtent,TServerInstance> unassigned,
Map<KeyExtent,TServerInstance> assignments)
|
void |
TableLoadBalancer.getAssignments(SortedMap<TServerInstance,TabletServerStatus> current,
Map<KeyExtent,TServerInstance> unassigned,
Map<KeyExtent,TServerInstance> assignments)
|
void |
TableLoadBalancer.getAssignments(SortedMap<TServerInstance,TabletServerStatus> current,
Map<KeyExtent,TServerInstance> unassigned,
Map<KeyExtent,TServerInstance> assignments)
|
void |
ChaoticLoadBalancer.getAssignments(SortedMap<TServerInstance,TabletServerStatus> current,
Map<KeyExtent,TServerInstance> unassigned,
Map<KeyExtent,TServerInstance> assignments)
|
void |
ChaoticLoadBalancer.getAssignments(SortedMap<TServerInstance,TabletServerStatus> current,
Map<KeyExtent,TServerInstance> unassigned,
Map<KeyExtent,TServerInstance> assignments)
|
void |
ChaoticLoadBalancer.getAssignments(SortedMap<TServerInstance,TabletServerStatus> current,
Map<KeyExtent,TServerInstance> unassigned,
Map<KeyExtent,TServerInstance> assignments)
|
void |
DefaultLoadBalancer.getAssignments(SortedMap<TServerInstance,TabletServerStatus> current,
Map<KeyExtent,TServerInstance> unassigned,
Map<KeyExtent,TServerInstance> assignments)
|
void |
DefaultLoadBalancer.getAssignments(SortedMap<TServerInstance,TabletServerStatus> current,
Map<KeyExtent,TServerInstance> unassigned,
Map<KeyExtent,TServerInstance> assignments)
|
void |
DefaultLoadBalancer.getAssignments(SortedMap<TServerInstance,TabletServerStatus> current,
Map<KeyExtent,TServerInstance> unassigned,
Map<KeyExtent,TServerInstance> assignments)
|
boolean |
DefaultLoadBalancer.getMigrations(Map<TServerInstance,TabletServerStatus> current,
List<TabletMigration> result)
|
Methods in org.apache.accumulo.server.util with parameters of type TServerInstance |
static void |
MetadataTable.addNewTablet(KeyExtent extent,
String path,
TServerInstance location,
Map<String,MetadataTable.DataFileValue> datafileSizes,
Map<String,Long> bulkLoadedFiles,
TCredentials credentials,
String time,
long lastFlushID,
long lastCompactID,
ZooLock zooLock)
|
static KeyExtent |
MetadataTable.fixSplit(org.apache.hadoop.io.Text metadataEntry,
SortedMap<ColumnFQ,Value> columns,
TServerInstance tserver,
TCredentials credentials,
ZooLock lock)
|
static void |
MetadataTable.replaceDatafiles(KeyExtent extent,
Set<String> datafilesToDelete,
Set<String> scanFiles,
String path,
Long compactionId,
MetadataTable.DataFileValue size,
TCredentials credentials,
String address,
TServerInstance lastLocation,
ZooLock zooLock)
|
static void |
MetadataTable.replaceDatafiles(KeyExtent extent,
Set<String> datafilesToDelete,
Set<String> scanFiles,
String path,
Long compactionId,
MetadataTable.DataFileValue size,
TCredentials credentials,
String address,
TServerInstance lastLocation,
ZooLock zooLock,
boolean insertDeleteFlags)
|
static void |
MetadataTable.updateTabletDataFile(KeyExtent extent,
String path,
String mergeFile,
MetadataTable.DataFileValue dfv,
String time,
TCredentials credentials,
Set<String> filesInUseByScans,
String address,
ZooLock zooLock,
Set<String> unusedWalLogs,
TServerInstance lastLocation,
long flushId)
new data file update function adds one data file to a tablet's list
path should be relative to the table directory |