incubator-hawq git commit: HAWQ-872 Fix HAWQ check fails when kerberos is enabled

2016-07-07 Thread rlei
Repository: incubator-hawq
Updated Branches:
  refs/heads/master e150dc4e3 -> 3b54677d9


HAWQ-872  Fix HAWQ check fails when kerberos is enabled

When kerberos is enabled, we run 'hawq check' without '--kerberos' option,
it will give 'global name 'hadoop' is not defined' error.


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/3b54677d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/3b54677d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/3b54677d

Branch: refs/heads/master
Commit: 3b54677d9d06d49e40e161daedfe7efa2229fc07
Parents: e150dc4
Author: rlei 
Authored: Wed Jul 6 16:25:30 2016 +0800
Committer: rlei 
Committed: Fri Jul 8 10:45:33 2016 +0800

--
 tools/bin/gpcheck | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/3b54677d/tools/bin/gpcheck
--
diff --git a/tools/bin/gpcheck b/tools/bin/gpcheck
index 9b7be6a..e9da85a 100755
--- a/tools/bin/gpcheck
+++ b/tools/bin/gpcheck
@@ -785,11 +785,11 @@ def testHAWQconfig(host):
 if not options.kerberos:
 if 'hadoop.security.authentication' in actual_config:
 if actual_config['hadoop.security.authentication'] != 'simple':
-checkFailed(host.hostname, "HAWQ configuration: expected '%s' 
for '%s', actual value is '%s'" % ('simple', 'hadoop.security.authentication', 
actual_config[hadoop.security.authentication]))
+checkFailed(host.hostname, "HAWQ configuration: expected '%s' 
for '%s', actual value is '%s'" % ('simple', 'hadoop.security.authentication', 
actual_config['hadoop.security.authentication']))
 
 if 'hadoop.security.authentication' in hdfs_actual_config:
 if hdfs_actual_config['hadoop.security.authentication'] != 
'simple':
-checkFailed(host.hostname, "HAWQ configuration: expected '%s' 
for '%s', actual value is '%s'" % ('simple', 'hadoop.security.authentication', 
hdfs_actual_config[hadoop.security.authentication]))
+checkFailed(host.hostname, "HAWQ configuration: expected '%s' 
for '%s', actual value is '%s'" % ('simple', 'hadoop.security.authentication', 
hdfs_actual_config['hadoop.security.authentication']))
 
 if options.yarn or options.yarn_ha:
 hawq_yarn_property_exist_list = ['hawq_rm_yarn_address', 
'hawq_rm_yarn_scheduler_address', 'hawq_rm_yarn_app_name']



[incubator-hawq] Git Push Summary

2016-07-07 Thread shivram
Repository: incubator-hawq
Updated Branches:
  refs/heads/HAWQ-615 [deleted] b5819d67c


[incubator-hawq] Git Push Summary

2016-07-07 Thread shivram
Repository: incubator-hawq
Updated Branches:
  refs/heads/HAWQ-683 [deleted] adff2c279


[incubator-hawq] Git Push Summary

2016-07-07 Thread shivram
Repository: incubator-hawq
Updated Branches:
  refs/heads/HAWQ-577 [deleted] f39ab15ed


[incubator-hawq] Git Push Summary

2016-07-07 Thread shivram
Repository: incubator-hawq
Updated Branches:
  refs/heads/HAWQ-462 [deleted] 49dfdd87a


incubator-hawq git commit: HAWQ-779. PXF Fix filter test failures

2016-07-07 Thread shivram
Repository: incubator-hawq
Updated Branches:
  refs/heads/master 0f61e8597 -> e150dc4e3


HAWQ-779. PXF Fix filter test failures


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/e150dc4e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/e150dc4e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/e150dc4e

Branch: refs/heads/master
Commit: e150dc4e346bf471687e32c32f37c66896d302ec
Parents: 0f61e85
Author: Shivram Mani 
Authored: Thu Jul 7 15:04:31 2016 -0700
Committer: Shivram Mani 
Committed: Thu Jul 7 15:04:31 2016 -0700

--
 .../org/apache/hawq/pxf/plugins/hbase/HBaseFilterBuilder.java | 2 +-
 .../hawq/pxf/plugins/hive/utilities/EnumHiveToHawqType.java   | 2 +-
 .../java/org/apache/hawq/pxf/plugins/json/JsonRecordReader.java   | 2 +-
 .../hawq/pxf/plugins/json/parser/PartitionedJsonParser.java   | 3 +--
 src/backend/access/external/test/pxffilters_test.c| 3 ++-
 5 files changed, 6 insertions(+), 6 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/e150dc4e/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseFilterBuilder.java
--
diff --git 
a/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseFilterBuilder.java
 
b/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseFilterBuilder.java
index 8dc932c..573fb81 100644
--- 
a/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseFilterBuilder.java
+++ 
b/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseFilterBuilder.java
@@ -250,7 +250,7 @@ public class HBaseFilterBuilder implements 
FilterParser.FilterBuilder {
  * Currently, multiple calls to this function might change
  * previous assignments.
  */
-private void storeStartEndKeys(FilterParser.Operation op, Object data) {
+private void storeStartEndKeys(FilterParser.Operation op, Object data) 
throws Exception{
 String key = (String) data;
 
 // Adding a zero byte to endkey, makes it inclusive

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/e150dc4e/pxf/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/utilities/EnumHiveToHawqType.java
--
diff --git 
a/pxf/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/utilities/EnumHiveToHawqType.java
 
b/pxf/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/utilities/EnumHiveToHawqType.java
index a747bd5..df376d0 100644
--- 
a/pxf/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/utilities/EnumHiveToHawqType.java
+++ 
b/pxf/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/utilities/EnumHiveToHawqType.java
@@ -89,7 +89,7 @@ public enum EnumHiveToHawqType {
 /**
  * Returns Hive to HAWQ type mapping entry for given Hive type 
  * 
- * @param hiveType full Hive type with modifiers, for example - 
decimal(10, 0), char(5), binary, array, map etc
+ * @param hiveType full Hive type with modifiers, for example - 
decimal(10, 0), char(5), binary, array, map 
etc
  * @return corresponding Hive to HAWQ type mapping entry
  * @throws UnsupportedTypeException if there is no corresponding HAWQ type
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/e150dc4e/pxf/pxf-json/src/main/java/org/apache/hawq/pxf/plugins/json/JsonRecordReader.java
--
diff --git 
a/pxf/pxf-json/src/main/java/org/apache/hawq/pxf/plugins/json/JsonRecordReader.java
 
b/pxf/pxf-json/src/main/java/org/apache/hawq/pxf/plugins/json/JsonRecordReader.java
index 26d4c82..fe1d2f1 100644
--- 
a/pxf/pxf-json/src/main/java/org/apache/hawq/pxf/plugins/json/JsonRecordReader.java
+++ 
b/pxf/pxf-json/src/main/java/org/apache/hawq/pxf/plugins/json/JsonRecordReader.java
@@ -67,7 +67,7 @@ public class JsonRecordReader implements 
RecordReader {
 *Hadoop context
 * @param split
 *HDFS split to start the reading from
-* @throws IOException
+* @throws IOException IOException
 */
public JsonRecordReader(JobConf conf, FileSplit split) throws 
IOException {
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/e150dc4e/pxf/pxf-json/src/main/java/org/apache/hawq/pxf/plugins/json/parser/PartitionedJsonParser.java
--
diff --git 
a/pxf/pxf-json/src/main/java/org/apache/hawq/pxf/plugins/json/parser/PartitionedJsonParser.java
 
b/pxf/pxf-json/src/main/java/org/apache/hawq/pxf/plugins/json/parser/PartitionedJsonParser.java
index 71ad449..71ed81c 100644
--- 
a/pxf/pxf-j