knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmin...@apache.org
Subject git commit: KNOX-442: Align DSL with WebHCat REST API changes.
Date Tue, 21 Oct 2014 04:31:52 GMT
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 <kevin.minder@hortonworks.com>
Authored: Tue Oct 21 00:31:47 2014 -0400
Committer: Kevin Minder <kevin.minder@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 ) );
         }


Mime
View raw message