hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shiv...@apache.org
Subject incubator-hawq git commit: HAWQ-462. CR fixes
Date Fri, 04 Mar 2016 21:41:52 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/HAWQ-462 50926e747 -> c5d3e4a3b


HAWQ-462. CR fixes


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

Branch: refs/heads/HAWQ-462
Commit: c5d3e4a3ba232f69b217f112c9908369d2f2ce2e
Parents: 50926e7
Author: Shivram Mani <shivram.mani@gmail.com>
Authored: Fri Mar 4 13:41:42 2016 -0800
Committer: Shivram Mani <shivram.mani@gmail.com>
Committed: Fri Mar 4 13:41:42 2016 -0800

----------------------------------------------------------------------
 src/backend/access/external/hd_work_mgr.c  | 1 +
 src/backend/access/external/pxfuriparser.c | 6 +++++-
 2 files changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c5d3e4a3/src/backend/access/external/hd_work_mgr.c
----------------------------------------------------------------------
diff --git a/src/backend/access/external/hd_work_mgr.c b/src/backend/access/external/hd_work_mgr.c
index 49d9bea..a80eb01 100644
--- a/src/backend/access/external/hd_work_mgr.c
+++ b/src/backend/access/external/hd_work_mgr.c
@@ -803,6 +803,7 @@ make_allocation_output_string(List *segment_fragments)
 		pfree(fragment_str.data);
 
 	}
+	pfree(dfs_address);
 
 	return segwork.data;
 }

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c5d3e4a3/src/backend/access/external/pxfuriparser.c
----------------------------------------------------------------------
diff --git a/src/backend/access/external/pxfuriparser.c b/src/backend/access/external/pxfuriparser.c
index afa5d06..35ead79 100644
--- a/src/backend/access/external/pxfuriparser.c
+++ b/src/backend/access/external/pxfuriparser.c
@@ -663,7 +663,7 @@ GPHDUri_parse_segwork(GPHDUri *uri, const char *uri_str)
 
 /*
  * Parsed a fragment string in the form:
- * <ip>@<port>@<index>[@user_data] - 192.168.1.1@1422@1[@user_data]
+ * <ip>@<port>@<index>@<fragment_md>@<dfs_address>[@user_data]
- 192.168.1.1@1422@1@<fragment metadata>@hdfs://nameservice/hawq_default[@user_data]
  * to authority ip:port - 192.168.1.1:1422
  * to index - 1
  * user data is optional
@@ -752,6 +752,10 @@ GPHDUri_free_fragments(GPHDUri *uri)
 		pfree(data->authority);
 		pfree(data->index);
 		pfree(data->source_name);
+		pfree(data->fragment_md);
+		pfree(data->dfs_address);
+		if(data->user_data)
+			pfree(data->user_data);
 		pfree(data);
 	}
 	list_free(uri->fragments);


Mime
View raw message