HDFS Sample Project
To obtain an MRS sample project, visit https://github.com/huaweicloud/huaweicloud-mrs-example and switch to the branch that matches the MRS cluster version. Download the package to the local PC and decompress it to obtain the sample project of each component.
|
Location |
Description |
|---|---|
|
hdfs-example-normal |
Java example program for HDFS file operations. This project provides API operation examples related to creating HDFS folders, writing files, appending file content, reading files, and deleting files or folders. |
|
hdfs-c-example |
HDFS C language development code sample. This example provides C language-based HDFS file system connection and file operations, such as creating, reading, writing, appending, and deleting files. For details about the service scenarios, see HDFS C APIs. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.