You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@knox.apache.org by km...@apache.org on 2014/10/21 06:31:52 UTC
git commit: KNOX-442: Align DSL with WebHCat REST API changes.
Repository: knox
Updated Branches:
refs/heads/master dbbc730cf -> 1b2e5281b
KNOX-442: Align DSL with WebHCat REST API changes.
Project: http://git-wip-us.apache.org/repos/asf/knox/repo
Commit: http://git-wip-us.apache.org/repos/asf/knox/commit/1b2e5281
Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/1b2e5281
Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/1b2e5281
Branch: refs/heads/master
Commit: 1b2e5281bf64a497623dbce7b29ed0cd6834aba3
Parents: dbbc730
Author: Kevin Minder <ke...@hortonworks.com>
Authored: Tue Oct 21 00:31:47 2014 -0400
Committer: Kevin Minder <ke...@hortonworks.com>
Committed: Tue Oct 21 00:31:47 2014 -0400
----------------------------------------------------------------------
.../src/main/java/org/apache/hadoop/gateway/shell/job/Queue.java | 2 +-
.../src/main/java/org/apache/hadoop/gateway/shell/job/Status.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/knox/blob/1b2e5281/gateway-shell/src/main/java/org/apache/hadoop/gateway/shell/job/Queue.java
----------------------------------------------------------------------
diff --git a/gateway-shell/src/main/java/org/apache/hadoop/gateway/shell/job/Queue.java b/gateway-shell/src/main/java/org/apache/hadoop/gateway/shell/job/Queue.java
index 6efe11f..8fb84c8 100644
--- a/gateway-shell/src/main/java/org/apache/hadoop/gateway/shell/job/Queue.java
+++ b/gateway-shell/src/main/java/org/apache/hadoop/gateway/shell/job/Queue.java
@@ -38,7 +38,7 @@ class Queue {
return new Callable<Response>() {
@Override
public Response call() throws Exception {
- URIBuilder uri = uri( Job.SERVICE_PATH, "/queue" );
+ URIBuilder uri = uri( Job.SERVICE_PATH, "/jobs" );
HttpGet request = new HttpGet( uri.build() );
return new Response( execute( request ) );
}
http://git-wip-us.apache.org/repos/asf/knox/blob/1b2e5281/gateway-shell/src/main/java/org/apache/hadoop/gateway/shell/job/Status.java
----------------------------------------------------------------------
diff --git a/gateway-shell/src/main/java/org/apache/hadoop/gateway/shell/job/Status.java b/gateway-shell/src/main/java/org/apache/hadoop/gateway/shell/job/Status.java
index 0c29b7a..b9210a5 100644
--- a/gateway-shell/src/main/java/org/apache/hadoop/gateway/shell/job/Status.java
+++ b/gateway-shell/src/main/java/org/apache/hadoop/gateway/shell/job/Status.java
@@ -45,7 +45,7 @@ class Status {
return new Callable<Response>() {
@Override
public Response call() throws Exception {
- URIBuilder uri = uri( Job.SERVICE_PATH, "/queue/", jobId );
+ URIBuilder uri = uri( Job.SERVICE_PATH, "/jobs/", jobId );
HttpGet request = new HttpGet( uri.build() );
return new Response( execute( request ) );
}