Skip to content

huaweicloud/huaweicloud-mrs-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

Huawei Cloud MRS example code

The Huawei Cloud MRS example code include HBase, HDFS, Hive, Kafka, Mapreduce, Presto, Spark, Storm. You can get started in minutes using Maven.

MRS component versions:

MRS component versions

Quick Links:

Getting Started

For more details, please ref to MRS's Deveployer Guide.

Requirements

To run the examples required:

  • Java 1.8+
  • Maven 3.0+

Specify the Maven Repository

​ 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>

Building From Source

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

License

Apache License 2.0