| Package | Description |
|---|---|
| tachyon | |
| tachyon.conf | |
| tachyon.security | |
| tachyon.security.authentication | |
| tachyon.underfs | |
| tachyon.util | |
| tachyon.util.network | |
| tachyon.worker |
| Modifier and Type | Field and Description |
|---|---|
protected TachyonConf |
ClientBase.mTachyonConf |
| Constructor and Description |
|---|
ClientBase(InetSocketAddress address,
TachyonConf tachyonConf,
String mode)
Creates a new client base.
|
MasterClientBase(InetSocketAddress masterAddress,
TachyonConf tachyonConf)
Creates a new master client base.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TachyonConf.merge(TachyonConf alternateConf)
Merge the current configuration properties with another one.
|
| Modifier and Type | Method and Description |
|---|---|
static User |
LoginUser.get(TachyonConf conf)
Gets current singleton login user.
|
| Modifier and Type | Method and Description |
|---|---|
static AuthenticationProvider |
AuthenticationProvider.Factory.getAuthenticationProvider(AuthType authType,
TachyonConf conf) |
static org.apache.thrift.transport.TTransport |
AuthenticationUtils.getClientTransport(TachyonConf tachyonConf,
InetSocketAddress serverAddress)
Creates a transport per the connection options.
|
static org.apache.thrift.transport.TTransportFactory |
PlainSaslUtils.getPlainServerTransportFactory(AuthType authType,
TachyonConf conf)
For server side, get a PLAIN mechanism TTransportFactory.
|
static org.apache.thrift.transport.TTransportFactory |
AuthenticationUtils.getServerTransportFactory(TachyonConf tachyonConf)
For server side, this method returns a TTransportFactory based on the auth type.
|
| Modifier and Type | Field and Description |
|---|---|
protected TachyonConf |
UnderFileSystem.mTachyonConf |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
UnderFileSystem.connectFromMaster(TachyonConf conf,
String hostname)
Takes any necessary actions required to establish a connection to the under file system from
the given master host e.g.
|
abstract void |
UnderFileSystem.connectFromWorker(TachyonConf conf,
String hostname)
Takes any necessary actions required to establish a connection to the under file system from
the given worker host e.g.
|
static UnderFileSystem |
UnderFileSystemRegistry.create(String path,
TachyonConf tachyonConf,
Object ufsConf)
Creates a client for operations involved with the under file system.
|
UnderFileSystem |
UnderFileSystemFactory.create(String path,
TachyonConf tachyonConf,
Object ufsConf)
Creates a new client for accessing the given path
|
static UnderFileSystemFactory |
UnderFileSystemRegistry.find(String path,
TachyonConf tachyonConf)
Finds the first Under File System factory that supports the given path
|
static List<UnderFileSystemFactory> |
UnderFileSystemRegistry.findAll(String path,
TachyonConf tachyonConf)
Finds all the Under File System factories that support the given path
|
static UnderFileSystem |
UnderFileSystem.get(String path,
Object ufsConf,
TachyonConf tachyonConf)
Gets the UnderFileSystem instance according to its scheme and configuration.
|
static UnderFileSystem |
UnderFileSystem.get(String path,
TachyonConf tachyonConf)
Gets the UnderFileSystem instance according to its schema.
|
static boolean |
UnderFileSystem.isHadoopUnderFS(String path,
TachyonConf tachyonConf)
Determines if the given path is on a Hadoop under file system
To decide if a path should use the hadoop implementation, we check
String.startsWith(String) to see if the configured schemas are found. |
static Pair<String,String> |
UnderFileSystem.parse(TachyonURI path,
TachyonConf tachyonConf)
Transform an input string like hdfs://host:port/dir, hdfs://host:port, file:///dir, /dir into a
pair of address and path.
|
boolean |
UnderFileSystemFactory.supportsPath(String path,
TachyonConf tachyonConf)
Gets whether this factory supports the given path and thus whether calling the
UnderFileSystemFactory.create(String, TachyonConf, Object) can succeed for this path |
| Constructor and Description |
|---|
UnderFileSystem(TachyonConf tachyonConf) |
| Modifier and Type | Method and Description |
|---|---|
static void |
UnderFileSystemUtils.deleteDir(String path,
TachyonConf tachyonConf)
Deletes the directory at the given path.
|
static boolean |
LineageUtils.isLineageEnabled(TachyonConf conf) |
static void |
UnderFileSystemUtils.mkdirIfNotExists(String path,
TachyonConf tachyonConf)
Attempts to create the directory if it does not already exist.
|
static void |
UnderFileSystemUtils.touch(String path,
TachyonConf tachyonConf)
Creates an empty file.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
NetworkAddressUtils.assertValidPort(InetSocketAddress address,
TachyonConf tachyonConf) |
static void |
NetworkAddressUtils.assertValidPort(int port,
TachyonConf tachyonConf) |
static InetSocketAddress |
NetworkAddressUtils.getBindAddress(NetworkAddressUtils.ServiceType service,
TachyonConf conf)
Helper method to get the
InetSocketAddress bind address on a given service. |
static InetSocketAddress |
NetworkAddressUtils.getConnectAddress(NetworkAddressUtils.ServiceType service,
TachyonConf conf)
Helper method to get the
InetSocketAddress address for client to communicate with the
service. |
static String |
NetworkAddressUtils.getConnectHost(NetworkAddressUtils.ServiceType service,
TachyonConf conf)
Provides an externally resolvable hostname for client to communicate with the service.
|
static String |
NetworkAddressUtils.getLocalHostName(TachyonConf conf)
Gets a local host name for the host this JVM is running on
|
static String |
NetworkAddressUtils.getLocalIpAddress(TachyonConf conf)
Gets a local IP address for the host this JVM is running on
|
static int |
NetworkAddressUtils.getPort(NetworkAddressUtils.ServiceType service,
TachyonConf conf)
Gets the port number on a given service type.
|
| Constructor and Description |
|---|
WorkerClient(NetAddress workerNetAddress,
ExecutorService executorService,
TachyonConf conf,
long sessionId,
boolean isLocal,
ClientMetrics clientMetrics)
Creates a WorkerClient.
|
Copyright © 2015. All Rights Reserved.