Skip to content

Commit

Permalink
Merge branch 'master' into feature/leader-write
Browse files Browse the repository at this point in the history
  • Loading branch information
SpriCoder committed May 22, 2024
2 parents 9a4bca0 + f1d8fce commit 3968c40
Show file tree
Hide file tree
Showing 979 changed files with 20,958 additions and 43,099 deletions.
1 change: 1 addition & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
# To use it by default in git blame:
# git config blame.ignoreRevsFile .git-blame-ignore-revs
70fc76de8b5a032269b2d4f10b956d045b0e95ec
352269f3ded6f27374b8bf77f155d1369b7513fb
7 changes: 3 additions & 4 deletions .github/workflows/client-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,14 @@ jobs:
if: matrix.os == 'ubuntu-latest'
shell: bash
run: sudo apt-get update && sudo apt-get install libboost-all-dev
- name: Install CPP Dependencies (Mac)`
- name: Install CPP Dependencies (Mac)
if: matrix.os == 'macos-latest'
shell: bash
run: |
brew install boost
brew install bison
echo 'export PATH="/usr/local/opt/bison/bin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile && export LDFLAGS="-L/usr/local/opt/bison/lib"
brew install openssl
echo 'export PATH="/opt/homebrew/opt/bison/bin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile && export LDFLAGS="-L/opt/homebrew/opt/bison/lib"
- name: Cache Maven packages
uses: actions/cache@v4
with:
Expand Down
68 changes: 0 additions & 68 deletions .github/workflows/grafana-plugin.yml

This file was deleted.

7 changes: 0 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,7 @@ tsfile-jdbc/src/main/resources/output/queryRes.csv
### CSV ###
*.csv
### Maven ###
grafana/target/
!grafana/.mvn/wrapper/maven-wrapper.jar
grafana/.mvn/

grafana/logs/
*.log


Expand All @@ -83,13 +79,10 @@ grafana/logs/
**/dist/
**/nbdist/
**/.nb-gradle/
grafana/data/

### vscode project
**/.vscode/


grafana/data/test.csv
**/lib/
/target/
*.tsfile
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ pipeline {
steps {
echo 'Deploying'
// Deploy the artifacts using the wagon-maven-plugin.
sh 'mvn -f jenkins.pom -X -P deploy-snapshots wagon:upload -P get-jar-with-dependencies'
sh 'until mvn -f jenkins.pom -X -P deploy-snapshots wagon:upload || (( count++ >= 5 )); do echo "Retrying to deploy"; done'
}
}

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ The server can be stopped with "ctrl-C" or the following script:
# The use of CSV Import and Export Tool
see [The use of CSV Import and Export Tool](https://iotdb.apache.org/UserGuide/Master/Maintenance-Tools/CSV-Tool.html)
see [The use of CSV Import and Export Tool](https://iotdb.apache.org/UserGuide/latest/Tools-System/Import-Export-Tool.html)
# Frequent Questions for Compiling
see [Frequent Questions when Compiling the Source Code](https://iotdb.apache.org/Development/ContributeGuide.html#_Frequent-Questions-when-Compiling-the-Source-Code)
Expand Down
4 changes: 2 additions & 2 deletions README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -378,10 +378,10 @@ server 可以使用 "ctrl-C" 或者执行下面的脚本:
# 导入导出CSV工具
查看 [导入导出CSV工具](https://iotdb.apache.org/zh/UserGuide/Master/Maintenance-Tools/CSV-Tool.html)
查看 [导入导出CSV工具](https://iotdb.apache.org/zh/UserGuide/latest/Tools-System/Import-Export-Tool.html)
# 常见编译错误
查看 [常见编译错误](https://iotdb.apache.org/zh/Development/ContributeGuide.html#%E5%B8%B8%E8%A7%81%E7%BC%96%E8%AF%91%E9%94%99%E8%AF%AF)
查看 [常见编译错误](https://iotdb.apache.org/zh/Community/Development-Guide.html)
# 联系我们
### QQ群
Expand Down
1 change: 0 additions & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ ignore:
# - "*/interface/thrift/**/*.java" # ignore thrift-gen folders and all its contents
- "**/generated-classes/**/*.java"
- "**/generated-sources/**/*.java"
- "grafana/**/*.java"
- "spark/**/*.java"
- "hadoop/**/*.java"
- "**/pom.xml"
Expand Down
133 changes: 0 additions & 133 deletions distribution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,6 @@
<artifactId>library-udf</artifactId>
<version>1.3.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>spark-iotdb-connector_2.11</artifactId>
<version>1.3.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>spark-iotdb-connector_2.12</artifactId>
<version>1.3.2-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
<plugins>
Expand All @@ -84,8 +74,6 @@
<descriptor>src/assembly/confignode.xml</descriptor>
<descriptor>src/assembly/cli.xml</descriptor>
<descriptor>src/assembly/library-udf.xml</descriptor>
<descriptor>src/assembly/spark-connector.xml</descriptor>
<descriptor>src/assembly/flink-sql-connector.xml</descriptor>
</descriptors>
<finalName>apache-iotdb-${project.version}</finalName>
</configuration>
Expand Down Expand Up @@ -119,80 +107,18 @@
<include>apache-iotdb-${project.version}-cli-bin.zip</include>
<include>apache-iotdb-${project.version}-confignode-bin.zip</include>
<include>apache-iotdb-${project.version}-library-udf-bin.zip</include>
<include>apache-iotdb-${project.version}-spark-connector-bin.zip</include>
<include>apache-iotdb-${project.version}-flink-sql-connector-bin.zip</include>
</includes>
</fileSet>
</fileSets>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-ban-duplicate-classes</id>
<configuration combine.children="append">
<rules>
<banDuplicateClasses>
<ignoreClasses>
<!-- We've got dependencies to both the scala 2.11 and 2.12 versions -->
<ignoreClass>org.apache.iotdb.spark.db.*</ignoreClass>
</ignoreClasses>
</banDuplicateClasses>
</rules>
<fail>true</fail>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>with-cpp</id>
<dependencies>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-server</artifactId>
<version>${project.version}</version>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-cli</artifactId>
<version>${project.version}</version>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-confignode</artifactId>
<version>${project.version}</version>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>library-udf</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>spark-iotdb-connector_2.11</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>spark-iotdb-connector_2.12</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>flink-sql-iotdb-connector</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -242,64 +168,5 @@
</plugins>
</build>
</profile>
<profile>
<id>with-grafana-plugin</id>
<dependencies>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-grafana-plugin</artifactId>
<version>${project.version}</version>
<type>pom</type>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<!-- Package binaries-->
<execution>
<id>all-bin</id>
<goals>
<goal>single</goal>
</goals>
<phase>package</phase>
<configuration>
<descriptors combine.children="append">
<descriptor>src/assembly/grafana-plugin.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
<!--
Create SHA512 checksum files for the release artifacts.
-->
<plugin>
<groupId>net.nicoulaj.maven.plugins</groupId>
<artifactId>checksum-maven-plugin</artifactId>
<executions>
<execution>
<id>sign-source-release</id>
<goals>
<goal>files</goal>
</goals>
<phase>package</phase>
<configuration>
<fileSets>
<fileSet>
<includes combine.children="append">
<include>apache-iotdb-${project.version}-grafana-plugin-bin.zip</include>
</includes>
</fileSet>
</fileSets>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
7 changes: 7 additions & 0 deletions distribution/src/assembly/all.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,13 @@
<!-- <directory>${maven.multiModuleProjectDirectory}/distribution/target/apache-iotdb-${project.version}-all-bin/apache-iotdb-${project.version}-all-bin/confignode</directory>-->
<!-- </fileSet>-->
</fileSets>
<files>
<file>
<source>${maven.multiModuleProjectDirectory}/iotdb-client/cli/src/assembly/resources/conf/logback-backup.xml</source>
<outputDirectory>conf</outputDirectory>
<fileMode>0755</fileMode>
</file>
</files>
<!-- <files>-->
<!-- <file>-->
<!-- <source>${maven.multiModuleProjectDirectory}/server/src/assembly/resources/conf/datanode-env.sh</source>-->
Expand Down
7 changes: 7 additions & 0 deletions distribution/src/assembly/cli.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@
<fileMode>0755</fileMode>
</fileSet>
</fileSets>
<files>
<file>
<source>${maven.multiModuleProjectDirectory}/iotdb-client/cli/src/assembly/resources/conf/logback-backup.xml</source>
<outputDirectory>conf</outputDirectory>
<fileMode>0755</fileMode>
</file>
</files>
<componentDescriptors>
<componentDescriptor>common-files.xml</componentDescriptor>
</componentDescriptors>
Expand Down
Loading

0 comments on commit 3968c40

Please sign in to comment.