Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Commit

Permalink
HAWQ-1799. fix merge issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ztao1987 committed Aug 3, 2021
1 parent ab3c3e7 commit 1f3dcfb
Show file tree
Hide file tree
Showing 32 changed files with 47 additions and 57 deletions.
2 changes: 1 addition & 1 deletion DISCLAIMER
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Apache HAWQ is an effort undergoing incubation at the Apache Software
Foundation (ASF), sponsored by the Apache Incubator PMC.
Foundation (ASF), sponsored by the Apache PMC.

Incubation is required of all newly accepted projects until a further
review indicates that the infrastructure, communications, and decision
Expand Down
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,9 @@

=======================================================================

Apache HAWQ (incubating) Subcomponents:
Apache HAWQ Subcomponents:

The Apache HAWQ (incubating) project contains subcomponents with
The Apache HAWQ project contains subcomponents with
separate copyright notices and license terms. Your use of the source
code for these subcomponents is subject to the terms and conditions
of the following licenses.
Expand Down
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Apache HAWQ (incubating)
Apache HAWQ
Copyright 2017 The Apache Software Foundation.

This product includes software developed at
Expand Down
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
![HAWQ](http://hawq.incubator.apache.org/images/logo-hawq.png)
![HAWQ](http://hawq.apache.org/images/logo-hawq.png)

---

|CI Process|Status|
|---|---|
|Travis CI Build|[![https://travis-ci.org/apache/incubator-hawq.svg?branch=master](https://travis-ci.org/apache/incubator-hawq.png?branch=master)](https://travis-ci.org/apache/incubator-hawq?branch=master)|
|Travis CI Build|[![https://travis-ci.org/apache/hawq.svg?branch=master](https://travis-ci.org/apache/hawq.png?branch=master)](https://travis-ci.org/apache/hawq?branch=master)|
|Apache Release Audit Tool ([RAT](https://creadur.apache.org/rat/))|[![Rat Status](https://builds.apache.org/buildStatus/icon?job=HAWQ-rat)](https://builds.apache.org/view/HAWQ/job/HAWQ-rat/)|
|Coverity Static Analysis |[![Coverity Scan Build](https://scan.coverity.com/projects/apache-incubator-hawq/badge.svg)](https://scan.coverity.com/projects/apache-incubator-hawq)|
|Coverity Static Analysis |[![Coverity Scan Build](https://scan.coverity.com/projects/apache-hawq/badge.svg)](https://scan.coverity.com/projects/apache-hawq)|

---

[Website](http://hawq.incubator.apache.org/) |
[Website](http://hawq.apache.org/) |
[Wiki](https://cwiki.apache.org/confluence/display/HAWQ) |
[Documentation](http://hawq.incubator.apache.org/docs/userguide/2.2.0.0-incubating/overview/HAWQOverview.html) |
[Developer Mailing List](mailto:dev@hawq.incubator.apache.org) |
[User Mailing List](mailto:user@hawq.incubator.apache.org) |
[Documentation](http://hawq.apache.org/docs/userguide/latest/) |
[Developer Mailing List](mailto:[email protected]) |
[User Mailing List](mailto:[email protected]) |
[Q&A Collections](https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=65144284) |
[Open Defect](https://issues.apache.org/jira/browse/HAWQ)

Expand Down Expand Up @@ -43,7 +43,7 @@ Apache HAWQ is a Hadoop native SQL query engine that combines the key technologi
- Support most third party tools: Tableau, SAS et al.
- Standard connectivity: JDBC/ODBC

# Build & Setup HAWQ++ on Mac
# Build & Setup HAWQ on Mac

## Step 1 Setup HDFS

Expand Down Expand Up @@ -148,7 +148,7 @@ hadoop fs -ls /

**When things go wrong, check the log and view the FAQ in wiki first.**

## Step 2 Setup hawq++
## Step 2 Setup hawq

### Step 2.1 System configuration

Expand Down Expand Up @@ -194,7 +194,7 @@ sudo install -o $USER -d /usr/local/hawq
1. Setup toolchain and thirdparty dependency referring to [here](https://github.com/oushu-io/hornet/tree/master/thirdparty).
2. Build hornet referring to [here](https://github.com/oushu-io/hornet#hornet).

### Step 2.4 Build HAWQ++
### Step 2.4 Build HAWQ

- 2.4.1 Add hawq environment information to `~/.bashrc`, and **`source ~/.bashrc`** to make it effect.

Expand All @@ -205,7 +205,7 @@ sudo install -o $USER -d /usr/local/hawq
export DEPENDENCY_PATH=/opt/dependency/package
source /opt/dependency-Darwin/package/env.sh
```
- 2.4.2 Build HAWQ++
- 2.4.2 Build HAWQ

```bash
cd ~/dev/hawq
Expand All @@ -218,7 +218,7 @@ sudo install -o $USER -d /usr/local/hawq
```


### Step 2.5 Configure HAWQ++
### Step 2.5 Configure HAWQ

```shell
mkdir /tmp/magma_master
Expand All @@ -227,7 +227,7 @@ mkdir /tmp/magma_segment

Feel free to use the default `/usr/local/hawq/etc/hawq-site.xml`. Pay attention to mapping `hawq_dfs_url` to `fs.defaultFS` in `${HADOOP_HOME}/etc/hadoop/core-site.xml`.

### Step 2.6 Init/Start/Stop HAWQ++
### Step 2.6 Init/Start/Stop HAWQ

```bash
# Before initializing HAWQ, you need to install HDFS and make sure it works.
Expand Down Expand Up @@ -278,11 +278,11 @@ hawq stop/restart/start cluster
> ps -ef | grep magma | grep -v grep | awk '{print $2}'| xargs kill -9
> ```
# Build HAWQ++ on Centos 7
# Build HAWQ on Centos 7
Almost the same as that on macOS, feel free to have a try, referring to [here](https://github.com/oushu-io/knowledgebase/wiki/Build-HAWQ-on-Linux-macOS#build-hawq-on-linuxmacos).
# Build HAWQ++ on Centos 7(6.X) using docker
# Build HAWQ on Centos 7(6.X) using docker
Almost the same as that on macOS, feel free to have a try, referring to [here](https://github.com/oushu-io/knowledgebase/wiki/Build-HAWQ-in-Docker-Container#build-hawq-in-docker-container).
Expand Down
4 changes: 2 additions & 2 deletions contrib/hawq-ambari-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Properties specified in the [build.properties](build.properties) file:
To build the rpm for hawq-ambari-plugin, change the [build.properties](build.properties) file with the required parameters and run ```mvn install``` command under hawq-ambari-plugin directory:
```
$ pwd
incubator-hawq/contrib/hawq-ambari-plugin
hawq/contrib/hawq-ambari-plugin
$ mvn clean resources:copy-resources rpm:rpm -Dbuild_number=1
```

Expand Down Expand Up @@ -95,4 +95,4 @@ $ ./add-hawq.py --user <ambari-username> --password <ambari-password> --stack HD
**Please restart ambari-server after running the script so that the changes take effect:**
```
$ ambari-server restart
```
```
8 changes: 4 additions & 4 deletions contrib/hawq-docker/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# hawq-docker

hawq-docker is based on *wangzw's* repo *hawq-devel-env*. It is the docker images and scripts to help developers of Apache HAWQ to setup building and testing environment with docker.
hawq-docker is based on repo *hawq-devel-env*. It is the docker images and scripts to help developers of Apache HAWQ to setup building and testing environment with docker.

Both CentOS 7 and CentOS 6 are supported.
Change variable **OS_VERSION** (:= centos7 OR centos6) in Makefile to switch between CentOS 7 and CentOS 6.
Expand All @@ -14,8 +14,8 @@ https://docs.docker.com/
# Setup build and test environment
* clone hawq repository
```
git clone https://github.com/apache/incubator-hawq.git .
cd incubator-hawq/contrib/hawq-docker
git clone https://github.com/apache/hawq.git .
cd hawq/contrib/hawq-docker
```
* Get the docker images
```
Expand Down Expand Up @@ -51,7 +51,7 @@ sudo -u hdfs hdfs dfsadmin -report
```
* clone Apache HAWQ code to /data direcotry
```
git clone https://github.com/apache/incubator-hawq.git /data/hawq
git clone https://github.com/apache/hawq.git /data/hawq
```
* build Apache HAWQ
```
Expand Down
2 changes: 1 addition & 1 deletion contrib/hawq-package/hawq.spec
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Version: %{hawq_version}
Release: %{rpm_os_version}
License: ASL 2.0
Group: Applications/Databases
URL: http://hawq.incubator.apache.org
URL: http://hawq.apache.org
Prefix: /usr/local
BuildArch: %{arch}
SOURCE0 : apache-hawq-src-%{hawq_version}-incubating.tar.gz
Expand Down
2 changes: 0 additions & 2 deletions depends/libhdfs3/debian/changelog.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
libhdfs3 (@libhdfs3_VERSION_STRING@-1) unstable; urgency=low

* Initial release

-- Zhanwei Wang <[email protected]> Fri, 06 Feb 2015 11:58:35 +0100
1 change: 0 additions & 1 deletion depends/libhdfs3/debian/control
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
Source: libhdfs3
Priority: optional
Maintainer: Zhanwei Wang <[email protected]>
Build-Depends: debhelper (>= 9), cmake, libprotobuf-dev, protobuf-compiler, libxml2-dev, libkrb5-dev, uuid-dev, libgsasl7-dev
Standards-Version: 3.9.5
Section: libs
Expand Down
1 change: 0 additions & 1 deletion depends/libhdfs3/rpms/libhdfs3.spec
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,4 @@ small memory footprint code base. In addition, it is easy to use and deploy.
/sbin/ldconfig

%changelog
* Sun Oct 04 2015 Zhanwei Wang <[email protected]> - 2.2.30-1
- Initial RPM release
2 changes: 1 addition & 1 deletion dist/hawq/DISCLAIMER
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Apache HAWQ is an effort undergoing incubation at the Apache Software
Foundation (ASF), sponsored by the Apache Incubator PMC.
Foundation (ASF), sponsored by the Apache PMC.

Incubation is required of all newly accepted projects until a further
review indicates that the infrastructure, communications, and decision
Expand Down
2 changes: 1 addition & 1 deletion pxf/resources/META-INF/DISCLAIMER
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Apache HAWQ is an effort undergoing incubation at the Apache Software
Foundation (ASF), sponsored by the Apache Incubator PMC.
Foundation (ASF), sponsored by the Apache PMC.

Incubation is required of all newly accepted projects until a further
review indicates that the infrastructure, communications, and decision
Expand Down
2 changes: 0 additions & 2 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ clean: clear-cwrapper
$(MAKE) -C tutorial NO_PGXS=1 $@
$(MAKE) -C test/thread $@
$(MAKE) -C test/regress $@
$(MAKE) -C test/feature $@
$(MAKE) -C tools/fsync $@

distclean maintainer-clean: clear-cwrapper
Expand All @@ -128,7 +127,6 @@ distclean maintainer-clean: clear-cwrapper
$(MAKE) -C tutorial NO_PGXS=1 $@
$(MAKE) -C test/thread $@
$(MAKE) -C test/regress $@
$(MAKE) -C test/feature clean
$(MAKE) -C tools/fsync $@
rm -f Makefile.port Makefile.global

Expand Down
2 changes: 1 addition & 1 deletion src/include/catalog/calico.pl
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ =head1 AUTHORS
Apache HAWQ
Address bug reports and comments to: dev@hawq.incubator.apache.org
Address bug reports and comments to: [email protected]
=cut
# SLZY_POD_HDR_END
Expand Down
2 changes: 1 addition & 1 deletion src/include/catalog/caqltrack.pl
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ =head1 AUTHORS
Apache HAWQ
Address bug reports and comments to: dev@hawq.incubator.apache.org
Address bug reports and comments to: [email protected]
=cut
# SLZY_POD_HDR_END
Expand Down
2 changes: 1 addition & 1 deletion src/include/catalog/caqluniqdef.pl
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ =head1 AUTHORS
Apache HAWQ
Address bug reports and comments to: dev@hawq.incubator.apache.org
Address bug reports and comments to: [email protected]
=cut
# SLZY_POD_HDR_END
Expand Down
2 changes: 1 addition & 1 deletion src/include/catalog/catullus.pl
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ =head1 AUTHORS
Apache HAWQ
Address bug reports and comments to: dev@hawq.incubator.apache.org
Address bug reports and comments to: [email protected]
=cut
# SLZY_POD_HDR_END
Expand Down
2 changes: 1 addition & 1 deletion src/include/catalog/pablopcatso.pl
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ =head1 AUTHORS
Apache HAWQ
Address bug reports and comments to: dev@hawq.incubator.apache.org
Address bug reports and comments to: [email protected]
=cut

Expand Down
2 changes: 1 addition & 1 deletion src/include/catalog/sleazy.pl
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ =head1 AUTHORS
Apache HAWQ
Address bug reports and comments to: dev@hawq.incubator.apache.org
Address bug reports and comments to: [email protected]
=cut
# SLZY_POD_HDR_END
Expand Down
2 changes: 1 addition & 1 deletion src/include/catalog/tidycat.pl
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ =head1 AUTHORS
Apache HAWQ
Address bug reports and comments to: dev@hawq.incubator.apache.org
Address bug reports and comments to: [email protected]
=cut
# SLZY_POD_HDR_END
Expand Down
6 changes: 1 addition & 5 deletions src/test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,11 @@
#
#-------------------------------------------------------------------------

.PHONY: feature_test clean distclean
.PHONY: clean distclean

.DEFAULT:
$(MAKE) -C regress $@

feature-test:
$(MAKE) -C feature all

clean:
$(MAKE) -C feature clean

distclean: clean
2 changes: 1 addition & 1 deletion src/test/regress/atmsort.pl
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ =head1 AUTHORS
Apache HAWQ
Address bug reports and comments to: dev@hawq.incubator.apache.org
Address bug reports and comments to: [email protected]
=cut

Expand Down
2 changes: 1 addition & 1 deletion src/test/regress/dld.pl
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ =head1 AUTHORS
Apache HAWQ
Address bug reports and comments to: dev@hawq.incubator.apache.org
Address bug reports and comments to: [email protected]
=cut

Expand Down
2 changes: 1 addition & 1 deletion src/test/regress/explain.pl
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ =head1 AUTHORS
Apache HAWQ
Address bug reports and comments to: dev@hawq.incubator.apache.org
Address bug reports and comments to: [email protected]
=cut

Expand Down
2 changes: 1 addition & 1 deletion src/test/regress/get_ereport.pl
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ =head1 AUTHORS
Apache HAWQ
Address bug reports and comments to: dev@hawq.incubator.apache.org
Address bug reports and comments to: [email protected]
=cut

Expand Down
2 changes: 1 addition & 1 deletion src/test/regress/gpdiff.pl
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ =head1 AUTHORS
Apache HAWQ
Address bug reports and comments to: dev@hawq.incubator.apache.org
Address bug reports and comments to: [email protected]
=cut

Expand Down
2 changes: 1 addition & 1 deletion src/test/regress/gpexclude.pl
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ =head1 AUTHORS
Apache HAWQ
Address bug reports and comments to: dev@hawq.incubator.apache.org
Address bug reports and comments to: [email protected]
=cut

Expand Down
2 changes: 1 addition & 1 deletion src/test/regress/gpsourcify.pl
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ =head1 AUTHORS
Apache HAWQ
Address bug reports and comments to: dev@hawq.incubator.apache.org
Address bug reports and comments to: [email protected]
=cut

Expand Down
2 changes: 1 addition & 1 deletion src/test/regress/gpstringsubs.pl
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ =head1 AUTHORS
Apache HAWQ
Address bug reports and comments to: dev@hawq.incubator.apache.org
Address bug reports and comments to: [email protected]
=cut

Expand Down
2 changes: 1 addition & 1 deletion src/test/regress/gptorment.pl
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ =head1 AUTHORS
Apache HAWQ
Address bug reports and comments to: dev@hawq.incubator.apache.org
Address bug reports and comments to: [email protected]
=cut

Expand Down
2 changes: 1 addition & 1 deletion src/test/regress/upg2_wizard.pl
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ =head1 AUTHORS
Apache HAWQ
Address bug reports and comments to: dev@hawq.incubator.apache.org
Address bug reports and comments to: [email protected]
=cut

Expand Down
Loading

0 comments on commit 1f3dcfb

Please sign in to comment.