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-464. Update pxf port number in comments
Date Fri, 26 Feb 2016 21:49:22 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master 495bb2a2b -> c9499dca3


HAWQ-464. Update pxf port number in comments


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

Branch: refs/heads/master
Commit: c9499dca329443907a9c89d94831533bf7c9f372
Parents: 495bb2a
Author: Shivram Mani <shivram.mani@gmail.com>
Authored: Fri Feb 26 13:49:17 2016 -0800
Committer: Shivram Mani <shivram.mani@gmail.com>
Committed: Fri Feb 26 13:49:17 2016 -0800

----------------------------------------------------------------------
 .../org/apache/hawq/pxf/service/rest/FragmenterResource.java   | 2 +-
 .../org/apache/hawq/pxf/service/rest/WritableResource.java     | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9499dca/pxf/pxf-service/src/main/java/org/apache/hawq/pxf/service/rest/FragmenterResource.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-service/src/main/java/org/apache/hawq/pxf/service/rest/FragmenterResource.java
b/pxf/pxf-service/src/main/java/org/apache/hawq/pxf/service/rest/FragmenterResource.java
index 8fcbd3a..d6e8d49 100644
--- a/pxf/pxf-service/src/main/java/org/apache/hawq/pxf/service/rest/FragmenterResource.java
+++ b/pxf/pxf-service/src/main/java/org/apache/hawq/pxf/service/rest/FragmenterResource.java
@@ -49,7 +49,7 @@ import java.util.Map;
  * Class enhances the API of the WEBHDFS REST server. Returns the data fragments
  * that a data resource is made of, enabling parallel processing of the data
  * resource. Example for querying API FRAGMENTER from a web client
- * {@code curl -i "http://localhost:50070/pxf/{version}/Fragmenter/getFragments?path=/dir1/dir2/*txt"}
+ * {@code curl -i "http://localhost:51200/pxf/{version}/Fragmenter/getFragments?path=/dir1/dir2/*txt"}
  * <code>/pxf/</code> is made part of the path when there is a webapp by that
  * name in tomcat.
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9499dca/pxf/pxf-service/src/main/java/org/apache/hawq/pxf/service/rest/WritableResource.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-service/src/main/java/org/apache/hawq/pxf/service/rest/WritableResource.java
b/pxf/pxf-service/src/main/java/org/apache/hawq/pxf/service/rest/WritableResource.java
index 152ad8c..a6c8d6b 100644
--- a/pxf/pxf-service/src/main/java/org/apache/hawq/pxf/service/rest/WritableResource.java
+++ b/pxf/pxf-service/src/main/java/org/apache/hawq/pxf/service/rest/WritableResource.java
@@ -47,7 +47,7 @@ import org.apache.hawq.pxf.service.utilities.SecuredHDFS;
  * Running this resource manually:
  *
  * run:
- 	curl -i -X post "http://localhost:50070/pxf/{version}/Writable/stream?path=/data/curl/curl`date
\"+%h%d_%H%M%s\"`" \
+ 	curl -i -X post "http://localhost:51200/pxf/{version}/Writable/stream?path=/data/curl/curl`date
\"+%h%d_%H%M%s\"`" \
  	--header "X-GP-Accessor: TextFileWAccessor" \
  	--header "X-GP-Resolver: TextWResolver" \
  	--header "Content-Type:application/octet-stream" \
@@ -57,9 +57,9 @@ import org.apache.hawq.pxf.service.utilities.SecuredHDFS;
  	--header "X-GP-SEGMENT-COUNT: 3" \
  	--header "X-GP-HAS-FILTER: 0" \
  	--header "X-GP-FORMAT: TEXT" \
- 	--header "X-GP-URI: pxf://localhost:50070/data/curl/?Accessor=TextFileWAccessor&Resolver=TextWResolver"
\
+ 	--header "X-GP-URI: pxf://localhost:51200/data/curl/?Accessor=TextFileWAccessor&Resolver=TextWResolver"
\
  	--header "X-GP-URL-HOST: localhost" \
- 	--header "X-GP-URL-PORT: 50070" \
+ 	--header "X-GP-URL-PORT: 51200" \
  	--header "X-GP-ATTRS: 0" \
  	--header "X-GP-DATA-DIR: data/curl/" \
  	  -d "data111" -d "data222"


Mime
View raw message