diff --git a/Others/jenkins/2.502/24.03-lts-sp1/Dockerfile b/Others/jenkins/2.502/24.03-lts-sp1/Dockerfile index e4589f0949136e9232f2d359d09b08d200a88ed3..e9708982a08199e7281922bb3dab7d78b66d7f63 100644 --- a/Others/jenkins/2.502/24.03-lts-sp1/Dockerfile +++ b/Others/jenkins/2.502/24.03-lts-sp1/Dockerfile @@ -17,4 +17,4 @@ ENV PATH=$PATH:/usr/local/maven/bin RUN git clone -b jenkins-${VERSION} https://github.com/jenkinsci/jenkins.git && \ cd jenkins && \ - mvn clean install -Dmaven.test.skip=true + mvn clean install -Dmaven.test.skip=true \ No newline at end of file diff --git a/Storage/drill/README.md b/Storage/drill/README.md new file mode 100644 index 0000000000000000000000000000000000000000..d1e2279d7ad0ea2a289626e9159ed62b3ec341b5 --- /dev/null +++ b/Storage/drill/README.md @@ -0,0 +1,68 @@ +# Quick reference + +- The official Apache Drill docker image. + +- Maintained by: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative). + +- Where to get help: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative), [openEuler](https://gitee.com/openeuler/community). + +# Apache Drill | openEuler +Current Apache Drill docker images are built on the [openEuler](https://repo.openeuler.org/). This repository is free to use and exempted from per-user rate limits. + +Apache Drill is a distributed MPP query layer that supports SQL and alternative query languages against NoSQL and Hadoop data storage systems. It was inspired in part by Google's Dremel. + +Learn more on [Apache Drill Documentation](https://drill.apache.org/docs/). + +# Supported tags and respective Dockerfile links +The tag of each `drill` docker image is consist of the version of `drill` and the version of basic image. The details are as follows + +| Tag | Currently | Architectures | +|-----------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------|---------------| +| [1.21.2-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Storage/drill/1.21.2/24.03-lts-sp1/Dockerfile) | Apache Drill 1.21.2 on openEuler 24.03-LTS-SP1 | amd64, arm64 | + +# Usage +In this usage, users can select the corresponding `{Tag}` based on their requirements. + +- Pull the `openeuler/drill` image from docker + + ```bash + docker pull openeuler/drill:{Tag} + ``` + +- Run with an interactive shell + + Run the following command to launch an interactive Apache Drill container and expose the Web UI port `8047` to you host: + ``` + docker run -it --rm -p 8047:8047 openeuler/drill + ``` + + When the container starts, you'll see the sqlline shell prompt like: + ``` + apache drill> + ``` + + You can immediately sun SQL queries inside the shell, for example: + ``` + apache drill> SELECT * FROM cp.`employee.json` LIMIT 5; + +-------------+-----------------+------------+-----------+-------------+------------------------+----------+---------------+------------+-----------------------+---------+---------------+------------------+----------------+--------+-------------------+----------+ + | employee_id | full_name | first_name | last_name | position_id | position_title | store_id | department_id | birth_date | hire_date | salary | supervisor_id | education_level | marital_status | gender | management_role | end_date | + +-------------+-----------------+------------+-----------+-------------+------------------------+----------+---------------+------------+-----------------------+---------+---------------+------------------+----------------+--------+-------------------+----------+ + | 1 | Sheri Nowmer | Sheri | Nowmer | 1 | President | 0 | 1 | 1961-08-26 | 1994-12-01 00:00:00.0 | 80000.0 | 0 | Graduate Degree | S | F | Senior Management | null | + | 2 | Derrick Whelply | Derrick | Whelply | 2 | VP Country Manager | 0 | 1 | 1915-07-03 | 1994-12-01 00:00:00.0 | 40000.0 | 1 | Graduate Degree | M | M | Senior Management | null | + | 4 | Michael Spence | Michael | Spence | 2 | VP Country Manager | 0 | 1 | 1969-06-20 | 1998-01-01 00:00:00.0 | 40000.0 | 1 | Graduate Degree | S | M | Senior Management | null | + | 5 | Maya Gutierrez | Maya | Gutierrez | 2 | VP Country Manager | 0 | 1 | 1951-05-10 | 1998-01-01 00:00:00.0 | 35000.0 | 1 | Bachelors Degree | M | F | Senior Management | null | + | 6 | Roberta Damstra | Roberta | Damstra | 3 | VP Information Systems | 0 | 2 | 1942-10-08 | 1994-12-01 00:00:00.0 | 25000.0 | 1 | Bachelors Degree | M | F | Senior Management | null | + +-------------+-----------------+------------+-----------+-------------+------------------------+----------+---------------+------------+-----------------------+---------+---------------+------------------+----------------+--------+-------------------+----------+ + 5 rows selected (3.456 seconds) + ``` + This will return sample rows from the `emploee.json` example file. + +- Access the Drill Web Console + + By default, Apache Drill's Web Console runs at: + ``` + http://localhost:8047 + ``` + +# Question and answering +If you have any questions or want to use some special features, please submit an issue or a pull request on [openeuler-docker-images](https://gitee.com/openeuler/openeuler-docker-images). \ No newline at end of file diff --git a/Storage/drill/doc/image-info.yml b/Storage/drill/doc/image-info.yml new file mode 100644 index 0000000000000000000000000000000000000000..345e9e05eeeb9fb78e51f14e3df8db5f52e7631b --- /dev/null +++ b/Storage/drill/doc/image-info.yml @@ -0,0 +1,63 @@ +name: drill +category: storage +description: AApache Drill 是一个高性能、分布式 SQL 查询引擎。 +environment: | + 本应用在Docker环境中运行,安装Docker执行如下命令 + ``` + yum install -y docker + ``` +tags: | + drill镜像的Tag由其版本信息和基础镜像版本信息组成,详细内容如下 + + | Tag | Currently | Architectures | + |----------|-------------|------------------| + |[1.21.2-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Storage/drill/1.21.2/24.03-lts-sp1/Dockerfile)| Apache Drill 1.21.2 on openEuler 24.03-LTS-SP1 | amd64, arm64 | + +download: | + 拉取镜像到本地 + ``` + docker pull openeuler/drill:{Tag} + ``` + +usage: | + - 使用交互式 Shell 启动容器 + + 运行以下命令,启动一个交互式的 Apache Drill 容器,并将 Web UI 的端口 `8047` 映射到你的主机: + ``` + docker run -it --rm -p 8047:8047 openeuler/drill + ``` + + 当容器启动后,你会看到类似下面这样的 `sqlline Shell` 提示符: + ``` + apache drill> + ``` + + 你可以直接在这个 Shell 中执行 SQL 查询,例如: + ``` + apache drill> SELECT * FROM cp.`employee.json` LIMIT 5; + +-------------+-----------------+------------+-----------+-------------+------------------------+----------+---------------+------------+-----------------------+---------+---------------+------------------+----------------+--------+-------------------+----------+ + | employee_id | full_name | first_name | last_name | position_id | position_title | store_id | department_id | birth_date | hire_date | salary | supervisor_id | education_level | marital_status | gender | management_role | end_date | + +-------------+-----------------+------------+-----------+-------------+------------------------+----------+---------------+------------+-----------------------+---------+---------------+------------------+----------------+--------+-------------------+----------+ + | 1 | Sheri Nowmer | Sheri | Nowmer | 1 | President | 0 | 1 | 1961-08-26 | 1994-12-01 00:00:00.0 | 80000.0 | 0 | Graduate Degree | S | F | Senior Management | null | + | 2 | Derrick Whelply | Derrick | Whelply | 2 | VP Country Manager | 0 | 1 | 1915-07-03 | 1994-12-01 00:00:00.0 | 40000.0 | 1 | Graduate Degree | M | M | Senior Management | null | + | 4 | Michael Spence | Michael | Spence | 2 | VP Country Manager | 0 | 1 | 1969-06-20 | 1998-01-01 00:00:00.0 | 40000.0 | 1 | Graduate Degree | S | M | Senior Management | null | + | 5 | Maya Gutierrez | Maya | Gutierrez | 2 | VP Country Manager | 0 | 1 | 1951-05-10 | 1998-01-01 00:00:00.0 | 35000.0 | 1 | Bachelors Degree | M | F | Senior Management | null | + | 6 | Roberta Damstra | Roberta | Damstra | 3 | VP Information Systems | 0 | 2 | 1942-10-08 | 1994-12-01 00:00:00.0 | 25000.0 | 1 | Bachelors Degree | M | F | Senior Management | null | + +-------------+-----------------+------------+-----------+-------------+------------------------+----------+---------------+------------+-----------------------+---------+---------------+------------------+----------------+--------+-------------------+----------+ + 5 rows selected (3.456 seconds) + ``` + 这条查询会返回示例文件 employee.json 中的部分数据。 + + - 访问 Drill Web 控制台 + + 默认情况下,Apache Drill 的 Web 控制台运行在: + ``` + http://localhost:8047 + ``` + +license: Apache-2.0 license +similar_packages: + - Presto:高性能分布式查询引擎,支持多数据源(Hive、S3、MySQL、Kafka 等),比 Drill 社区活跃度高,支持 ANSI SQL,主要用于交互式分析和联邦查询。 + - Apache Hive: Hadoop 上经典的数据仓库,支持批处理和 HiveQL(类 SQL),但传统 Hive 使用 MapReduce 速度较慢,需与 Tez/Spark 集成加速。 +dependency: + - openjdk \ No newline at end of file diff --git a/Storage/drill/doc/picture/logo.jpg b/Storage/drill/doc/picture/logo.jpg new file mode 100644 index 0000000000000000000000000000000000000000..d201568195b1d7254879a5b7a129d792893dd284 Binary files /dev/null and b/Storage/drill/doc/picture/logo.jpg differ diff --git a/Storage/image-list.yml b/Storage/image-list.yml index e922c8ac1f53ddefe70cdb7908b70a3ed6ad5ce6..72e060045169469331e461ab075cf12f0a014d63 100644 --- a/Storage/image-list.yml +++ b/Storage/image-list.yml @@ -14,3 +14,4 @@ images: lustre: lustre curve: curve ceph: ceph + sheepdog: sheepdog diff --git a/Storage/sheepdog/README.md b/Storage/sheepdog/README.md new file mode 100644 index 0000000000000000000000000000000000000000..9af3e303e26d425f77fddbe56aec840690a443f1 --- /dev/null +++ b/Storage/sheepdog/README.md @@ -0,0 +1,78 @@ +# Quick reference + +- The official sheepdog docker image. + +- Maintained by: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative). + +- Where to get help: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative), [openEuler](https://gitee.com/openeuler/community). + +# sheepdog | openEuler +Current sheepdog docker images are built on the [openEuler](https://repo.openeuler.org/). This repository is free to use and exempted from per-user rate limits. + +Sheepdog is a distributed storage system for QEMU. It provides +highly available block level storage volumes to virtual machines. +Sheepdog supports advanced volume management features such as snapshot, +cloning, and thin provisioning. + +Learn more on [sheepdog Website](https://sheepdog.github.io/sheepdog/). + +# Supported tags and respective Dockerfile links +The tag of each `sheepdog` docker image is consist of the version of `sheepdog` and the version of basic image. The details are as follows + +| Tag | Currently | Architectures | +|------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------|---------------| +| [1.0.1-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Storage/sheepdog/1.0.1/24.03-lts-sp1/Dockerfile) | sheepdog 1.0.1 on openEuler 24.03-LTS-SP1 | amd64, arm64 | + +# Usage +In this usage, users can select the corresponding `{Tag}` based on their requirements. + +- Pull the `openeuler/sheepdog` image from docker + + ```bash + docker pull openeuler/sheepdog:{Tag} + ``` + +- Run with an interactive shell + + You can also start the container with an interactive shell to use sheepdog. + ``` + docker run -it --rm openeuler/sheepdog:{Tag} bash + ``` + +- Set up the storage environment + + Create a directory for sheepdog storage + ``` + mkdir -p /home/storage + ``` + +- Start the sheepdog daemon + + The `-c local` flag runs sheepdog in standalone mode(no cluster). + ``` + sheep /home/store/ -c local + ``` + +- Initialize the cluster + + The `--copies=2` flag ensures data redundancy by storing two copies. + ``` + collie cluster format --copies=2 + ``` + +- Create a virtual disk image (VDI) + + Create a 10GB volume named `myvolume` + ``` + collie vdi create myvolume 10G + ``` + +- Verify the volume + + List available volumes + ``` + collie vdi list + ``` + +# Question and answering +If you have any questions or want to use some special features, please submit an issue or a pull request on [openeuler-docker-images](https://gitee.com/openeuler/openeuler-docker-images). \ No newline at end of file diff --git a/Storage/sheepdog/doc/image-info.yml b/Storage/sheepdog/doc/image-info.yml new file mode 100644 index 0000000000000000000000000000000000000000..6c6b8649c05443f3584cf9d6da08a1ddab982f8d --- /dev/null +++ b/Storage/sheepdog/doc/image-info.yml @@ -0,0 +1,72 @@ +name: sheepdog +category: storage +description: Sheepdog 是一个开源的分布式存储系统,专为 QEMU/KVM 虚拟化环境设计,提供块存储服务。 +environment: | + 本应用在Docker环境中运行,安装Docker执行如下命令 + ``` + yum install -y docker + ``` +tags: | + sheepdog镜像的Tag由其版本信息和基础镜像版本信息组成,详细内容如下 + + | Tag | Currently | Architectures | + |----------|-------------|------------------| + |[1.0.1-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Storage/sheepdog/1.0.1/24.03-lts-sp1/Dockerfile)| sheepdog 1.0.1 on openEuler 24.03-LTS-SP1 | amd64, arm64 | + +download: | + 拉取镜像到本地 + ``` + docker pull openeuler/sheepdog:{Tag} + ``` + +usage: | + - 使用交互式 Shell 启动容器 + + 你可以用交互式 shell 启动容器来运行 sheepdog: + ``` + docker run -it --rm --privileged openeuler/sheepdog:{Tag} bash + ``` + + - 设置存储环境 + + 为sheepdog创建存储目录 + ``` + mkdir -p /home/storage + ``` + + - 启动sheepdog守护进程 + + `-c local`参数表示以单机模式运行(非集群模式) + ``` + sheep /home/store/ -c local + ``` + + - 初始化集群 + + `--copies=2`参数存储两份副本 + ``` + collie cluster format --copies=2 + ``` + + - 创建虚拟磁盘镜像(VDI) + + 创建一个名为`myvolume`的10GB存储卷 + ``` + collie vdi create myvolume 10G + ``` + + - 验证存储卷 + + 列出所有可用存储卷 + ``` + collie vdi list + ``` + +license: GPL-2.0 license +similar_packages: + - Ceph:开源的、分布式存储系统,设计目标是高性能、高可用、无限扩展(scale-out)。 +dependency: + - yasm + - corosynclib + - corosync + - userspace-rcu \ No newline at end of file diff --git a/Storage/sheepdog/doc/picture/logo.png b/Storage/sheepdog/doc/picture/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..f76de713d798758f1442dbac329edbb79af95927 Binary files /dev/null and b/Storage/sheepdog/doc/picture/logo.png differ