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:32:17 GMT
Repository: knox
Updated Branches:
  refs/heads/v0.5.0 577476c1c -> f04a0e177


KNOX-442: Align DSL with WebHCat REST API changes.

(cherry picked from commit 1b2e5281bf64a497623dbce7b29ed0cd6834aba3)


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

Branch: refs/heads/v0.5.0
Commit: f04a0e177a6f1a823965660523a1b924cb6ad2eb
Parents: 577476c
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:32:13 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/f04a0e17/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/f04a0e17/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