Re: Issues building Apache HAWQ on Redhat Linux.

2016-10-12 Thread Ming Li
Open apache jira for this problem:
https://issues.apache.org/jira/browse/HAWQ-1098
And it will be fixed soon.

On Wed, Aug 31, 2016 at 11:33 AM, Hong Wu  wrote:

> Hi raman,
>
> It seems that prefix you use has some conflict.
>
> gcc -O3 -std=gnu99  -Wall -Wmissing-prototypes -Wpointer-arith
> -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv
> -fno-aggressive-loop-optimizations  -I/usr/include/libxml2
> -I../../src/port -DFRONTEND -I../../src/include -D_GNU_SOURCE
> -*I/root/incubator-hawq/depends/libhdfs3/build/install/usr/local/hawq/**
> include*
> -I/root/incubator-hawq/depends/libyarn/build/install/
> usr/local/hawq/include
>  -c -o copydir.o copydir.c
>
> According to your given message above, the prefix is '/*usr/local/hawq*'
> while actually you specified the prefix with 'opt/hawq', there must be
> something inconsistency. The root course might be you did not "make
> distclean" before another second configuration.
>
> Hope this help.
>
> Best
> Hong
>
>
>
> 2016-08-30 22:36 GMT+08:00 raman bedi :
>
> > Hi Sir/Madam,
> > I have been trying to build Apache HAWQ on Redhat Linux. The third party
> > dependencies compile successfully and I am getting errors from the source
> > (src) compilation. Please have a look at this link
> >  >
> > for the details of the issue. Please let me know if it's a build defect
> or
> > something that I can resolve on my end as I am unable to find any
> > assistance on the same.
> >
> > Regards,
> > Raman Bedi
> >
>


[jira] [Created] (HAWQ-1098) build error when "configure --prefix" with different directory without running "make distclean" previously

2016-10-12 Thread Ming LI (JIRA)
Ming LI created HAWQ-1098:
-

 Summary: build error when "configure --prefix" with different 
directory without running "make distclean" previously
 Key: HAWQ-1098
 URL: https://issues.apache.org/jira/browse/HAWQ-1098
 Project: Apache HAWQ
  Issue Type: Bug
  Components: Build
Reporter: Ming LI
Assignee: Lei Chang
 Fix For: backlog


Some customer report at:
http://stackoverflow.com/questions/39217467/hawq-installation-on-redhat

If "configure --prefix" with different directory without running "make 
distclean" previously, it will report building error:
{code}
ld: warning: directory not found for option 
'-L/Users/gpadmin/workspace/hawq2/apache-hawq/depends/libhdfs3/build/install/Users/gpadmin/workspace/hawq2/hawq-db-devel3/lib'
ld: warning: directory not found for option 
'-L/Users/gpadmin/workspace/hawq2/apache-hawq/depends/libyarn/build/install/Users/gpadmin/workspace/hawq2/hawq-db-devel3/lib'
ld: library not found for -lhdfs3
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [postgres] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[GitHub] incubator-hawq-docs pull request #20: misc doc updates

2016-10-12 Thread lisakowen
GitHub user lisakowen opened a pull request:

https://github.com/apache/incubator-hawq-docs/pull/20

misc doc updates

- json plugin - use <> for optional params, include link to CREATE EXTERNAL 
TABLE ref page
- client loading tools - direct to correct download site for windows
- cluster expansion - if using YARN, config a NodeManager on new node

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/lisakowen/incubator-hawq-docs 
feature/misc-updates-lo3

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-hawq-docs/pull/20.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #20


commit d1b7d017e50a2d32ad302e2a418138c9e3b4ce3b
Author: Lisa Owen 
Date:   2016-10-12T15:41:15Z

pxf json plugin - misc updates

- use <> for options
- include link to CREATE EXTERNAL TABLE ref page

commit cb62d8a00681454f6edf7558558e67c5e4502e52
Author: Lisa Owen 
Date:   2016-10-12T15:51:48Z

client load tools - link to gpdb pivnet for windows loader

commit d4d42834dd3020fde0ddaa205581ad0be8231bbe
Author: Lisa Owen 
Date:   2016-10-12T16:56:31Z

cluster expansion - include NodeManager config if using YARN




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---