Uses of Class
org.apache.accumulo.server.ServerContext
-
-
Uses of ServerContext in org.apache.accumulo.server
Methods in org.apache.accumulo.server that return ServerContext Modifier and Type Method Description ServerContextAbstractServer. getContext()Methods in org.apache.accumulo.server with parameters of type ServerContext Modifier and Type Method Description static voidServerUtil. abortIfFateTransactions(ServerContext context)Exit loudly if there are outstanding Fate operations.static String[]ServerConstants. getBaseUris(ServerContext context)static String[]ServerConstants. getRecoveryDirs(ServerContext context)static String[]ServerConstants. getTablesDirs(ServerContext context)static voidServerUtil. init(ServerContext context, String application)static voidServerUtil. waitForZookeeperAndHdfs(ServerContext context)Constructors in org.apache.accumulo.server with parameters of type ServerContext Constructor Description ServiceEnvironmentImpl(ServerContext ctx) -
Uses of ServerContext in org.apache.accumulo.server.cli
Methods in org.apache.accumulo.server.cli that return ServerContext Modifier and Type Method Description ServerContextServerUtilOpts. getServerContext() -
Uses of ServerContext in org.apache.accumulo.server.client
Methods in org.apache.accumulo.server.client with parameters of type ServerContext Modifier and Type Method Description static List<String>BulkImporter. bulkLoad(ServerContext context, long tid, String tableId, List<String> files, boolean setTime)static List<TabletLocator.TabletLocation>BulkImporter. findOverlappingTablets(ServerContext context, VolumeManager fs, TabletLocator locator, org.apache.hadoop.fs.Path file)static List<TabletLocator.TabletLocation>BulkImporter. findOverlappingTablets(ServerContext context, VolumeManager fs, TabletLocator locator, org.apache.hadoop.fs.Path file, KeyExtent failed)static List<TabletLocator.TabletLocation>BulkImporter. findOverlappingTablets(ServerContext context, VolumeManager vm, TabletLocator locator, org.apache.hadoop.fs.Path file, org.apache.hadoop.io.Text startRow, org.apache.hadoop.io.Text endRow)Constructors in org.apache.accumulo.server.client with parameters of type ServerContext Constructor Description BulkImporter(ServerContext context, long tid, String tableId, boolean setTime)ClientServiceHandler(ServerContext context, TransactionWatcher transactionWatcher, VolumeManager fs) -
Uses of ServerContext in org.apache.accumulo.server.conf
Fields in org.apache.accumulo.server.conf declared as ServerContext Modifier and Type Field Description protected ServerContextNamespaceConfiguration. contextMethods in org.apache.accumulo.server.conf that return ServerContext Modifier and Type Method Description ServerContextServerConfigurationFactory. getServerContext()Constructors in org.apache.accumulo.server.conf with parameters of type ServerContext Constructor Description NamespaceConfiguration(NamespaceId namespaceId, ServerContext context, AccumuloConfiguration parent)ServerConfigurationFactory(ServerContext context, SiteConfiguration siteConfig)TableConfiguration(ServerContext context, TableId tableId, NamespaceConfiguration parent)ZooConfiguration(ServerContext context, ZooCache propCache, AccumuloConfiguration parent) -
Uses of ServerContext in org.apache.accumulo.server.constraints
Methods in org.apache.accumulo.server.constraints that return ServerContext Modifier and Type Method Description ServerContextSystemEnvironment. getServerContext()Methods in org.apache.accumulo.server.constraints with parameters of type ServerContext Modifier and Type Method Description protected TransactionWatcher.ArbitratorMetadataConstraints. getArbitrator(ServerContext context) -
Uses of ServerContext in org.apache.accumulo.server.fs
Methods in org.apache.accumulo.server.fs with parameters of type ServerContext Modifier and Type Method Description static StringVolumeUtil. switchRootTableVolume(ServerContext context, String location)static VolumeUtil.TabletFilesVolumeUtil. updateTabletVolumes(ServerContext context, ZooLock zooLock, VolumeManager vm, KeyExtent extent, VolumeUtil.TabletFiles tabletFiles, boolean replicate)This method does two things.Constructors in org.apache.accumulo.server.fs with parameters of type ServerContext Constructor Description VolumeChooserEnvironmentImpl(TableId tableId, org.apache.hadoop.io.Text endRow, ServerContext context)VolumeChooserEnvironmentImpl(VolumeChooserEnvironment.ChooserScope scope, ServerContext context) -
Uses of ServerContext in org.apache.accumulo.server.iterators
Methods in org.apache.accumulo.server.iterators that return ServerContext Modifier and Type Method Description ServerContextSystemIteratorEnvironment. getServerContext()Methods in org.apache.accumulo.server.iterators with parameters of type ServerContext Modifier and Type Method Description protected TransactionWatcher.ArbitratorMetadataBulkLoadFilter. getArbitrator(ServerContext context) -
Uses of ServerContext in org.apache.accumulo.server.log
Constructors in org.apache.accumulo.server.log with parameters of type ServerContext Constructor Description WalStateManager(ServerContext context) -
Uses of ServerContext in org.apache.accumulo.server.master
Constructors in org.apache.accumulo.server.master with parameters of type ServerContext Constructor Description LiveTServerSet(ServerContext context, LiveTServerSet.Listener cback) -
Uses of ServerContext in org.apache.accumulo.server.master.balancer
Fields in org.apache.accumulo.server.master.balancer declared as ServerContext Modifier and Type Field Description protected ServerContextTabletBalancer. contextMethods in org.apache.accumulo.server.master.balancer with parameters of type ServerContext Modifier and Type Method Description voidHostRegexTableLoadBalancer. init(ServerContext context)voidTabletBalancer. init(ServerContext context)Initialize the TabletBalancer. -
Uses of ServerContext in org.apache.accumulo.server.master.state
Methods in org.apache.accumulo.server.master.state with parameters of type ServerContext Modifier and Type Method Description protected static TabletStateStoreTabletStateStore. getStoreForTablet(KeyExtent extent, ServerContext context)static voidTabletStateStore. setLocation(ServerContext context, Assignment assignment)static voidTabletStateStore. suspend(ServerContext context, TabletLocationState tls, Map<TServerInstance,List<org.apache.hadoop.fs.Path>> logsForDeadServers, long suspensionTimestamp)static voidTabletStateStore. unassign(ServerContext context, TabletLocationState tls, Map<TServerInstance,List<org.apache.hadoop.fs.Path>> logsForDeadServers)Constructors in org.apache.accumulo.server.master.state with parameters of type ServerContext Constructor Description DeadServerList(ServerContext context, String path)MetaDataStateStore(ServerContext context)MetaDataStateStore(ServerContext context, String tableName)RootTabletStateStore(ServerContext context)ZooStore(ServerContext context)ZooTabletStateStore(ServerContext context) -
Uses of ServerContext in org.apache.accumulo.server.monitor
Methods in org.apache.accumulo.server.monitor with parameters of type ServerContext Modifier and Type Method Description static voidLogService. startLogListener(ServerContext context, String hostAddress)Place the host:port advertisement for the Monitor's Log4j listener in ZooKeeper -
Uses of ServerContext in org.apache.accumulo.server.problems
Methods in org.apache.accumulo.server.problems with parameters of type ServerContext Modifier and Type Method Description static ProblemReportsProblemReports. getInstance(ServerContext context)Constructors in org.apache.accumulo.server.problems with parameters of type ServerContext Constructor Description ProblemReportingIterator(ServerContext context, TableId tableId, String resource, boolean continueOnError, SortedKeyValueIterator<Key,Value> source)ProblemReports(ServerContext context) -
Uses of ServerContext in org.apache.accumulo.server.replication
Methods in org.apache.accumulo.server.replication with parameters of type ServerContext Modifier and Type Method Description voidReplicaSystem. configure(ServerContext context, String configuration)Configure the implementation with necessary information from the system configurationReplicaSystemReplicaSystemFactory. get(ServerContext context, String value)Constructors in org.apache.accumulo.server.replication with parameters of type ServerContext Constructor Description ReplicationUtil(ServerContext context)ReplicationUtil(ServerContext context, ReplicaSystemFactory factory) -
Uses of ServerContext in org.apache.accumulo.server.rpc
Methods in org.apache.accumulo.server.rpc with parameters of type ServerContext Modifier and Type Method Description static ServerAddressTServerUtils. startServer(org.apache.hadoop.metrics2.MetricsSystem metricsSystem, ServerContext service, String hostname, Property portHintProperty, org.apache.thrift.TProcessor processor, String serverName, String threadName, Property portSearchProperty, Property minThreadProperty, Property timeBetweenThreadChecksProperty, Property maxMessageSizeProperty)Start a server, at the given port, or higher, if that port is not available. -
Uses of ServerContext in org.apache.accumulo.server.security
Fields in org.apache.accumulo.server.security declared as ServerContext Modifier and Type Field Description protected ServerContextSecurityOperation. contextMethods in org.apache.accumulo.server.security with parameters of type ServerContext Modifier and Type Method Description protected static AuthenticatorSecurityOperation. getAuthenticator(ServerContext context)protected static AuthorizorSecurityOperation. getAuthorizor(ServerContext context)static SecurityOperationAuditedSecurityOperation. getInstance(ServerContext context)static SecurityOperationSecurityOperation. getInstance(ServerContext context)protected static PermissionHandlerSecurityOperation. getPermHandler(ServerContext context)Constructors in org.apache.accumulo.server.security with parameters of type ServerContext Constructor Description AuditedSecurityOperation(ServerContext context, Authorizor author, Authenticator authent, PermissionHandler pm)SecurityOperation(ServerContext context)SecurityOperation(ServerContext context, Authorizor author, Authenticator authent, PermissionHandler pm) -
Uses of ServerContext in org.apache.accumulo.server.security.handler
Methods in org.apache.accumulo.server.security.handler with parameters of type ServerContext Modifier and Type Method Description voidAuthenticator. initialize(ServerContext context)voidAuthorizor. initialize(ServerContext context)Sets up the authorizor for a new instance of AccumulovoidKerberosAuthenticator. initialize(ServerContext context)voidKerberosAuthorizor. initialize(ServerContext context)voidKerberosPermissionHandler. initialize(ServerContext context)voidPermissionHandler. initialize(ServerContext context)Sets up the permission handler for a new instance of AccumulovoidZKAuthenticator. initialize(ServerContext context)voidZKAuthorizor. initialize(ServerContext context)voidZKPermHandler. initialize(ServerContext context) -
Uses of ServerContext in org.apache.accumulo.server.tables
Constructors in org.apache.accumulo.server.tables with parameters of type ServerContext Constructor Description TableManager(ServerContext context) -
Uses of ServerContext in org.apache.accumulo.server.tablets
Constructors in org.apache.accumulo.server.tablets with parameters of type ServerContext Constructor Description UniqueNameAllocator(ServerContext context) -
Uses of ServerContext in org.apache.accumulo.server.util
Methods in org.apache.accumulo.server.util with parameters of type ServerContext Modifier and Type Method Description static voidMetadataTableUtil. addBulkLoadInProgressFlag(ServerContext context, String path, long fateTxid)static voidMetadataTableUtil. addDeleteEntries(KeyExtent extent, Set<FileRef> datafilesToDelete, ServerContext context)static voidMetadataTableUtil. addDeleteEntry(ServerContext context, TableId tableId, String path)static voidMasterMetadataUtil. addNewTablet(ServerContext context, KeyExtent extent, String path, TServerInstance location, Map<FileRef,DataFileValue> datafileSizes, Map<Long,? extends Collection<FileRef>> bulkLoadedFiles, String time, long lastFlushID, long lastCompactID, ZooLock zooLock)static voidMetadataTableUtil. addTablet(KeyExtent extent, String path, ServerContext context, char timeType, ZooLock lock)static voidMetadataTableUtil. chopped(ServerContext context, KeyExtent extent, ZooLock zooLock)static voidMetadataTableUtil. cloneTable(ServerContext context, TableId srcTableId, TableId tableId, VolumeManager volumeManager)static MutationMetadataTableUtil. createDeleteMutation(ServerContext context, TableId tableId, String pathToRemove)static voidMetadataTableUtil. deleteTable(TableId tableId, boolean insertDeletes, ServerContext context, ZooLock lock)static doubleFileUtil. estimatePercentageLTE(ServerContext context, String tabletDir, org.apache.hadoop.io.Text prevEndRow, org.apache.hadoop.io.Text endRow, Collection<String> mapFiles, org.apache.hadoop.io.Text splitRow)static Map<KeyExtent,Long>FileUtil. estimateSizes(ServerContext context, org.apache.hadoop.fs.Path mapFile, long fileSize, List<KeyExtent> extents)static org.apache.hadoop.io.WritableComparable<Key>FileUtil. findLastKey(ServerContext context, Collection<FileRef> mapFiles)static SortedMap<Double,Key>FileUtil. findMidPoint(ServerContext context, String tabletDir, org.apache.hadoop.io.Text prevEndRow, org.apache.hadoop.io.Text endRow, Collection<String> mapFiles, double minSplit)static SortedMap<Double,Key>FileUtil. findMidPoint(ServerContext context, String tabletDirectory, org.apache.hadoop.io.Text prevEndRow, org.apache.hadoop.io.Text endRow, Collection<String> mapFiles, double minSplit, boolean useIndex)static voidMetadataTableUtil. finishSplit(KeyExtent extent, Map<FileRef,DataFileValue> datafileSizes, List<FileRef> highDatafilesToRemove, ServerContext context, ZooLock zooLock)static voidMetadataTableUtil. finishSplit(org.apache.hadoop.io.Text metadataEntry, Map<FileRef,DataFileValue> datafileSizes, List<FileRef> highDatafilesToRemove, ServerContext context, ZooLock zooLock)static KeyExtentMasterMetadataUtil. fixSplit(ServerContext context, org.apache.hadoop.io.Text metadataEntry, SortedMap<ColumnFQ,Value> columns, ZooLock lock)static Map<Long,? extends Collection<FileRef>>MetadataTableUtil. getBulkFilesLoaded(ServerContext context, KeyExtent extent)static SortedMap<FileRef,DataFileValue>MetadataTableUtil. getDataFileSizes(KeyExtent extent, ServerContext context)static Pair<List<LogEntry>,SortedMap<FileRef,DataFileValue>>MetadataTableUtil. getFileAndLogEntries(ServerContext context, KeyExtent extent)static Iterator<LogEntry>MetadataTableUtil. getLogEntries(ServerContext context)static List<LogEntry>MetadataTableUtil. getLogEntries(ServerContext context, KeyExtent extent)static WriterMetadataTableUtil. getMetadataTable(ServerContext context)static WriterMetadataTableUtil. getRootTable(ServerContext context)static StringMetadataTableUtil. getRootTabletDir(ServerContext context)static voidListVolumesUsed. listVolumes(ServerContext context)static voidMetadataTableUtil. putLockID(ServerContext context, ZooLock zooLock, Mutation m)static intRandomizeVolumes. randomize(ServerContext context, String tableName)static Collection<String>FileUtil. reduceFiles(ServerContext context, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.io.Text prevEndRow, org.apache.hadoop.io.Text endRow, Collection<String> mapFiles, int maxFiles, org.apache.hadoop.fs.Path tmpDir, int pass)static voidMetadataTableUtil. removeBulkLoadInProgressFlag(ServerContext context, String path)static voidNamespacePropUtil. removeNamespaceProperty(ServerContext context, NamespaceId namespaceId, String property)static voidMetadataTableUtil. removeScanFiles(KeyExtent extent, Set<FileRef> scanFiles, ServerContext context, ZooLock zooLock)static voidSystemPropUtil. removeSystemProperty(ServerContext context, String property)static voidTablePropUtil. removeTableProperty(ServerContext context, TableId tableId, String property)static voidMetadataTableUtil. removeUnusedWALEntries(ServerContext context, KeyExtent extent, List<LogEntry> entries, ZooLock zooLock)static voidMasterMetadataUtil. replaceDatafiles(ServerContext context, KeyExtent extent, Set<FileRef> datafilesToDelete, Set<FileRef> scanFiles, FileRef path, Long compactionId, DataFileValue size, String address, TServerInstance lastLocation, ZooLock zooLock)static voidMasterMetadataUtil. replaceDatafiles(ServerContext context, KeyExtent extent, Set<FileRef> datafilesToDelete, Set<FileRef> scanFiles, FileRef path, Long compactionId, DataFileValue size, String address, TServerInstance lastLocation, ZooLock zooLock, boolean insertDeleteFlags)static voidMetadataTableUtil. rollBackSplit(org.apache.hadoop.io.Text metadataEntry, org.apache.hadoop.io.Text oldPrevEndRow, ServerContext context, ZooLock zooLock)static booleanNamespacePropUtil. setNamespaceProperty(ServerContext context, NamespaceId namespaceId, String property, String value)static voidMetadataTableUtil. setRootTabletDir(ServerContext context, String dir)static booleanSystemPropUtil. setSystemProperty(ServerContext context, String property, String value)static booleanTablePropUtil. setTableProperty(ServerContext context, TableId tableId, String property, String value)static voidMetadataTableUtil. splitTablet(KeyExtent extent, org.apache.hadoop.io.Text oldPrevEndRow, double splitRatio, ServerContext context, ZooLock zooLock)static Map<FileRef,FileUtil.FileInfo>FileUtil. tryToGetFirstAndLastRows(ServerContext context, Set<FileRef> mapfiles)static voidMetadataTableUtil. update(ServerContext context, Writer t, ZooLock zooLock, Mutation m)static voidMetadataTableUtil. update(ServerContext context, ZooLock zooLock, Mutation m, KeyExtent extent)static voidMetadataTableUtil. updateTabletCompactID(KeyExtent extent, long compactID, ServerContext context, ZooLock zooLock)static voidMasterMetadataUtil. updateTabletDataFile(ServerContext context, KeyExtent extent, FileRef path, FileRef mergeFile, DataFileValue dfv, String time, Set<FileRef> 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 liststatic voidMetadataTableUtil. updateTabletDataFile(long tid, KeyExtent extent, Map<FileRef,DataFileValue> estSizes, String time, ServerContext context, ZooLock zooLock)static voidMetadataTableUtil. updateTabletDir(KeyExtent extent, String newDir, ServerContext context, ZooLock lock)static voidMetadataTableUtil. updateTabletFlushID(KeyExtent extent, long flushID, ServerContext context, ZooLock zooLock)static voidMetadataTableUtil. updateTabletVolumes(KeyExtent extent, List<LogEntry> logsToRemove, List<LogEntry> logsToAdd, List<FileRef> filesToRemove, SortedMap<FileRef,DataFileValue> filesToAdd, String newDir, ZooLock zooLock, ServerContext context) -
Uses of ServerContext in org.apache.accumulo.server.zookeeper
Methods in org.apache.accumulo.server.zookeeper with parameters of type ServerContext Modifier and Type Method Description static Set<Long>TransactionWatcher.ZooArbitrator. allTransactionsAlive(ServerContext context, String type)static voidTransactionWatcher.ZooArbitrator. cleanup(ServerContext context, String type, long tid)static voidTransactionWatcher.ZooArbitrator. start(ServerContext context, String type, long tid)static voidTransactionWatcher.ZooArbitrator. stop(ServerContext context, String type, long tid)Constructors in org.apache.accumulo.server.zookeeper with parameters of type ServerContext Constructor Description TransactionWatcher(ServerContext context)ZooArbitrator(ServerContext context)
-