Skip to content

Commit

Permalink
spark v1.0.0 and openLooKeng v1.0.0 tag
Browse files Browse the repository at this point in the history
  • Loading branch information
tushengxia committed Apr 14, 2022
1 parent 552764e commit 1cde127
Show file tree
Hide file tree
Showing 555 changed files with 116,824 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*.iml
*.ipr
*.iws
.idea/
target/
5 changes: 5 additions & 0 deletions omnidata/omnidata-openlookeng-connector/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*.iml
*.ipr
*.iws
.idea/
target/
32 changes: 31 additions & 1 deletion omnidata/omnidata-openlookeng-connector/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,31 @@
# omnidata-openlookeng-connector
# OmniData Connector

## Overview

OmniData Connector is a data source connector developed for openLooKeng.

The OmniData connector allows querying data sources where c Server is deployed. It pushes down some operators such as filter to the OmniData service close to the storage to improve the performance of storage-computing-separated system.

## Building OmniData Connector

1. OmniData Connector is developed under the architecture of openLooKeng. You need to build openLooKeng first as a non-root user.
2. Simply run the following command from the project root directory:<br>
`mvn clean install -Dos.detected.arch="aarch64"`<br>
Then you will find omnidata-openlookeng-connector-*.zip under the omnidata-openlookeng-connector/connector/target/ directory.
OmniData Connector has a comprehensive set of unit tests that can take several minutes to run. You can disable the tests when building:<br>
`mvn clean install -DskipTests -Dos.detected.arch="aarch64"`<br>

## Deploying OmniData Connector

1. Unzip omnidata-openlookeng-connector-*.zip to the plugin directory of openLooKeng.
2. Obtain the latest OmniData software package, replace the boostkit-omnidata-client-\*.jar and boostkit-omnidata-core-\*.jar in the omnidata-openlookeng-connector-\* directory.
3. Set "connector.name=omnidata-openlookeng" in the openLooKeng catalog properties file.

## Contribution Guidelines

Track the bugs and feature requests via GitHub issues.

## More Information

For further assistance, send an email to [email protected].

9 changes: 9 additions & 0 deletions omnidata/omnidata-openlookeng-connector/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
# Building omniData openLooKeng Connector packages
# Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. All rights reserved.

set -e

cpu_name=$(lscpu | grep Architecture | awk '{print $2}')
mvn -T12 clean install -Dos.detected.arch="${cpu_name}"

Loading

0 comments on commit 1cde127

Please sign in to comment.