[jira] [Closed] (HAWQ-1021) Need to log for some local_ssh function calls.

2016-08-28 Thread Paul Guo (JIRA)

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

Paul Guo closed HAWQ-1021.
--
Resolution: Fixed
  Assignee: Paul Guo  (was: hongwu)

> Need to log for some local_ssh function calls.
> --
>
> Key: HAWQ-1021
> URL: https://issues.apache.org/jira/browse/HAWQ-1021
> Project: Apache HAWQ
>  Issue Type: Bug
>Reporter: Paul Guo
>Assignee: Paul Guo
> Fix For: 2.0.1.0-incubating
>
>
> HAWQ management tools calls a lot of local_ssh() function to run some 
> external commands. The function is defined in hawqpylib/hawqlib.py. Many 
> callers does not set logger so we do not know any details about the command 
> running process. This is annoying when users/developers fail to run some 
> related commands and want to know the root cause quickly.
> Besides, there is two definitions of local_ssh(). Although they are not in 
> the same namespace, it is kind of annoying. We need to rename either one or 
> even both.



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


[GitHub] incubator-hawq pull request #863: HAWQ-1021. Need to log for some local_ssh ...

2016-08-28 Thread paul-guo-
Github user paul-guo- closed the pull request at:

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


---
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 #867: HAWQ-984. hawq config is too slow.

2016-08-28 Thread paul-guo-
Github user paul-guo- closed the pull request at:

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


---
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 #863: HAWQ-1021. Need to log for some local_ssh functio...

2016-08-28 Thread paul-guo-
Github user paul-guo- commented on the issue:

https://github.com/apache/incubator-hawq/pull/863
  
Merged. Closing.


---
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 #867: HAWQ-984. hawq config is too slow.

2016-08-28 Thread paul-guo-
Github user paul-guo- commented on the issue:

https://github.com/apache/incubator-hawq/pull/867
  
Merged. Closing.


---
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-1029) hawq register --help information not correct

2016-08-28 Thread Lili Ma (JIRA)
Lili Ma created HAWQ-1029:
-

 Summary: hawq register --help information not correct
 Key: HAWQ-1029
 URL: https://issues.apache.org/jira/browse/HAWQ-1029
 Project: Apache HAWQ
  Issue Type: Sub-task
  Components: Command Line Tools
Reporter: Lili Ma
Assignee: Lei Chang


The example for usage case 1 is not correct, should modify it.
$ hawq register postgres parquet_table hdfs://localhost:8020/temp/hive.paq



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


[GitHub] incubator-hawq pull request #870: HAWQ-1028. Add '-d' option for hawq state

2016-08-28 Thread radarwave
Github user radarwave closed the pull request at:

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


---
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 #867: HAWQ-984. hawq config is too slow.

2016-08-28 Thread radarwave
Github user radarwave commented on the issue:

https://github.com/apache/incubator-hawq/pull/867
  
LGTM +1


---
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 #871: HAWQ-909. Add feature test for goh_databas...

2016-08-28 Thread wengyanqing
GitHub user wengyanqing opened a pull request:

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

HAWQ-909. Add feature test for goh_database with new test framework



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

$ git pull https://github.com/wengyanqing/incubator-hawq HAWQ-909

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

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


commit def7b3083784f17c02e6c2f6365f627204cdb4d0
Author: ivan 
Date:   2016-08-29T02:59:12Z

HAWQ-909. Add feature test for goh_database with new test framework




---
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 #867: HAWQ-984. hawq config is too slow.

2016-08-28 Thread xunzhang
Github user xunzhang commented on the issue:

https://github.com/apache/incubator-hawq/pull/867
  
+1


---
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-1023) Incorrect usage of java.lang.String.replaceAll

2016-08-28 Thread hongwu (JIRA)

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

hongwu resolved HAWQ-1023.
--
Resolution: Fixed

> Incorrect usage of java.lang.String.replaceAll
> --
>
> Key: HAWQ-1023
> URL: https://issues.apache.org/jira/browse/HAWQ-1023
> Project: Apache HAWQ
>  Issue Type: Bug
>Reporter: hongwu
>Assignee: hongwu
>Priority: Minor
> Fix For: backlog
>
>
> Incorrect usage for java.lang.String.replaceAll generate useless calls:
> https://github.com/apache/incubator-hawq/blob/master/contrib/hawq-hadoop/hawq-mapreduce-common/src/main/java/com/pivotal/hawq/mapreduce/datatype/HAWQPath.java#L51
> https://github.com/apache/incubator-hawq/blob/master/contrib/hawq-hadoop/hawq-mapreduce-common/src/main/java/com/pivotal/hawq/mapreduce/datatype/HAWQPoint.java#L45
> https://github.com/apache/incubator-hawq/blob/master/contrib/hawq-hadoop/hawq-mapreduce-common/src/main/java/com/pivotal/hawq/mapreduce/datatype/HAWQPolygon.java#L46



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


[GitHub] incubator-hawq issue #870: HAWQ-1028. Add '-d' option for hawq state

2016-08-28 Thread huor
Github user huor commented on the issue:

https://github.com/apache/incubator-hawq/pull/870
  
+1


---
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 #837: HAWQ-779 support pxf filter pushdwon at th...

