incubator-hawq git commit: HAWQ-1398. Fixing invalid references in log statements.

2017-05-19 Thread paulguo
Repository: incubator-hawq
Updated Branches:
  refs/heads/master db4350370 -> 3a9978906


HAWQ-1398. Fixing invalid references in log statements.

This fix the compile error due to the previous patch for this JIRA.


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

Branch: refs/heads/master
Commit: 3a99789067358597abaf0516b6e4b0aaebefcfec
Parents: db43503
Author: Paul Guo 
Authored: Fri May 19 16:51:37 2017 +0800
Committer: Paul Guo 
Committed: Fri May 19 16:51:37 2017 +0800

--
 src/bin/gpfilesystem/hdfs/gpfshdfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/3a997890/src/bin/gpfilesystem/hdfs/gpfshdfs.c
--
diff --git a/src/bin/gpfilesystem/hdfs/gpfshdfs.c 
b/src/bin/gpfilesystem/hdfs/gpfshdfs.c
index d07b732..60f947f 100644
--- a/src/bin/gpfilesystem/hdfs/gpfshdfs.c
+++ b/src/bin/gpfilesystem/hdfs/gpfshdfs.c
@@ -114,7 +114,7 @@ gpfs_hdfs_connect(PG_FUNCTION_ARGS)
ccname = FSYS_UDF_GET_CCNAME(fcinfo);
 
if (NULL == host) {
-   elog(WARNING, "get host invalid in %s" __func__);
+   elog(WARNING, "get host invalid in %s", __func__);
retval = -1;
errno = EINVAL;
PG_RETURN_INT32(retval);



[1/6] incubator-hawq git commit: HAWQ-1398. Fixing invalid references in log statements

2017-05-18 Thread kdunn
Repository: incubator-hawq
Updated Branches:
  refs/heads/master 1b116a65d -> db4350370


HAWQ-1398. Fixing invalid references in log statements


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

Branch: refs/heads/master
Commit: 1d40d4e0a2cb4572fdcc233285a4154c12f0c763
Parents: 19a7b22
Author: Kyle Dunn 
Authored: Tue Mar 21 10:44:18 2017 -0600
Committer: Kyle Dunn 
Committed: Tue Mar 21 10:44:18 2017 -0600

--
 src/bin/gpfilesystem/hdfs/gpfshdfs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/1d40d4e0/src/bin/gpfilesystem/hdfs/gpfshdfs.c
--
diff --git a/src/bin/gpfilesystem/hdfs/gpfshdfs.c 
b/src/bin/gpfilesystem/hdfs/gpfshdfs.c
index c7b56fb..8aa4047 100644
--- a/src/bin/gpfilesystem/hdfs/gpfshdfs.c
+++ b/src/bin/gpfilesystem/hdfs/gpfshdfs.c
@@ -171,7 +171,7 @@ gpfs_hdfs_disconnect(PG_FUNCTION_ARGS)
 
/* Must be called via the filesystem manager */
if (!CALLED_AS_GPFILESYSTEM(fcinfo)) {
-   elog(WARNING, "cannot execute gpfs_hdfs_openfile outside 
filesystem manager");
+   elog(WARNING, "cannot execute gpfs_hdfs_disconnect outside 
filesystem manager");
retval = -1;
errno = EINVAL;
PG_RETURN_INT32(retval);
@@ -180,7 +180,7 @@ gpfs_hdfs_disconnect(PG_FUNCTION_ARGS)
hdfs = FSYS_UDF_GET_HDFS(fcinfo);
 
if (NULL == hdfs) {
-   elog(WARNING, "get hdfs invalid in gpfs_hdfs_openfile");
+   elog(WARNING, "get hdfs invalid in gpfs_hdfs_disconnect");
retval = -1;
errno = EINVAL;
PG_RETURN_INT32(retval);