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-security |
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. For details about the service scenarios, see Developing the Project. |
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 C API Introduction. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot