[GitHub] incubator-hawq issue #1131: HAWQ-1322 Changed RPS RPM name to hawq-ranger-pl...

2017-02-16 Thread denalex
Github user denalex commented on the issue:

https://github.com/apache/incubator-hawq/pull/1131
  
The resulting RPM name is:

[root]# yum list installed | grep hawq
hawq-ranger-plugin_2_2_0_0.noarch 2.2.0.0-645.el6 
@/hawq-ranger-plugin_2_2_0_0-2.2.0.0-645-dev.el6.noarch
hawq_2_2_0_0.x86_64   2.2.0.0-295.el6 installed


---
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.
---


[GitHub] incubator-hawq pull request #1131: HAWQ-1322 Changed RPS RPM name to hawq-ra...

2017-02-16 Thread denalex
GitHub user denalex opened a pull request:

https://github.com/apache/incubator-hawq/pull/1131

HAWQ-1322 Changed RPS RPM name to hawq-ranger-plugin 



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

$ git pull https://github.com/denalex/incubator-hawq HAWQ-1322

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

https://github.com/apache/incubator-hawq/pull/1131.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 #1131


commit f2536c0372702c90c992a6bb2b01bd5bcbc0d5d7
Author: Alexander Denissov 
Date:   2017-02-10T20:13:23Z

HAWQ-1322. Changed RPS RPM name to hawq-ranger-plugin_

commit f15ecd1f7875bb1a6545ec18c4ab6353e7e774af
Author: Alexander Denissov 
Date:   2017-02-17T00:50:04Z

added architecture and dir mapping

commit d9f7d6e9e1655eb375c58125b2dce1cd8a591e60
Author: Alexander Denissov 
Date:   2017-02-17T01:34:04Z

restored noarch for rpm




---
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.
---


[jira] [Updated] (HAWQ-1341) hawq help doesn't have upgrade command

