The Huawei Cloud MRS example code include HBase, HDFS, Hive, Kafka, Mapreduce, Presto, Spark, Storm. You can get started in minutes using Maven.
- Sample Course, can get the introductory tutorial of MRS.
- MRS Homepage, or Chinese language site MapReduce服务
- Deveployer Guide
- MRS Forum
For more details, please ref to MRS's Deveployer Guide.
To run the examples required:
- Java 1.8+
- Maven 3.0+
Set the repository in your local setting.xml of maven
<mirror>
<id>repo2</id>
<mirrorOf>central</mirrorOf>
<url>http://repo2.maven.org/maven2/</url>
</mirror>
<profile>
<id>huaweicloudsdk</id>
<repositories>
<repository>
<id>huaweicloudsdk</id>
<url>https://repo.huaweicloud.com/repository/maven/huaweicloudsdk/</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
</profile>
<activeProfile>huaweicloudsdk</activeProfile>
Once you check out the code from GitHub, you can build it using maven for every child project, eg:
cd huaweicloud-mrs-example\src\presto-examples
mvn clean install