-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor project structure to support additional modules (#333)
For example, adapters for other benchmarking tools.
- Loading branch information
Showing
1,119 changed files
with
854 additions
and
690 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,7 +90,7 @@ jobs: | |
id: yaml-data | ||
uses: jbutcher5/[email protected] | ||
with: | ||
file: './src/test/resources/config/spark/experiment_config-${{ matrix.lst }}.yaml' | ||
file: './core/src/test/resources/config/spark/experiment_config-${{ matrix.lst }}.yaml' | ||
key-path: '["parameter_values", "external_data_path"]' | ||
- name: Write properties to environment | ||
run: echo "external_data_path=${{ steps.yaml-data.outputs.data }}" >> $GITHUB_ENV | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "adapters/cab-converter/cab"] | ||
path = adapters/cab-converter/cab | ||
url = https://github.com/alexandervanrenen/cab |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<!-- | ||
{% comment %} | ||
Copyright (c) Microsoft Corporation. | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
{% endcomment %} | ||
--> | ||
|
||
# Cloud Analytics Benchmark (CAB) to LST-Bench Converter | ||
|
||
This module converts output files from the Cloud Analytics Benchmark (CAB) to the format accepted by the LST-Bench framework. | ||
The CAB repository is included as a Git submodule, and you can build it separately using the instructions provided in its own `README` file. | ||
|
||
## Setup Instructions | ||
|
||
### 1. Clone the LST-Bench Project with Submodules | ||
To get the `cab-converter` project, you need to clone the main LST-Bench repository and ensure the CAB submodule is initialized. | ||
|
||
Run the following command to clone the repository with all submodules: | ||
|
||
```bash | ||
git clone --recurse-submodules https://github.com/microsoft/lst-bench.git | ||
``` | ||
|
||
If you've already cloned the repository without the submodules, you can initialize them manually by running: | ||
|
||
```bash | ||
cd adapters/cab-converter | ||
git submodule update --init --recursive | ||
``` | ||
|
||
This will pull in the CAB repository under the `cab` directory. | ||
|
||
### 2. Build the CAB Project | ||
The CAB project is a separate C++ application with its own build process. For platform-specific build instructions (Linux, macOS, Windows), refer to the CAB `README` located in the `cab` submodule. | ||
|
||
### 3. Using the CAB to LST-Bench Converter | ||
Once CAB is built and its output files are generated, you can run the `cab-converter` to transform those files into the format required by LST-Bench. | ||
|
||
#### Running the Converter | ||
_TODO: Add more details here._ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<groupId>com.microsoft.lst-bench</groupId> | ||
<artifactId>lst-bench</artifactId> | ||
<version>0.1-SNAPSHOT</version> | ||
<relativePath>../../pom.xml</relativePath> <!-- Reference parent POM --> | ||
</parent> | ||
|
||
<artifactId>lst-bench-cab-converter</artifactId> | ||
<name>LST-Bench Project CAB Converter</name> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>com.fasterxml.jackson.core</groupId> | ||
<artifactId>jackson-databind</artifactId> | ||
<version>${jackson.version}</version> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>${maven-compile-plugin.version}</version> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
artifactId=lst-bench-cab-converter | ||
groupId=com.microsoft.lst-bench | ||
version=0.1-SNAPSHOT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.