2017-02-16 Thread Oleksandr Diachenko (JIRA)

 [ 
https://issues.apache.org/jira/browse/HAWQ-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oleksandr Diachenko updated HAWQ-1341:
--
Description: 
When user runs {code} hawq help
 
usage: hawq  [] [options]
[--version]

The most commonly used hawq "commands" are:
   start Start hawq service.
   stop  Stop hawq service.
   init  Init hawq service.
   restart   Restart hawq service.
   activate  Activate hawq standby master as master.
   version   Show hawq version information.
   configSet hawq GUC values.
   state Show hawq cluster status.
   filespace Create hawq filespaces.
   extract   Extract table's metadata into a YAML formatted file.
   load  Load data into hawq.
   scp   Copies files between multiple hosts at once.
   ssh   Provides ssh access to multiple hosts at once.
   ssh-exkeysExchanges SSH public keys between hosts.
   check Verifies and validates HAWQ settings.
   checkperf Verifies the baseline hardware performance of hosts.
   register  Register parquet files generated by other system into the 
corrsponding table in HAWQ

See 'hawq  help' for more information on a specific command.{code}

upgrade command is missing.

  was:When user runs {code}hawq help{code}


> hawq help doesn't have upgrade command
> --
>
> Key: HAWQ-1341
> URL: https://issues.apache.org/jira/browse/HAWQ-1341
> Project: Apache HAWQ
>  Issue Type: Bug
>Reporter: Oleksandr Diachenko
>Assignee: Ed Espino
>
> When user runs {code} hawq help
>  
> usage: hawq  [] [options]
> [--version]
> The most commonly used hawq "commands" are:
>start Start hawq service.
>stop  Stop hawq service.
>init  Init hawq service.
>restart   Restart hawq service.
>activate  Activate hawq standby master as master.
>version   Show hawq version information.
>configSet hawq GUC values.
>state Show hawq cluster status.
>filespace Create hawq filespaces.
>extract   Extract table's metadata into a YAML formatted file.
>load  Load data into hawq.
>scp   Copies files between multiple hosts at once.
>ssh   Provides ssh access to multiple hosts at once.
>ssh-exkeysExchanges SSH public keys between hosts.
>check Verifies and validates HAWQ settings.
>checkperf Verifies the baseline hardware performance of hosts.
>register  Register parquet files generated by other system into the 
> corrsponding table in HAWQ
> See 'hawq  help' for more information on a specific command.{code}
> upgrade command is missing.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (HAWQ-1341) hawq help doesn't have upgrade command

2017-02-16 Thread Oleksandr Diachenko (JIRA)
Oleksandr Diachenko created HAWQ-1341:
-

 Summary: hawq help doesn't have upgrade command
 Key: HAWQ-1341
 URL: https://issues.apache.org/jira/browse/HAWQ-1341
 Project: Apache HAWQ
  Issue Type: Bug
Reporter: Oleksandr Diachenko
Assignee: Ed Espino






--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (HAWQ-1341) hawq help doesn't have upgrade command

2017-02-16 Thread Oleksandr Diachenko (JIRA)

 [ 
https://issues.apache.org/jira/browse/HAWQ-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oleksandr Diachenko updated HAWQ-1341:
--
Description: When user runs {code}hawq help{code}

> hawq help doesn't have upgrade command
> --
>
> Key: HAWQ-1341
> URL: https://issues.apache.org/jira/browse/HAWQ-1341
> Project: Apache HAWQ
>  Issue Type: Bug
>Reporter: Oleksandr Diachenko
>Assignee: Ed Espino
>
> When user runs {code}hawq help{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (HAWQ-1332) Can not grant database and schema privileges without table privileges in ranger or ranger plugin service

2017-02-16 Thread Alexander Denissov (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-1332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15870890#comment-15870890
 ] 

Alexander Denissov commented on HAWQ-1332:
--

This is not a bug. Any policies that are applicable to databases must have 
schema and table resources set to "*" value and be included. If they are set to 
specific values, these values must be provided when request for isAccessAllowed 
is made to RPS and HAWQ only sends the database name with such requests.

We also suspect that using "exclude" flag essentially excludes given resource 
from having the policy applied to it. It probably does not exclude the given 
resource level from resource definition, as you expected. But this statement 
needs further researching.

> Can not grant database and schema privileges without table privileges in 
> ranger or ranger plugin service
> 
>
> Key: HAWQ-1332
> URL: https://issues.apache.org/jira/browse/HAWQ-1332
> Project: Apache HAWQ
>  Issue Type: Bug
>  Components: Security
>Reporter: Chunling Wang
>Assignee: Alexander Denissov
> Attachments: screenshot-1.png, screenshot-2.png, screenshot-3.png
>
>
> We try to grant database connect and schema usage privileges to a non-super 
> user to connect database. We find that if we set policy with database and 
> schema included, but with table excluded, we can not connect database. But if 
> we include table, we can connect to database. We think there may be bug in 
> Ranger Plugin Service or Ranger. Here are steps to reproduce it.
> 1. create a new user "usertest1" in database:
> {code}
> $ psql postgres
> psql (8.2.15)
> Type "help" for help.
> postgres=# CREATE USER usertest1;
> NOTICE:  resource queue required -- using default resource queue "pg_default"
> CREATE ROLE
> postgres=#
> {code}
> 2. add user "usertest1" in pg_hba.conf
> {code}
> local all usertest1 trust
> {code}
> 3. set policy with database and schema included, with table excluded
> !screenshot-1.png|width=800,height=400!
> 4. connect database with user "usertest1" but failed with permission denied
> {code}
> $ psql postgres -U usertest1
> psql: FATAL:  permission denied for database "postgres"
> DETAIL:  User does not have CONNECT privilege.
> {code}
> 5. set policy with database, schema and table included
> !screenshot-2.png|width=800,height=400!
> 6. connect database with user "usertest1" and succeed
> {code}
> $ psql postgres -U usertest1
> psql (8.2.15)
> Type "help" for help.
> postgres=#
> {code}
> But if we do not set table as "*", and specify table like "a", we can not 
> access database either.
> !screenshot-3.png|width=800,height=400!



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Resolved] (HAWQ-1340) Remove unused file: tools/bin/diskqual.ksh

2017-02-16 Thread Ed Espino (JIRA)

 [ 
https://issues.apache.org/jira/browse/HAWQ-1340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ed Espino resolved HAWQ-1340.
-
Resolution: Fixed

Merged

> Remove unused file: tools/bin/diskqual.ksh
> --
>
> Key: HAWQ-1340
> URL: https://issues.apache.org/jira/browse/HAWQ-1340
> Project: Apache HAWQ
>  Issue Type: Task
>Reporter: Ed Espino
>Assignee: Ed Espino
> Fix For: 2.2.0.0-incubating
>
>
> The file tools/bin/diskqual.ksh was raised in [PR 
> 339|https://github.com/apache/incubator-hawq/pull/339]. The PR indicated the 
> file is not used by HAWQ and can be removed.  This will be used to track that 
> effort.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] incubator-hawq pull request #339: No need to use ksh and add an extra runtim...

2017-02-16 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/incubator-hawq/pull/339


---
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.
---


[GitHub] incubator-hawq pull request #1130: HAWQ-1340. Remove unused file - tools/bin...

2017-02-16 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/incubator-hawq/pull/1130


---
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.
---


[GitHub] incubator-hawq issue #1130: HAWQ-1340. Remove unused file - tools/bin/disqua...

2017-02-16 Thread ljainpivotalio
Github user ljainpivotalio commented on the issue:

https://github.com/apache/incubator-hawq/pull/1130
  
LGTM


---
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.
---


[jira] [Commented] (HAWQ-1340) Remove unused file: tools/bin/diskqual.ksh

2017-02-16 Thread Ed Espino (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-1340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15870445#comment-15870445
 ] 

Ed Espino commented on HAWQ-1340:
-

PR https://github.com/apache/incubator-hawq/pull/1130 opened.  This also closes 
#339 PR.

> Remove unused file: tools/bin/diskqual.ksh
> --
>
> Key: HAWQ-1340
> URL: https://issues.apache.org/jira/browse/HAWQ-1340
> Project: Apache HAWQ
>  Issue Type: Task
>Reporter: Ed Espino
>Assignee: Ed Espino
> Fix For: 2.2.0.0-incubating
>
>
> The file tools/bin/diskqual.ksh was raised in [PR 
> 339|https://github.com/apache/incubator-hawq/pull/339]. The PR indicated the 
> file is not used by HAWQ and can be removed.  This will be used to track that 
> effort.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] incubator-hawq pull request #1130: HAWQ-1340. Remove unused file - tools/bin...

2017-02-16 Thread edespino
GitHub user edespino opened a pull request:

https://github.com/apache/incubator-hawq/pull/1130

HAWQ-1340. Remove unused file - tools/bin/disqual.ksh

In addition to applying to this PR, this closes #339 PR.

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

$ git pull https://github.com/edespino/incubator-hawq HAWQ-1340

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

https://github.com/apache/incubator-hawq/pull/1130.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 #1130


commit 93ed1847b0bdd65c8af49e1433999b361ff60572
Author: Ed Espino 
Date:   2017-02-16T18:18:06Z

HAWQ-1340. Remove unused file - tools/bin/disqual.ksh

This closes #339 PR.




---
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.
---


[jira] [Created] (HAWQ-1340) Remove unused file: tools/bin/diskqual.ksh

2017-02-16 Thread Ed Espino (JIRA)
Ed Espino created HAWQ-1340:
---

 Summary: Remove unused file: tools/bin/diskqual.ksh
 Key: HAWQ-1340
 URL: https://issues.apache.org/jira/browse/HAWQ-1340
 Project: Apache HAWQ
  Issue Type: Task
Reporter: Ed Espino
Assignee: Ed Espino
 Fix For: 2.2.0.0-incubating


The file tools/bin/diskqual.ksh was raised in [PR 
339|https://github.com/apache/incubator-hawq/pull/339]. The PR indicated the 
file is not used by HAWQ and can be removed.  This will be used to track that 
effort.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (HAWQ-1316) Feature test compile failed on on Centos7.3

2017-02-16 Thread Paul Guo (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15869592#comment-15869592
 ] 

Paul Guo commented on HAWQ-1316:


Version should not be "backlog".

> Feature test compile failed on on Centos7.3
> ---
>
> Key: HAWQ-1316
> URL: https://issues.apache.org/jira/browse/HAWQ-1316
> Project: Apache HAWQ
>  Issue Type: Bug
>  Components: Build
>Reporter: Radar Lei
>Assignee: Radar Lei
> Fix For: backlog
>
>
> While compiling HAWQ feature test on rhel7, I see below error.
> make -C lib all
> make[1]: Entering directory 
> `/tmp/build/78017950/hdb_apache/src/test/feature/lib'
> ar -r libtest.a 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/xml_parser.o 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/command.o 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/hawq_config.o 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/hawq_scp.o 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/string_util.o 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/hdfs_config.o 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/data_gen.o 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/psql.o 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/yarn_config.o 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/sql_util.o 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/file_replace.o
> ar: creating libtest.a
> make[1]: Leaving directory 
> `/tmp/build/78017950/hdb_apache/src/test/feature/lib'
> g++ -I/usr/include -I/usr/local/include -I/usr/include/libxml2 
> -I/tmp/build/78017950/hdb_apache/src/test/feature/ 
> -I/tmp/build/78017950/hdb_apache/src/test/feature/ManagementTool/ 
> -I/tmp/build/78017950/hdb_apache/src/test/feature/lib/ 
> -I/tmp/build/78017950/hdb_apache/src/interfaces/libpq 
> -I/tmp/build/78017950/hdb_apache/src/interfaces 
> -I/tmp/build/78017950/hdb_apache/src/include  
> -I/tmp/build/78017950/hdb_apache/depends/thirdparty/googletest/googletest/include
>  
> -I/tmp/build/78017950/hdb_apache/depends/thirdparty/googletest/googlemock/include
>  -Wall -O0 -g -std=c++11 test_main.o ao/TestAoSnappy.o utility/test_copy.o 
> utility/test_cmd.o testlib/test_lib.o ExternalSource/test_errortbl.o 
> ExternalSource/test_external_oid.o ExternalSource/test_exttab.o 
> query/test_create_type_composite.o query/test_prepare.o query/test_portal.o 
> query/test_temp.o query/test_polymorphism.o query/test_nested_case_null.o 
> query/test_sequence.o query/test_parser.o query/test_information_schema.o 
> query/test_gp_dist_random.o query/test_rowtypes.o query/test_insert.o 
> query/test_aggregate.o parquet/test_parquet.o 
> transactions/test_transactions.o ddl/test_database.o 
> partition/test_partition.o catalog/test_alter_table.o catalog/test_type.o 
> catalog/test_alter_owner.o catalog/test_guc.o catalog/test_create_table.o 
> toast/TestToast.o planner/test_subplan.o UDF/TestUDF.o 
> PreparedStatement/TestPreparedStatement.o lib/xml_parser.o lib/command.o 
> lib/hawq_config.o lib/hawq_scp.o lib/string_util.o lib/hdfs_config.o 
> lib/data_gen.o lib/psql.o lib/yarn_config.o lib/sql_util.o lib/file_replace.o 
> ManagementTool/test_hawq_register_usage2_case1.o 
> ManagementTool/test_hawq_register_usage2_case2.o 
> ManagementTool/test_hawq_register_usage1.o 
> ManagementTool/test_hawq_register_rollback.o 
> ManagementTool/test_hawq_register_partition.o -L../../../src/port 
> -L../../../src/port -Wl,--as-needed 
> -L/tmp/build/78017950/hdb_apache/depends/libhdfs3/build/install/usr/local/hawq/lib
>  
> -L/tmp/build/78017950/hdb_apache/depends/libyarn/build/install/usr/local/hawq/lib
>  -Wl,-rpath,'/usr/local/hawq/lib',--enable-new-dtags -L/usr/local/lib 
> -L/usr/lib -L/tmp/build/78017950/hdb_apache/src/test/feature/ 
> -L/tmp/build/78017950/hdb_apache/src/test/feature/lib/ 
> -L/tmp/build/78017950/hdb_apache/src/interfaces/libpq 
> -L/tmp/build/78017950/hdb_apache/depends/thirdparty/googletest/build/googlemock
>  
> -L/tmp/build/78017950/hdb_apache/depends/thirdparty/googletest/build/googlemock/gtest
>  -lpgport -ljson-c -levent -lyaml -lsnappy -lbz2 -lrt -lz -lreadline -lcrypt 
> -ldl -lm  -lcurl   -lyarn -lkrb5 -lgtest -lpq -lxml2 -ltest -o feature-test
> /usr/bin/ld: /usr/lib/libgtest.a(gtest-all.cc.o): undefined reference to 
> symbol 'pthread_key_delete@@GLIBC_2.2.5'
> /usr/lib64/libpthread.so.0: error adding symbols: DSO missing from command 
> line
> collect2: error: ld returned 1 exit status
> make: *** [all] Error 1
> After append '-l pthread', the compile passed. now this happens on centos7.3 
> version, centos7.2 working fine.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Resolved] (HAWQ-1316) Feature test compile failed on on Centos7.3

2017-02-16 Thread Radar Lei (JIRA)

 [ 
https://issues.apache.org/jira/browse/HAWQ-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Radar Lei resolved HAWQ-1316.
-
Resolution: Fixed

> Feature test compile failed on on Centos7.3
> ---
>
> Key: HAWQ-1316
> URL: https://issues.apache.org/jira/browse/HAWQ-1316
> Project: Apache HAWQ
>  Issue Type: Bug
>  Components: Build
>Reporter: Radar Lei
>Assignee: Radar Lei
> Fix For: backlog
>
>
> While compiling HAWQ feature test on rhel7, I see below error.
> make -C lib all
> make[1]: Entering directory 
> `/tmp/build/78017950/hdb_apache/src/test/feature/lib'
> ar -r libtest.a 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/xml_parser.o 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/command.o 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/hawq_config.o 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/hawq_scp.o 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/string_util.o 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/hdfs_config.o 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/data_gen.o 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/psql.o 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/yarn_config.o 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/sql_util.o 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/file_replace.o
> ar: creating libtest.a
> make[1]: Leaving directory 
> `/tmp/build/78017950/hdb_apache/src/test/feature/lib'
> g++ -I/usr/include -I/usr/local/include -I/usr/include/libxml2 
> -I/tmp/build/78017950/hdb_apache/src/test/feature/ 
> -I/tmp/build/78017950/hdb_apache/src/test/feature/ManagementTool/ 
> -I/tmp/build/78017950/hdb_apache/src/test/feature/lib/ 
> -I/tmp/build/78017950/hdb_apache/src/interfaces/libpq 
> -I/tmp/build/78017950/hdb_apache/src/interfaces 
> -I/tmp/build/78017950/hdb_apache/src/include  
> -I/tmp/build/78017950/hdb_apache/depends/thirdparty/googletest/googletest/include
>  
> -I/tmp/build/78017950/hdb_apache/depends/thirdparty/googletest/googlemock/include
>  -Wall -O0 -g -std=c++11 test_main.o ao/TestAoSnappy.o utility/test_copy.o 
> utility/test_cmd.o testlib/test_lib.o ExternalSource/test_errortbl.o 
> ExternalSource/test_external_oid.o ExternalSource/test_exttab.o 
> query/test_create_type_composite.o query/test_prepare.o query/test_portal.o 
> query/test_temp.o query/test_polymorphism.o query/test_nested_case_null.o 
> query/test_sequence.o query/test_parser.o query/test_information_schema.o 
> query/test_gp_dist_random.o query/test_rowtypes.o query/test_insert.o 
> query/test_aggregate.o parquet/test_parquet.o 
> transactions/test_transactions.o ddl/test_database.o 
> partition/test_partition.o catalog/test_alter_table.o catalog/test_type.o 
> catalog/test_alter_owner.o catalog/test_guc.o catalog/test_create_table.o 
> toast/TestToast.o planner/test_subplan.o UDF/TestUDF.o 
> PreparedStatement/TestPreparedStatement.o lib/xml_parser.o lib/command.o 
> lib/hawq_config.o lib/hawq_scp.o lib/string_util.o lib/hdfs_config.o 
> lib/data_gen.o lib/psql.o lib/yarn_config.o lib/sql_util.o lib/file_replace.o 
> ManagementTool/test_hawq_register_usage2_case1.o 
> ManagementTool/test_hawq_register_usage2_case2.o 
> ManagementTool/test_hawq_register_usage1.o 
> ManagementTool/test_hawq_register_rollback.o 
> ManagementTool/test_hawq_register_partition.o -L../../../src/port 
> -L../../../src/port -Wl,--as-needed 
> -L/tmp/build/78017950/hdb_apache/depends/libhdfs3/build/install/usr/local/hawq/lib
>  
> -L/tmp/build/78017950/hdb_apache/depends/libyarn/build/install/usr/local/hawq/lib
>  -Wl,-rpath,'/usr/local/hawq/lib',--enable-new-dtags -L/usr/local/lib 
> -L/usr/lib -L/tmp/build/78017950/hdb_apache/src/test/feature/ 
> -L/tmp/build/78017950/hdb_apache/src/test/feature/lib/ 
> -L/tmp/build/78017950/hdb_apache/src/interfaces/libpq 
> -L/tmp/build/78017950/hdb_apache/depends/thirdparty/googletest/build/googlemock
>  
> -L/tmp/build/78017950/hdb_apache/depends/thirdparty/googletest/build/googlemock/gtest
>  -lpgport -ljson-c -levent -lyaml -lsnappy -lbz2 -lrt -lz -lreadline -lcrypt 
> -ldl -lm  -lcurl   -lyarn -lkrb5 -lgtest -lpq -lxml2 -ltest -o feature-test
> /usr/bin/ld: /usr/lib/libgtest.a(gtest-all.cc.o): undefined reference to 
> symbol 'pthread_key_delete@@GLIBC_2.2.5'
> /usr/lib64/libpthread.so.0: error adding symbols: DSO missing from command 
> line
> collect2: error: ld returned 1 exit status
> make: *** [all] Error 1
> After append '-l pthread', the compile passed. now this happens on centos7.3 
> version, centos7.2 working fine.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (HAWQ-1316) Feature test compile failed on on Centos7.3

2017-02-16 Thread Ruilong Huo (JIRA)

[ 
https://issues.apache.org/jira/browse/HAWQ-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15869561#comment-15869561
 ] 

Ruilong Huo commented on HAWQ-1316:
---

Please close this jira if the issue is resolved.

> Feature test compile failed on on Centos7.3
> ---
>
> Key: HAWQ-1316
> URL: https://issues.apache.org/jira/browse/HAWQ-1316
> Project: Apache HAWQ
>  Issue Type: Bug
>  Components: Build
>Reporter: Radar Lei
>Assignee: Radar Lei
> Fix For: backlog
>
>
> While compiling HAWQ feature test on rhel7, I see below error.
> make -C lib all
> make[1]: Entering directory 
> `/tmp/build/78017950/hdb_apache/src/test/feature/lib'
> ar -r libtest.a 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/xml_parser.o 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/command.o 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/hawq_config.o 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/hawq_scp.o 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/string_util.o 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/hdfs_config.o 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/data_gen.o 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/psql.o 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/yarn_config.o 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/sql_util.o 
> /tmp/build/78017950/hdb_apache/src/test/feature/lib/file_replace.o
> ar: creating libtest.a
> make[1]: Leaving directory 
> `/tmp/build/78017950/hdb_apache/src/test/feature/lib'
> g++ -I/usr/include -I/usr/local/include -I/usr/include/libxml2 
> -I/tmp/build/78017950/hdb_apache/src/test/feature/ 
> -I/tmp/build/78017950/hdb_apache/src/test/feature/ManagementTool/ 
> -I/tmp/build/78017950/hdb_apache/src/test/feature/lib/ 
> -I/tmp/build/78017950/hdb_apache/src/interfaces/libpq 
> -I/tmp/build/78017950/hdb_apache/src/interfaces 
> -I/tmp/build/78017950/hdb_apache/src/include  
> -I/tmp/build/78017950/hdb_apache/depends/thirdparty/googletest/googletest/include
>  
> -I/tmp/build/78017950/hdb_apache/depends/thirdparty/googletest/googlemock/include
>  -Wall -O0 -g -std=c++11 test_main.o ao/TestAoSnappy.o utility/test_copy.o 
> utility/test_cmd.o testlib/test_lib.o ExternalSource/test_errortbl.o 
> ExternalSource/test_external_oid.o ExternalSource/test_exttab.o 
> query/test_create_type_composite.o query/test_prepare.o query/test_portal.o 
> query/test_temp.o query/test_polymorphism.o query/test_nested_case_null.o 
> query/test_sequence.o query/test_parser.o query/test_information_schema.o 
> query/test_gp_dist_random.o query/test_rowtypes.o query/test_insert.o 
> query/test_aggregate.o parquet/test_parquet.o 
> transactions/test_transactions.o ddl/test_database.o 
> partition/test_partition.o catalog/test_alter_table.o catalog/test_type.o 
> catalog/test_alter_owner.o catalog/test_guc.o catalog/test_create_table.o 
> toast/TestToast.o planner/test_subplan.o UDF/TestUDF.o 
> PreparedStatement/TestPreparedStatement.o lib/xml_parser.o lib/command.o 
> lib/hawq_config.o lib/hawq_scp.o lib/string_util.o lib/hdfs_config.o 
> lib/data_gen.o lib/psql.o lib/yarn_config.o lib/sql_util.o lib/file_replace.o 
> ManagementTool/test_hawq_register_usage2_case1.o 
> ManagementTool/test_hawq_register_usage2_case2.o 
> ManagementTool/test_hawq_register_usage1.o 
> ManagementTool/test_hawq_register_rollback.o 
> ManagementTool/test_hawq_register_partition.o -L../../../src/port 
> -L../../../src/port -Wl,--as-needed 
> -L/tmp/build/78017950/hdb_apache/depends/libhdfs3/build/install/usr/local/hawq/lib
>  
> -L/tmp/build/78017950/hdb_apache/depends/libyarn/build/install/usr/local/hawq/lib
>  -Wl,-rpath,'/usr/local/hawq/lib',--enable-new-dtags -L/usr/local/lib 
> -L/usr/lib -L/tmp/build/78017950/hdb_apache/src/test/feature/ 
> -L/tmp/build/78017950/hdb_apache/src/test/feature/lib/ 
> -L/tmp/build/78017950/hdb_apache/src/interfaces/libpq 
> -L/tmp/build/78017950/hdb_apache/depends/thirdparty/googletest/build/googlemock
>  
> -L/tmp/build/78017950/hdb_apache/depends/thirdparty/googletest/build/googlemock/gtest
>  -lpgport -ljson-c -levent -lyaml -lsnappy -lbz2 -lrt -lz -lreadline -lcrypt 
> -ldl -lm  -lcurl   -lyarn -lkrb5 -lgtest -lpq -lxml2 -ltest -o feature-test
> /usr/bin/ld: /usr/lib/libgtest.a(gtest-all.cc.o): undefined reference to 
> symbol 'pthread_key_delete@@GLIBC_2.2.5'
> /usr/lib64/libpthread.so.0: error adding symbols: DSO missing from command 
> line
> collect2: error: ld returned 1 exit status
> make: *** [all] Error 1
> After append '-l pthread', the compile passed. now this happens on centos7.3 
> version, centos7.2 working fine.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] incubator-hawq-site issue #10: Link doc to the open source version and move ...

2017-02-16 Thread paul-guo-
Github user paul-guo- commented on the issue:

https://github.com/apache/incubator-hawq-site/pull/10
  
Doc links to the latest version. I guess we should add links to all 
versions in each doc also?


---
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.
---


[GitHub] incubator-hawq-site pull request #10: Link doc to the open source version an...

2017-02-16 Thread paul-guo-
GitHub user paul-guo- opened a pull request:

https://github.com/apache/incubator-hawq-site/pull/10

Link doc to the open source version and move the docs link right befo…

…re "More..."

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

$ git pull https://github.com/paul-guo-/incubator-hawq-site doc-link

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

https://github.com/apache/incubator-hawq-site/pull/10.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 #10


commit 39c37800dfc111eed9b5f8a634c807a92566d581
Author: Paul Guo 
Date:   2017-02-16T08:22:03Z

Link doc to the open source version and move the docs link right before 
"More..."




---
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.
---


[jira] [Resolved] (HAWQ-1336) HAWQ Travis CI build service is failing

2017-02-16 Thread Ed Espino (JIRA)

 [ 
https://issues.apache.org/jira/browse/HAWQ-1336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ed Espino resolved HAWQ-1336.
-
Resolution: Fixed

Merged.

> HAWQ Travis CI build service is failing
> ---
>
> Key: HAWQ-1336
> URL: https://issues.apache.org/jira/browse/HAWQ-1336
> Project: Apache HAWQ
>  Issue Type: Task
>  Components: Build
>Reporter: Ed Espino
>Assignee: Ed Espino
> Fix For: 2.2.0.0-incubating
>
>
> The HAWQ Travis CI builds are currently failing with the following error:
> {code}
> Error: libevent-2.0.22 already installed
> ...
> The command "brew install protobuf protobuf-c Gsasl openssl thrift ccache 
> snappy libevent bison cpanm maven" failed and exited with 1 during .
> Your build has been stopped.
> /Users/travis/build.sh: line 155: shell_session_update: command not found
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Resolved] (HAWQ-1330) Add ASF license header to additional files

2017-02-16 Thread Ed Espino (JIRA)

 [ 
https://issues.apache.org/jira/browse/HAWQ-1330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ed Espino resolved HAWQ-1330.
-
Resolution: Fixed

Merged

> Add ASF license header to additional files
> --
>
> Key: HAWQ-1330
> URL: https://issues.apache.org/jira/browse/HAWQ-1330
> Project: Apache HAWQ
>  Issue Type: Bug
>  Components: Tests
>Reporter: Ed Espino
>Assignee: Jiali Yao
> Fix For: 2.2.0.0-incubating
>
>
> Add ASF header to the following files (pom.xml updated as well):
> {code}
> .travis.yml
> pxf/pxf-service/src/main/resources/pxf-private.classpath
> pxf/pxf-service/src/main/resources/pxf-privatehdp.classpath
> pxf/pxf-service/src/main/resources/pxf-privatephd.classpath
> pxf/pxf-service/src/main/resources/pxf-public.classpath
> src/test/amsd/Makefile
> src/test/examples/Makefile
> src/test/feature/ExternalSource/lib/Makefile
> src/test/feature/Makefile
> src/test/feature/ManagementTool/files_incomplete.yml
> src/test/feature/ManagementTool/missing_bucketnum.yml
> src/test/feature/ManagementTool/missing_checksum.yml
> src/test/feature/ManagementTool/missing_constraint_partition.yml
> src/test/feature/ManagementTool/missing_filesize.yml
> src/test/feature/ManagementTool/missing_pagesize.yml
> src/test/feature/ManagementTool/missing_rowgroupsize.yml
> src/test/feature/ManagementTool/partition/constraint_not_exists_in_catalog_tpl.yml
> src/test/feature/ManagementTool/partition/different_partition_policy_tpl.yml
> src/test/feature/ManagementTool/partition/duplicate_partition_constraint_tpl.yml
> src/test/feature/ManagementTool/partition/force_mode_normal_tpl.yml
> src/test/feature/ManagementTool/partition/sub_set_catalog_table_tpl.yml
> src/test/feature/ManagementTool/partition/table_exists_list_partition_tpl.yml
> src/test/feature/ManagementTool/partition/table_exists_range_partition_tpl.yml
> src/test/feature/ManagementTool/partition/table_exists_table_file_not_exists_tpl.yml
> src/test/feature/ManagementTool/partition/table_not_exists_list_partition_tpl.yml
> src/test/feature/ManagementTool/partition/table_not_exists_range_partition_tpl.yml
> src/test/feature/ManagementTool/partition/table_not_exists_table_file_not_exists_tpl.yml
> src/test/feature/ManagementTool/usage2_include1/includedirectory_tpl.yml
> src/test/feature/ManagementTool/usage2_include2/includedirectory_tpl.yml
> src/test/feature/ManagementTool/usage2case1/bucket0_tpl.yml
> src/test/feature/ManagementTool/usage2case1/contain_error_symbol_tpl.yml
> src/test/feature/ManagementTool/usage2case1/error_blocksize_tpl.yml
> src/test/feature/ManagementTool/usage2case1/error_checksum_tpl.yml
> src/test/feature/ManagementTool/usage2case1/error_columnnum_tpl.yml
> src/test/feature/ManagementTool/usage2case1/error_compresslevel_tpl.yml
> src/test/feature/ManagementTool/usage2case1/error_compresstype_tpl.yml
> src/test/feature/ManagementTool/usage2case1/error_encoding_tpl.yml
> src/test/feature/ManagementTool/usage2case1/error_format_tpl.yml
> src/test/feature/ManagementTool/usage2case1/error_pagesize_tpl.yml
> src/test/feature/ManagementTool/usage2case1/error_rowgroupsize_tpl.yml
> src/test/feature/ManagementTool/usage2case1/error_schema_tpl.yml
> src/test/feature/ManagementTool/usage2case1/file_under_table_directory_tpl.yml
> src/test/feature/ManagementTool/usage2case1/float_eof_tpl.yml
> src/test/feature/ManagementTool/usage2case1/includedirectory_tpl.yml
> src/test/feature/ManagementTool/usage2case1/larger_eof_tpl.yml
> src/test/feature/ManagementTool/usage2case1/minus_eof_tpl.yml
> src/test/feature/ManagementTool/usage2case1/wrong_distributed_policy_tpl.yml
> src/test/feature/ManagementTool/usage2case1/zero_eof_tpl.yml
> src/test/feature/ManagementTool/usage2case2/bucket0_tpl.yml
> src/test/feature/ManagementTool/usage2case2/contain_error_symbol_tpl.yml
> src/test/feature/ManagementTool/usage2case2/error_blocksize_tpl.yml
> src/test/feature/ManagementTool/usage2case2/error_checksum_tpl.yml
> src/test/feature/ManagementTool/usage2case2/error_columnnum_tpl.yml
> src/test/feature/ManagementTool/usage2case2/error_compresslevel_tpl.yml
> src/test/feature/ManagementTool/usage2case2/error_compresstype_tpl.yml
> src/test/feature/ManagementTool/usage2case2/error_encoding_tpl.yml
> src/test/feature/ManagementTool/usage2case2/error_format_tpl.yml
> src/test/feature/ManagementTool/usage2case2/error_pagesize_tpl.yml
> src/test/feature/ManagementTool/usage2case2/error_rowgroupsize_tpl.yml
> src/test/feature/ManagementTool/usage2case2/file_in_yaml_not_exist_tpl.yml
> src/test/feature/ManagementTool/usage2case2/file_not_included_in_yaml_config_tpl.yml
> src/test/feature/ManagementTool/usage2case2/float_eof_tpl.yml
> src/test/feature/ManagementTool/usage2case2/hash_to_random_tpl.yml
> src/test/feature/ManagementTool/usage2case2/larger_eof_tpl.yml
>