2016-08-28 Thread jiadexin
Github user jiadexin commented on a diff in the pull request:

https://github.com/apache/incubator-hawq/pull/837#discussion_r76547017
  
--- Diff: 
pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseFilterBuilder.java
 ---
@@ -165,6 +165,14 @@ private Filter 
handleSimpleOperations(FilterParser.Operation opId,
 ByteArrayComparable comparator = 
getComparator(hbaseColumn.columnTypeCode(),
 constant.constant());
 
+if(operatorsMap.get(opId) == null){
+//HBase not support HDOP_LIKE, use 'NOT NULL' Comarator
--- End diff --

should i  develop a HBase LIKE Filter ?


---
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 #837: HAWQ-779 support pxf filter pushdwon at th...

2016-08-28 Thread jiadexin
Github user jiadexin commented on a diff in the pull request:

https://github.com/apache/incubator-hawq/pull/837#discussion_r76546715
  
--- Diff: 
pxf/pxf-api/src/test/java/org/apache/hawq/pxf/api/FilterParserTest.java ---
@@ -215,6 +215,10 @@ public void parseColumnOnLeft() throws Exception {
 filter = "a1c2o7";
 op = Operation.HDOP_AND;
 runParseOneOperation("this filter was build from HDOP_AND", 
filter, op);
+
+filter = "a1c2o8";
+op = Operation.HDOP_LIKE;
+runParseOneOperation("this filter was build from HDOP_LIKE", 
filter, op);
--- End diff --

This reference to the previous code _`runParseOneOperation("this filter was 
build from HDOP_AND", filter, op)`_ ,  has been corrected.


---
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 #869: HAWQ-1023. Fix incorrect usage of java.lan...

2016-08-28 Thread asfgit
Github user asfgit closed the pull request at:

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


---
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 #870: HAWQ-1028. Add '-d' option for hawq state

2016-08-28 Thread xunzhang
Github user xunzhang commented on the issue:

https://github.com/apache/incubator-hawq/pull/870
  
+1


---
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 #870: HAWQ-1028. Add '-d' option for hawq state

2016-08-28 Thread radarwave
GitHub user radarwave opened a pull request:

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

HAWQ-1028. Add '-d' option for hawq state

This option is not used at all, just add it to be compatible with Ambari 
since Ambari is using this option.

After Ambari removed it, we will remove it again.

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

$ git pull https://github.com/radarwave/incubator-hawq state-d

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

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


commit 4100269d9b4157147ca743cbd1661c650649d1a2
Author: rlei 
Date:   2016-08-28T15:19:57Z

HAWQ-1028. Add '-d' option for hawq state




---
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] [Assigned] (HAWQ-1028) Add '-d' option for hawq state to be compatible with Ambari

2016-08-28 Thread Radar Lei (JIRA)

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

Radar Lei reassigned HAWQ-1028:
---

Assignee: Radar Lei  (was: Lei Chang)

> Add '-d' option for hawq state to be compatible with Ambari
> ---
>
> Key: HAWQ-1028
> URL: https://issues.apache.org/jira/browse/HAWQ-1028
> Project: Apache HAWQ
>  Issue Type: Task
>  Components: Command Line Tools
>Reporter: Radar Lei
>Assignee: Radar Lei
>
> Previously we removed the legacy option '-d' '--datadir' from 'hawq state' 
> command. This option is used to specify the master data directory, but we 
> never used it in our command line tools.
> Now we found this unused option is used by current version Ambari, and will 
> cause Ambari check HAWQ status failed if we removed it. So to be compatible 
> with Ambari, we need to add it back until Ambari do not use this option.



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


[jira] [Created] (HAWQ-1028) Add '-d' option for hawq state to be compatible with Ambari

2016-08-28 Thread Radar Lei (JIRA)
Radar Lei created HAWQ-1028:
---

 Summary: Add '-d' option for hawq state to be compatible with 
Ambari
 Key: HAWQ-1028
 URL: https://issues.apache.org/jira/browse/HAWQ-1028
 Project: Apache HAWQ
  Issue Type: Task
  Components: Command Line Tools
Reporter: Radar Lei
Assignee: Lei Chang


Previously we removed the legacy option '-d' '--datadir' from 'hawq state' 
command. This option is used to specify the master data directory, but we never 
used it in our command line tools.

Now we found this unused option is used by current version Ambari, and will 
cause Ambari check HAWQ status failed if we removed it. So to be compatible 
with Ambari, we need to add it back until Ambari do not use this option.



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


[GitHub] incubator-hawq issue #869: HAWQ-1023. Fix incorrect usage of java.lang.Strin...

2016-08-28 Thread paul-guo-
Github user paul-guo- commented on the issue:

https://github.com/apache/incubator-hawq/pull/869
  
+1


---
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 #869: HAWQ-1023. Fix incorrect usage of java.lang.Strin...

2016-08-28 Thread huor
Github user huor commented on the issue:

https://github.com/apache/incubator-hawq/pull/869
  
+1


---
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 #869: HAWQ-1023. Fix incorrect usage of java.lang.Strin...

2016-08-28 Thread xunzhang
Github user xunzhang commented on the issue:

https://github.com/apache/incubator-hawq/pull/869
  
also cc @huor 


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