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()ServerContextServiceEnvironmentImpl. getContext()static ServerContextServerContext. initialize(SiteConfiguration siteConfig, String instanceName, InstanceId instanceID)Used during initialization to set the instance name and ID.static ServerContextServerContext. override(SiteConfiguration siteConfig, String instanceName, String zooKeepers, int zkSessionTimeOut)Override properties for testingMethods in org.apache.accumulo.server with parameters of type ServerContext Modifier and Type Method Description static intAccumuloDataVersion. getCurrentVersion(ServerContext context)Get the stored, current working version.Constructors in org.apache.accumulo.server with parameters of type ServerContext Constructor Description ServiceEnvironmentImpl(ServerContext context) -
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
Fields in org.apache.accumulo.server.client declared as ServerContext Modifier and Type Field Description protected ServerContextClientServiceHandler. contextConstructors in org.apache.accumulo.server.client with parameters of type ServerContext Constructor Description ClientServiceHandler(ServerContext context, TransactionWatcher transactionWatcher) -
Uses of ServerContext in org.apache.accumulo.server.compaction
Methods in org.apache.accumulo.server.compaction with parameters of type ServerContext Modifier and Type Method Description SystemIteratorEnvironmentFileCompactor.CompactionEnv. createIteratorEnv(ServerContext context, AccumuloConfiguration acuTableConf, TableId tableId)static voidCompactionWatcher. startWatching(ServerContext context)Constructors in org.apache.accumulo.server.compaction with parameters of type ServerContext Constructor Description FileCompactor(ServerContext context, KeyExtent extent, Map<StoredTabletFile,DataFileValue> files, ReferencedTabletFile outputFile, boolean propagateDeletes, FileCompactor.CompactionEnv env, List<IteratorSetting> iterators, AccumuloConfiguration tableConfiguation, CryptoService cs, PausedCompactionMetrics metrics) -
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(ServerContext context, NamespaceId namespaceId, AccumuloConfiguration parent)ServerConfigurationFactory(ServerContext context, SiteConfiguration siteConfig)SystemConfiguration(ServerContext context, SystemPropKey propStoreKey, AccumuloConfiguration parent)TableConfiguration(ServerContext context, TableId tableId, NamespaceConfiguration parent)ZooBasedConfiguration(org.slf4j.Logger log, ServerContext context, PropStoreKey<?> propStoreKey, AccumuloConfiguration parent) -
Uses of ServerContext in org.apache.accumulo.server.conf.store
Methods in org.apache.accumulo.server.conf.store with parameters of type ServerContext Modifier and Type Method Description static NamespacePropKeyNamespacePropKey. of(ServerContext context, NamespaceId id)static SystemPropKeySystemPropKey. of(ServerContext context)static TablePropKeyTablePropKey. of(ServerContext context, TableId tableId) -
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 VolumeUtil.TabletFilesVolumeUtil. updateTabletVolumes(ServerContext context, ServiceLock zooLock, KeyExtent extent, VolumeUtil.TabletFiles tabletFiles)This method does two things.Constructors in org.apache.accumulo.server.fs with parameters of type ServerContext Constructor Description FileManager(ServerContext context, int maxOpen, com.github.benmanes.caffeine.cache.Cache<String,Long> fileLenCache)VolumeChooserEnvironmentImpl(TableId tableId, org.apache.hadoop.io.Text endRow, ServerContext context)VolumeChooserEnvironmentImpl(VolumeChooserEnvironment.Scope scope, TableId tableId, org.apache.hadoop.io.Text endRow, ServerContext context)VolumeChooserEnvironmentImpl(VolumeChooserEnvironment.Scope 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()ServerContextTabletIteratorEnvironment. getServerContext()Methods in org.apache.accumulo.server.iterators with parameters of type ServerContext Modifier and Type Method Description protected TransactionWatcher.ArbitratorMetadataBulkLoadFilter. getArbitrator(ServerContext context)Constructors in org.apache.accumulo.server.iterators with parameters of type ServerContext Constructor Description TabletIteratorEnvironment(ServerContext context, IteratorUtil.IteratorScope scope, boolean fullMajC, AccumuloConfiguration tableConfig, TableId tableId, CompactionKind kind)TabletIteratorEnvironment(ServerContext context, IteratorUtil.IteratorScope scope, AccumuloConfiguration tableConfig, TableId tableId)TabletIteratorEnvironment(ServerContext context, IteratorUtil.IteratorScope scope, AccumuloConfiguration tableConfig, TableId tableId, FileManager.ScanFileManager trm, Map<StoredTabletFile,DataFileValue> files, Authorizations authorizations, SamplerConfigurationImpl samplerConfig, ArrayList<SortedKeyValueIterator<Key,Value>> topLevelIterators) -
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.manager
Constructors in org.apache.accumulo.server.manager with parameters of type ServerContext Constructor Description LiveTServerSet(ServerContext context, LiveTServerSet.Listener cback) -
Uses of ServerContext in org.apache.accumulo.server.manager.balancer
Constructors in org.apache.accumulo.server.manager.balancer with parameters of type ServerContext Constructor Description BalancerEnvironmentImpl(ServerContext context) -
Uses of ServerContext in org.apache.accumulo.server.manager.state
Methods in org.apache.accumulo.server.manager.state with parameters of type ServerContext Modifier and Type Method Description 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.manager.state with parameters of type ServerContext Constructor Description DeadServerList(ServerContext context) -
Uses of ServerContext in org.apache.accumulo.server.mem
Methods in org.apache.accumulo.server.mem with parameters of type ServerContext Modifier and Type Method Description booleanLowMemoryDetector. isRunningLowOnMemory(ServerContext context, LowMemoryDetector.DetectionScope scope, Supplier<Boolean> isUserTable, LowMemoryDetector.Action action) -
Uses of ServerContext in org.apache.accumulo.server.metadata
Constructors in org.apache.accumulo.server.metadata with parameters of type ServerContext Constructor Description ServerAmpleImpl(ServerContext context)TabletMutatorBase(ServerContext context, KeyExtent extent)TabletsMutatorImpl(ServerContext context) -
Uses of ServerContext in org.apache.accumulo.server.metrics
Constructors in org.apache.accumulo.server.metrics with parameters of type ServerContext Constructor Description ProcessMetrics(ServerContext context) -
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.rpc
Methods in org.apache.accumulo.server.rpc with parameters of type ServerContext Modifier and Type Method Description static org.apache.thrift.TMultiplexedProcessorThriftProcessorTypes. getCompactorTProcessor(CompactorService.Iface serviceHandler, ServerContext context)static org.apache.thrift.TMultiplexedProcessorThriftProcessorTypes. getCoordinatorTProcessor(CompactionCoordinatorService.Iface serviceHandler, ServerContext context)static org.apache.thrift.TMultiplexedProcessorThriftProcessorTypes. getGcTProcessor(GCMonitorService.Iface serviceHandler, ServerContext context)static org.apache.thrift.TMultiplexedProcessorThriftProcessorTypes. getManagerTProcessor(FateService.Iface fateServiceHandler, ManagerClientService.Iface managerServiceHandler, ServerContext context)static org.apache.thrift.TMultiplexedProcessorThriftProcessorTypes. getScanServerTProcessor(TabletScanClientService.Iface tserverHandler, ServerContext context)static org.apache.thrift.TMultiplexedProcessorThriftProcessorTypes. getTabletServerTProcessor(ClientServiceHandler clientHandler, TabletServerClientService.Iface tserverHandler, TabletScanClientService.Iface tserverScanHandler, TabletIngestClientService.Iface tserverIngestHandler, TabletManagementClientService.Iface tserverMgmtHandler, ServerContext context)<I,H extends I,P extends org.apache.thrift.TBaseProcessor<?>>
org.apache.thrift.TProcessorThriftProcessorTypes. getTProcessor(Class<P> processorClass, Class<I> interfaceClass, H serviceHandler, ServerContext context)static ServerAddressTServerUtils. startServer(ServerContext context, String hostname, Property portHintProperty, org.apache.thrift.TProcessor processor, String serverName, String threadName, Property portSearchProperty, Property minThreadProperty, Property threadTimeOutProperty, 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 static AuthenticatorSecurityOperation. getAuthenticator(ServerContext context)static AuthorizorSecurityOperation. getAuthorizor(ServerContext context)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, 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
Methods in org.apache.accumulo.server.tables with parameters of type ServerContext Modifier and Type Method Description static voidTableManager. prepareNewNamespaceState(ServerContext context, NamespaceId namespaceId, String namespace, ZooUtil.NodeExistsPolicy existsPolicy)static voidTableManager. prepareNewTableState(ServerContext context, TableId tableId, NamespaceId namespaceId, String tableName, TableState state, ZooUtil.NodeExistsPolicy existsPolicy)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 voidManagerMetadataUtil. addNewTablet(ServerContext context, KeyExtent extent, String dirName, TServerInstance tServerInstance, Map<StoredTabletFile,DataFileValue> datafileSizes, Map<Long,? extends Collection<ReferencedTabletFile>> bulkLoadedFiles, MetadataTime time, long lastFlushID, long lastCompactID, ServiceLock zooLock)static voidMetadataTableUtil. addTablet(KeyExtent extent, String path, ServerContext context, TimeType timeType, ServiceLock zooLock)static voidMetadataTableUtil. chopped(ServerContext context, KeyExtent extent, ServiceLock zooLock)static voidScanServerMetadataEntries. clean(ServerContext context)static voidMetadataTableUtil. cloneTable(ServerContext context, TableId srcTableId, TableId tableId)static voidMetadataTableUtil. deleteTable(TableId tableId, boolean insertDeletes, ServerContext context, ServiceLock lock)static doubleFileUtil. estimatePercentageLTE(ServerContext context, TableConfiguration tableConf, String tabletDir, org.apache.hadoop.io.Text prevEndRow, org.apache.hadoop.io.Text endRow, Collection<? extends TabletFile> dataFiles, org.apache.hadoop.io.Text splitRow)static voidChangeSecret. execute(ServerContext context, AccumuloConfiguration conf)static voidDeleteZooInstance. execute(ServerContext context, boolean clean, String instance, String auth)static voidTabletServerLocks. execute(ServerContext context, String lock, String delete)static <T extends TabletFile>
org.apache.hadoop.io.WritableComparable<Key>FileUtil. findLastKey(ServerContext context, TableConfiguration tableConf, Collection<T> dataFiles)static SortedMap<Double,Key>FileUtil. findMidPoint(ServerContext context, TableConfiguration tableConf, String tabletDirectory, org.apache.hadoop.io.Text prevEndRow, org.apache.hadoop.io.Text endRow, Collection<? extends TabletFile> dataFiles, double minSplit, boolean useIndex)static voidMetadataTableUtil. finishSplit(KeyExtent extent, Map<StoredTabletFile,DataFileValue> datafileSizes, List<StoredTabletFile> highDatafilesToRemove, ServerContext context, ServiceLock zooLock)static voidMetadataTableUtil. finishSplit(org.apache.hadoop.io.Text metadataEntry, Map<StoredTabletFile,DataFileValue> datafileSizes, List<StoredTabletFile> highDatafilesToRemove, ServerContext context, ServiceLock zooLock)static KeyExtentManagerMetadataUtil. fixSplit(ServerContext context, TabletMetadata meta, ServiceLock lock)static Pair<List<LogEntry>,SortedMap<StoredTabletFile,DataFileValue>>MetadataTableUtil. getFileAndLogEntries(ServerContext context, KeyExtent extent)static WriterMetadataTableUtil. getMetadataTable(ServerContext context)static WriterMetadataTableUtil. getRootTable(ServerContext context)static voidListVolumesUsed. listVolumes(ServerContext context)static voidSystemPropUtil. modifyProperties(ServerContext context, long version, Map<String,String> properties)static voidMetadataTableUtil. putLockID(ServerContext context, ServiceLock zooLock, Mutation m)static Collection<? extends TabletFile>FileUtil. reduceFiles(ServerContext context, TableConfiguration tableConf, org.apache.hadoop.io.Text prevEndRow, org.apache.hadoop.io.Text endRow, Collection<? extends TabletFile> dataFiles, int maxFiles, org.apache.hadoop.fs.Path tmpDir, int pass)static voidPropUtil. removeProperties(ServerContext context, PropStoreKey<?> propStoreKey, Collection<String> propertyNames)static voidSystemPropUtil. removePropWithoutDeprecationWarning(ServerContext context, String property)static voidMetadataTableUtil. removeScanFiles(KeyExtent extent, Set<StoredTabletFile> scanFiles, ServerContext context, ServiceLock zooLock)static voidSystemPropUtil. removeSystemProperty(ServerContext context, String property)static voidMetadataTableUtil. removeUnusedWALEntries(ServerContext context, KeyExtent extent, List<LogEntry> entries, ServiceLock zooLock)static voidManagerMetadataUtil. replaceDatafiles(ServerContext context, KeyExtent extent, Set<StoredTabletFile> datafilesToDelete, Set<StoredTabletFile> scanFiles, Optional<StoredTabletFile> path, Long compactionId, DataFileValue size, TServerInstance tServerInstance, TabletMetadata.Location lastLocation, ServiceLock zooLock, Optional<ExternalCompactionId> ecid)static voidPropUtil. replaceProperties(ServerContext context, PropStoreKey<?> propStoreKey, long version, Map<String,String> properties)static voidMetadataTableUtil. rollBackSplit(org.apache.hadoop.io.Text metadataEntry, org.apache.hadoop.io.Text oldPrevEndRow, ServerContext context, ServiceLock zooLock)static voidPropUtil. setProperties(ServerContext context, PropStoreKey<?> propStoreKey, Map<String,String> properties)Method to set provided properties for the provided AbstractId.static voidSystemPropUtil. setSystemProperty(ServerContext context, String property, String value)static voidMetadataTableUtil. splitTablet(KeyExtent extent, org.apache.hadoop.io.Text oldPrevEndRow, double splitRatio, ServerContext context, ServiceLock zooLock, Set<ExternalCompactionId> ecids)static <T extends TabletFile>
Map<T,FileUtil.FileInfo>FileUtil. tryToGetFirstAndLastRows(ServerContext context, TableConfiguration tableConf, Set<T> dataFiles)static voidMetadataTableUtil. update(ServerContext context, Writer t, ServiceLock zooLock, Mutation m, KeyExtent extent)static voidMetadataTableUtil. update(ServerContext context, ServiceLock zooLock, Mutation m, KeyExtent extent)static voidMetadataTableUtil. updateTabletCompactID(KeyExtent extent, long compactID, ServerContext context, ServiceLock zooLock)static Optional<StoredTabletFile>ManagerMetadataUtil. updateTabletDataFile(ServerContext context, KeyExtent extent, ReferencedTabletFile newDatafile, DataFileValue dfv, MetadataTime time, TServerInstance tServerInstance, ServiceLock zooLock, Set<String> unusedWalLogs, TabletMetadata.Location lastLocation, long flushId)Update tablet file data from flush.static Map<StoredTabletFile,DataFileValue>MetadataTableUtil. updateTabletDataFile(long tid, KeyExtent extent, Map<ReferencedTabletFile,DataFileValue> estSizes, MetadataTime time, ServerContext context, ServiceLock zooLock)static voidMetadataTableUtil. updateTabletFlushID(KeyExtent extent, long flushID, ServerContext context, ServiceLock zooLock)static voidMetadataTableUtil. updateTabletVolumes(KeyExtent extent, List<LogEntry> logsToRemove, List<LogEntry> logsToAdd, List<StoredTabletFile> filesToRemove, SortedMap<ReferencedTabletFile,DataFileValue> filesToAdd, ServiceLock zooLock, ServerContext context) -
Uses of ServerContext in org.apache.accumulo.server.zookeeper
Methods in org.apache.accumulo.server.zookeeper that return ServerContext Modifier and Type Method Description ServerContextDistributedWorkQueue. getContext()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 DistributedWorkQueue(String path, AccumuloConfiguration config, ServerContext context)DistributedWorkQueue(String path, AccumuloConfiguration config, ServerContext context, long timerInitialDelay, long timerPeriod)TransactionWatcher(ServerContext context)ZooArbitrator(ServerContext context)
-