Scenario Description
Scenario Description
You can quickly learn and master the Alluxio development process and know key interface functions in a typical application scenario.
Service operation objects of Alluxio are files. File operations covered by sample codes include creating a folder, reading a file, and writing data to a file. You can learn how to perform other operations on the Alluxio, such as setting file access permissions, based on sample codes.
Sample codes are described in the following sequence:
- Initializing the file system
- Writing data to a file
- Reading a file
Development guidelines
- Invoke the create API in FileSystem to obtain the file system client.
- Invoke the createFile API in FileSystem to create a file.
- Invoke the write API in FileOutStream to write a file.
- Invoke the openFile API in FileSystem to create a file.
- Invoke the in API in fileSystem to read the file.
Last Article: Application Development
Next Article: Initializing Alluxio
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.