HAWQ-1399. Fixing invalid references to gpfs_hdfs_tell in elog 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/dbf86100 Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/dbf86100 Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/dbf86100 Branch: refs/heads/master Commit: dbf861002af450029c8f0449f17c6cbbed349c91 Parents: 1d40d4e Author: Kyle Dunn <[email protected]> Authored: Tue Mar 21 10:52:44 2017 -0600 Committer: Kyle Dunn <[email protected]> Committed: Tue Mar 21 10:52:44 2017 -0600 ---------------------------------------------------------------------- src/bin/gpfilesystem/hdfs/gpfshdfs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/dbf86100/src/bin/gpfilesystem/hdfs/gpfshdfs.c ---------------------------------------------------------------------- diff --git a/src/bin/gpfilesystem/hdfs/gpfshdfs.c b/src/bin/gpfilesystem/hdfs/gpfshdfs.c index 8aa4047..3da8b67 100644 --- a/src/bin/gpfilesystem/hdfs/gpfshdfs.c +++ b/src/bin/gpfilesystem/hdfs/gpfshdfs.c @@ -662,7 +662,7 @@ gpfs_hdfs_truncate(PG_FUNCTION_ARGS) /* Must be called via the filesystem manager */ if (!CALLED_AS_GPFILESYSTEM(fcinfo)) { - elog(WARNING, "cannot execute gpfs_hdfs_tell outside filesystem manager"); + elog(WARNING, "cannot execute gpfs_hdfs_truncate outside filesystem manager"); retval = -1; errno = EINVAL; PG_RETURN_INT32(retval); @@ -717,7 +717,7 @@ gpfs_hdfs_getpathinfo(PG_FUNCTION_ARGS) /* Must be called via the filesystem manager */ if (!CALLED_AS_GPFILESYSTEM(fcinfo)) { - elog(WARNING, "cannot execute gpfs_hdfs_tell outside filesystem manager"); + elog(WARNING, "cannot execute gpfs_hdfs_getpathinfo outside filesystem manager"); retval = -1; errno = EINVAL; PG_RETURN_INT32(retval); @@ -757,7 +757,7 @@ gpfs_hdfs_freefileinfo(PG_FUNCTION_ARGS) /* Must be called via the filesystem manager */ if (!CALLED_AS_GPFILESYSTEM(fcinfo)) { - elog(WARNING, "cannot execute gpfs_hdfs_tell outside filesystem manager"); + elog(WARNING, "cannot execute gpfs_hdfs_freefileinfo outside filesystem manager"); retval = -1; errno = EINVAL; PG_RETURN_INT64(retval);
