提交 2d11ad98 编写于 作者: L Lav Jain

Revert "Start hive for running HiveSmokeTest"

This reverts commit e449b1e0.
上级 e449b1e0
......@@ -91,7 +91,6 @@ function setup_singlecluster() {
export SLAVES=1
./init-gphd.sh
./start-hdfs.sh
./start-hive.sh
popd
}
......
......@@ -638,12 +638,7 @@ get_dest_address(CURL *curl_handle)
/* add dest url, if any, and curl was nice to tell us */
if (CURLE_OK == curl_easy_getinfo(curl_handle, CURLINFO_EFFECTIVE_URL, &dest_url) && dest_url)
{
char *uri_start = dest_url + strlen(PxfProtocolStr);
char *uri_end = strchr(uri_start, '/');
elog(INFO, "get dest address: %s", uri_start);
elog(INFO, "get dest address: %s", uri_end);
elog(INFO, "get dest address: %s", pnstrdup(uri_start, uri_end - uri_start));
return pnstrdup(uri_start, uri_end - uri_start);
return psprintf("'%s'", dest_url);
}
return dest_url;
}
......
......@@ -144,7 +144,6 @@ void churl_cleanup(CHURL_HANDLE handle, bool after_error);
*/
void print_http_headers(CHURL_HEADERS headers);
#define PxfProtocolStr "pxf://"
#define PxfServiceAddress "localhost:51200"
#define LocalhostIpV4Entry ":127.0.0.1"
#define LocalhostIpV4 "localhost"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册