The Huawei Cloud MRS example code include HBase, HDFS, Hive, Kafka, Mapreduce, Presto, Spark, Storm. You can get started in minutes using Maven.
-
Branch mrs-2.0 is for MRS 2.0.X version
-
Branch mrs-1.9 is for MRS 1.9.X version
-
Branch mrs-1.8 is for MRS 1.8.X version
Components mapping:
Component\MRS version | MRS 1.8.X | MRS 1.9.X | MRS 2.0.X |
---|---|---|---|
Zookeeper | 3.5.1 | 3.5.1 | 3.5.1 |
Hadoop | 2.8.3 | 2.8.3 | 3.1.1 |
HBase | 1.3.1 | 1.3.1 | 2.1.1 |
OpenTSDB | 2.3.0 | 2.3.0 | NA |
Tez | NA | 0.9.1 | 0.9.1 |
Hive | 1.3.0 | 2.3.3 | 3.1.0 |
Hive_Spark | 1.2.1 | 1.2.1 | 1.2.1 |
Spark | 2.2.1 | 2.2.2 | 2.3.2 |
Carbon | 1.6.1 | 1.6.1 | 1.5.1 |
Presto | 0.215 | 0.216 | 308 |
Kafka | 1.1.0 | 1.1.0 | 1.1.0 |
KafkaManager | 1.3.3.18 | 1.3.3.1 | 1.3.3.18 |
Flink | 1.7.0 | 1.7.0 | NA(Plan to support) |
Storm | 1.2.1 | 1.2.1 | 1.2.1 |
Flume | 1.6.0 | 1.6.0 | 1.6.0 |
Hue | 3.11.0 | 3.11.0 | 3.11.0 |
Loader(Sqoop) | 1.99.7 | 1.99.7 | 1.99.7 |
- 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