Skip navigation links

Package alluxio.worker

Worker process and utils for working with the worker remotely.

See: Description

Package alluxio.worker Description

Worker process and utils for working with the worker remotely. Main entry point for the worker is AlluxioWorker.main(java.lang.String[]) which gets started by the alluxio start scripts. The WorkerProcess spins up the different RPC services (thrift, data) which are mostly wrappers around BlockWorker.

Services

DataServer

This service is the main interaction between users and worker for reading and writing blocks. The DataServer interface defines how to start/stop, and get port details; to start, object init is used. The implementation of this interface is in NettyDataServer. It creates an DataServer instance based on Netty which is an asynchronous event-driven network application framework. Data server handles the following types of block requests: The current protocol is described in Protocol. All the requests are generated by Protobuf to keep the protocol extensible but also backward-compatible.

Thrift

The thrift service on worker side has been deprecated since v1.5. It used to serve metadata operations (with a few operations that effect the worker's cached memory) such as lock unlock, access, request space for blocks. It has been completely replaced by the DataServer service.
Skip navigation links

Copyright © 2023. All Rights Reserved.