diff --git a/README.en.md b/README.en.md deleted file mode 100644 index 81adb3b8f6291db1d86b003776b46d7145b0b311..0000000000000000000000000000000000000000 --- a/README.en.md +++ /dev/null @@ -1,36 +0,0 @@ -# livy - -#### Description -Apache Livy is an open source REST interface for interacting with Apache Spark from anywhere. - -#### Software Architecture -Software architecture description - -#### Installation - -1. xxxx -2. xxxx -3. xxxx - -#### Instructions - -1. xxxx -2. xxxx -3. xxxx - -#### Contribution - -1. Fork the repository -2. Create Feat_xxx branch -3. Commit your code -4. Create Pull Request - - -#### Gitee Feature - -1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md -2. Gitee blog [blog.gitee.com](https://blog.gitee.com) -3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) -4. The most valuable open source project [GVP](https://gitee.com/gvp) -5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) -6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/README.md b/README.md deleted file mode 100644 index 96ed89d8d143bfe2eafd3391e36330ee304cfec5..0000000000000000000000000000000000000000 --- a/README.md +++ /dev/null @@ -1,37 +0,0 @@ -# livy - -#### 介绍 -Apache Livy is an open source REST interface for interacting with Apache Spark from anywhere. - -#### 软件架构 -软件架构说明 - - -#### 安装教程 - -1. xxxx -2. xxxx -3. xxxx - -#### 使用说明 - -1. xxxx -2. xxxx -3. xxxx - -#### 参与贡献 - -1. Fork 本仓库 -2. 新建 Feat_xxx 分支 -3. 提交代码 -4. 新建 Pull Request - - -#### 特技 - -1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md -2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) -3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 -4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 -5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) -6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/adopt-mvn-mirror-and-py3.patch b/adopt-mvn-mirror-and-py3.patch deleted file mode 100644 index 40c3ae693ee78c52609c0c90b437838d22ac3c0c..0000000000000000000000000000000000000000 --- a/adopt-mvn-mirror-and-py3.patch +++ /dev/null @@ -1,71 +0,0 @@ -diff -uprN incubator-livy-0.7.0-incubating/pom.xml incubator-livy-0.7.0-incubating_changed/pom.xml ---- incubator-livy-0.7.0-incubating/pom.xml 2020-01-07 12:32:39.000000000 +0000 -+++ incubator-livy-0.7.0-incubating_changed/pom.xml 2021-12-09 11:46:18.909447023 +0000 -@@ -171,18 +171,7 @@ - central - - Maven Repository -- https://repo1.maven.org/maven2 -- -- true -- -- -- false -- -- -- -- apache-repo -- Apache Repository -- https://repository.apache.org/content/repositories/releases -+ https://mirrors.huaweicloud.com/repository/maven/ - - true - -@@ -200,7 +189,6 @@ - core - core/scala-2.11 - coverage -- examples - python-api - repl - repl/scala-2.11 -@@ -210,7 +198,6 @@ - scala-api/scala-2.11 - server - test-lib -- integration-test - - - -diff -uprN incubator-livy-0.7.0-incubating/python-api/pom.xml incubator-livy-0.7.0-incubating_changed/python-api/pom.xml ---- incubator-livy-0.7.0-incubating/python-api/pom.xml 2020-01-07 12:32:39.000000000 +0000 -+++ incubator-livy-0.7.0-incubating_changed/python-api/pom.xml 2021-12-09 11:46:42.409690382 +0000 -@@ -46,7 +46,7 @@ - exec - - -- python -+ python3 - - setup.py - sdist -@@ -79,7 +79,7 @@ - - - flake8 -- ${skip} -+ True - - --exclude=target,resources,.eggs - --ignore=E127,E128 -diff -uprN incubator-livy-0.7.0-incubating/python-api/setup.py incubator-livy-0.7.0-incubating_changed/python-api/setup.py ---- incubator-livy-0.7.0-incubating/python-api/setup.py 2020-01-07 12:32:39.000000000 +0000 -+++ incubator-livy-0.7.0-incubating_changed/python-api/setup.py 2021-12-09 11:47:00.593878689 +0000 -@@ -53,6 +53,6 @@ setup( - keywords='livy pyspark development', - classifiers=CLASSIFIERS, - install_requires=requirements, -- setup_requires=['pytest-runner', 'flake8'], -+ setup_requires=[], - tests_require=['pytest'] - ) diff --git a/apache-incubator-disclaimer-resource-bundle-1.2-SNAPSHOT.jar b/apache-incubator-disclaimer-resource-bundle-1.2-SNAPSHOT.jar deleted file mode 100644 index 93e265295c89aab7ca2de54bcedd3e5a5e3bb920..0000000000000000000000000000000000000000 Binary files a/apache-incubator-disclaimer-resource-bundle-1.2-SNAPSHOT.jar and /dev/null differ diff --git a/fastdb-3.75.tar.gz b/fastdb-3.75.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..99cac53d90f85700782e348b55e314a5b7d1b42f Binary files /dev/null and b/fastdb-3.75.tar.gz differ diff --git a/fastdb.spec b/fastdb.spec new file mode 100644 index 0000000000000000000000000000000000000000..c495b0543aa40b12bda285b6b563c61ffb8f2700 --- /dev/null +++ b/fastdb.spec @@ -0,0 +1,71 @@ +Summary: Fast In-Memory RDBMS +Name: fastdb +Version: 3.75 +Release: 1 +License: BSD +URL: http://www.ispras.ru/~knizhnik/fastdb.html +Source: fastdb-3.75.tar.gz +Patch1: fix-error.patch +Prefix: %{_prefix} +BuildRequires: gcc-c++ +Requires: gcc-c++ + +BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root + +%description +FastDB is a highly efficient main memory database system with realtime +capabilities and convenient C++ interface. It is optimized for +applications with dominated read access pattern. High speed of query +execution is provided by the elimination of data transfer overhead and +a very effective locking implementation. FastDB supports +transactions, online backup and automatic recovery after system crash. +It is an application-oriented database whose tables are constructed +using information about application classes. Automatic scheme +evaluation based on classes and a flexible, convenient SQL-like +interface for retrieving data from the database. Such post-relational +capabilities as non-atomic fields, nested arrays, user-defined types +and methods, direct interobject references simplifies the design of +database applications and makes them more efficient. + +%prep +%setup -q -n fastdb +%patch1 -p1 + + +%build +CFLAGS="%{?cflags:%{cflags}}%{!?cflags:$RPM_OPT_FLAGS} -fcommon" +CXXFLAGS="%{?cxxflags:%{cxxflags}}%{!?cflags:$RPM_OPT_FLAGS} -fcommon" +export CFLAGS CXXFLAGS +%{__make} PREFIX=%{_prefix} %{?mflags} + +# Make examples dir. +pwd +ls +%{__mkdir_p} docs/examples +#%{__install} -m 644 bugdb.cpp bugdb.h buglogin.htm clidb.cpp clidb.h \ +# clilogin.htm clitest.c clitest.sql guess.cpp guess2.cpp \ +# guess_std.cpp testdb.cpp testddl.cpp testddl.sql testidx.cpp \ +# testiref.cpp testjoin.cpp testleak.cpp testperf.cpp testraw.cpp \ +# testsync.cpp docs/examples/ +%{__install} -m 644 bug* cli* guess* docs/examples/ + +%install +%{makeinstall} PREFIX=$RPM_BUILD_ROOT%{_prefix} %{?mflags_install} + +%clean +test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-, root, root) +%doc CHANGES docs doxygen.cfg +%{_prefix}/bin/cleanupsem +%{_prefix}/bin/inspectsem +%{_prefix}/bin/subsql +%{_includedir}/%{name} +%{_prefix}/lib/libcli* +%{_prefix}/lib/libfastdb* + +%changelog +* Mon Dec 13 2021 bzhaoop +- Init package for 3.75 + diff --git a/fix-error.patch b/fix-error.patch new file mode 100644 index 0000000000000000000000000000000000000000..d1672db8301ff96b421288148c5245d95003a8cb --- /dev/null +++ b/fix-error.patch @@ -0,0 +1,25 @@ +diff -uprN fastdb/examples/testtimeseries.cpp fastdb_change/examples/testtimeseries.cpp +--- fastdb/examples/testtimeseries.cpp 2013-02-17 19:47:32.000000000 +0000 ++++ fastdb_change/examples/testtimeseries.cpp 2021-12-13 11:29:21.544821708 +0000 +@@ -47,8 +47,8 @@ REGISTER_TEMPLATE(DailyBlock); + REGISTER(Stock); + + inline int random(unsigned mod) { return rand() % mod; } +-inline float fmax(float x, float y) { return x > y ? x : y; } +-inline float fmin(float x, float y) { return x < y ? x : y; } ++inline float ffmax(float x, float y) { return x > y ? x : y; } ++inline float ffmin(float x, float y) { return x < y ? x : y; } + + int main(int argc, char* argv[]) + { +@@ -66,8 +66,8 @@ int main(int argc, char* argv[]) + quote.timestamp = i; + quote.open = (float)random(10000)/100; + quote.close = (float)random(10000)/100; +- quote.high = fmax(quote.open, quote.close); +- quote.low = fmin(quote.open, quote.close); ++ quote.high = ffmax(quote.open, quote.close); ++ quote.low = ffmin(quote.open, quote.close); + quote.volume = random(1000); + proc.add(stockId, quote); // add new element in time series + } diff --git a/livy.spec b/livy.spec deleted file mode 100644 index b2a35033745c51200580c8f39f49052186d91939..0000000000000000000000000000000000000000 --- a/livy.spec +++ /dev/null @@ -1,40 +0,0 @@ -%global debug_package %{nil} - -Summary: A REST Service for Apache Spark -Name: livy -Version: 0.7.0 -Release: 1 -License: Apache License v2.0 -URL: https://livy.incubator.apache.org/ -Source0: https://github.com/apache/incubator-livy/archive/refs/tags/v%{version}-incubating.tar.gz -Source1: apache-incubator-disclaimer-resource-bundle-1.2-SNAPSHOT.jar -Patch0: adopt-mvn-mirror-and-py3.patch - - -BuildRequires: maven java-1.8.0-openjdk java-1.8.0-openjdk-devel -#BuildRequires: python3-devel python3-setuptools python3-pip python3-wheel python3-pytest-runner -BuildRequires: python3-devel python3-setuptools python3-pip python3-wheel -Requires: java-1.8.0-openjdk -BuildArch: x86_64 aarch64 - -%description -Apache Livy is an open source REST interface for interacting with Apache Spark from anywhere. -It supports executing snippets of code or programs in a Spark context that runs locally or in Apache Hadoop YARN. - -%prep -mvn install:install-file -DgroupId=org.apache.apache.resources -DartifactId=apache-incubator-disclaimer-resource-bundle -Dversion=1.2-SNAPSHOT -Dpackaging=jar -Dfile=%{SOURCE1} -%autosetup -p1 -n incubator-%{name}-%{version}-incubating - -%build -mvn clean package -DskipTests=True -Dmaven.javadoc.skip=True -T 2C - -%install -mkdir -p %{buildroot}/opt/%{name}-%{version} -cp -rf ../incubator-%{name}-%{version}-incubating %{buildroot}/opt/%{name}-%{version} - -%files -/opt/%{name}-%{version} - -%changelog -* Fri Dec 3 2021 bzhaoop - 0.7.0-1 -- Init package diff --git a/livy.yaml b/livy.yaml deleted file mode 100644 index e78c18bc34325bc152525a5c32aac8440e46e203..0000000000000000000000000000000000000000 --- a/livy.yaml +++ /dev/null @@ -1,4 +0,0 @@ -version_control: github -src_repo: apache/incubator-livy -tag_prefix: "^v\d\.\d\.\d-incubating" -separator: "." diff --git a/v0.7.0-incubating.tar.gz b/v0.7.0-incubating.tar.gz deleted file mode 100644 index 58dc3265d38374d4fe626713d78017e3d3a68dc9..0000000000000000000000000000000000000000 Binary files a/v0.7.0-incubating.tar.gz and /dev/null differ