Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Commit

Permalink
Modify documents by comments
Browse files Browse the repository at this point in the history
  • Loading branch information
HongW2019 committed Apr 30, 2021
1 parent 8df21e1 commit fcfd7d2
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
10 changes: 5 additions & 5 deletions arrow-data-source/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ The development of this library is still in progress. As a result some of the fu
There are some requirements before you build the project.
Please make sure you have already installed the software in your system.

1. gcc 9.3 or higher version
1. GCC 7.0 or higher version
2. java8 OpenJDK -> yum install java-1.8.0-openjdk
3. cmake 3.2 or higher version
4. maven 3.1.1 or higher version
3. cmake 3.16 or higher version
4. maven 3.6 or higher version
5. Hadoop 2.7.5 or higher version
6. Spark 3.0.0 or higher version
7. Intel Optimized Arrow 3.0.0
Expand All @@ -31,7 +31,7 @@ Then you can just skip steps below and jump to [Get Started](#get-started).
If you are facing some trouble when installing cmake, please follow below steps to install cmake.

```
// installing cmake 3.2
// installing cmake 3.16.1
sudo yum install cmake3
// If you have an existing cmake, you can use below command to set it as an option within alternatives command
Expand Down Expand Up @@ -117,7 +117,7 @@ You have to use a customized Arrow to support for our datasets Java API.

```
// build arrow-cpp
git clone -b <version> https://github.com/Intel-bigdata/arrow.git
git clone -b arrow-3.0.0-oap-1.1 https://github.com/oap-project/arrow.git
cd arrow/cpp
mkdir build
cd build
Expand Down
4 changes: 2 additions & 2 deletions docs/ApacheArrowInstallation.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ make install
Please make sure your cmake version is qualified based on the prerequisite.


# Apache Arrow
# Arrow
``` shell
git clone https://github.com/oap-project/arrow.git
cd arrow && git checkout <version>
cd arrow && git checkout arrow-3.0.0-oap-1.1
mkdir -p arrow/cpp/release-build
cd arrow/cpp/release-build
cmake -DARROW_DEPENDENCY_SOURCE=BUNDLED -DARROW_GANDIVA_JAVA=ON -DARROW_GANDIVA=ON -DARROW_PARQUET=ON -DARROW_CSV=ON -DARROW_HDFS=ON -DARROW_BOOST_USE_SHARED=ON -DARROW_JNI=ON -DARROW_DATASET=ON -DARROW_WITH_PROTOBUF=ON -DARROW_WITH_SNAPPY=ON -DARROW_WITH_LZ4=ON -DARROW_FILESYSTEM=ON -DARROW_JSON=ON ..
Expand Down
2 changes: 1 addition & 1 deletion docs/OAP-Developer-Guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ We provide scripts to help automatically install dependencies required, please c

Then the dependencies below will be installed:

* [Cmake](https://help.directadmin.com/item.php?id=494)
* [Cmake](https://cmake.org/install/)
* [GCC > 7](https://gcc.gnu.org/wiki/InstallingGCC)
* [Memkind](https://github.com/memkind/memkind/tree/v1.10.1)
* [Vmemcache](https://github.com/pmem/vmemcache)
Expand Down
4 changes: 2 additions & 2 deletions docs/OAP-Installation-Guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $ wget -c https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh
$ chmod +x Miniconda2-latest-Linux-x86_64.sh
$ bash Miniconda2-latest-Linux-x86_64.sh
```
For changes to take effect, ***close and re-open*** your current shell.
For changes to take effect, ***reload*** your current shell.
To test your installation, run the command `conda list` in your terminal window. A list of installed packages appears if it has been installed correctly.

### Installing OAP
Expand All @@ -36,7 +36,7 @@ Once finished steps above, you have completed OAP dependencies installation and

Dependencies below are required by OAP and all of them are included in OAP Conda package, they will be automatically installed in your cluster when you Conda install OAP. Ensure you have activated environment which you created in the previous steps.

- [Arrow](https://github.com/Intel-bigdata/arrow)
- [Arrow](https://github.com/oap-project/arrow/tree/arrow-3.0.0-oap-1.1)
- [Plasma](http://arrow.apache.org/blog/2017/08/08/plasma-in-memory-object-store/)
- [Memkind](https://anaconda.org/intel/memkind)
- [Vmemcache](https://anaconda.org/intel/vmemcache)
Expand Down
14 changes: 7 additions & 7 deletions docs/Prerequisite.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@
There are some requirements before you build the project.
Please make sure you have already installed the software in your system.

1. gcc 9.3 or higher version
1. GCC 7.0 or higher version
2. LLVM 7.0 or higher version
3. java8 OpenJDK -> yum install java-1.8.0-openjdk
4. cmake 3.16 or higher version
5. maven 3.1.1 or higher version
5. Maven 3.6.3 or higher version
6. Hadoop 2.7.5 or higher version
7. Spark 3.0.0 or higher version
8. Intel Optimized Arrow 3.0.0

## gcc installation

// installing gcc 9.3 or higher version
// installing GCC 7.0 or higher version

Please notes for better performance support, gcc 9.3 is a minimal requirement with Intel Microarchitecture such as SKYLAKE, CASCADELAKE, ICELAKE.
Please notes for better performance support, GCC 7.0 is a minimal requirement with Intel Microarchitecture such as SKYLAKE, CASCADELAKE, ICELAKE.
https://gcc.gnu.org/install/index.html

Follow the above website to download gcc.
C++ library may ask a certain version, if you are using gcc 9.3 the version would be libstdc++.so.6.0.28.
C++ library may ask a certain version, if you are using GCC 7.0 the version would be libstdc++.so.6.0.28.
You may have to launch ./contrib/download_prerequisites command to install all the prerequisites for gcc.
If you are facing downloading issue in download_prerequisites command, you can try to change ftp to http.

Expand All @@ -43,7 +43,7 @@ export LD_LIBRARY_PATH=$YOUR_GCC_INSTALLATION_DIR/lib64:$LD_LIBRARY_PATH
Please remember to add and source the setup in your environment files such as /etc/profile or /etc/bashrc

//Verify if gcc has been installation
Use gcc -v command to verify if your gcc version is correct.(Must larger than 9.3)
Use `gcc -v` command to verify if your gcc version is correct.(Must larger than 7.0)

## LLVM 7.0 installation

Expand Down Expand Up @@ -76,7 +76,7 @@ make install
If you are facing some trouble when installing cmake, please follow below steps to install cmake.

```
// installing cmake 3.2
// installing Cmake 3.16.1
sudo yum install cmake3
// If you have an existing cmake, you can use below command to set it as an option within alternatives command
Expand Down

0 comments on commit fcfd7d2

Please sign in to comment.