diff --git hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/Server.java hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/Server.java index a94b8e9..77c8610 100644 --- hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/Server.java +++ hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/Server.java @@ -923,16 +923,16 @@ public QueueStatusBean deleteJobId(@PathParam("jobid") String jobid) * 1. curl -s 'http://localhost:50111/templeton/v1/jobs?user.name=hsubramaniyan' * Return all the Job IDs submitted by hsubramaniyan * 2. curl -s - * 'http://localhost:50111/templeton/v1/jobs?user.name=hsubramaniyan&showall=true' + * 'http://localhost:50111/templeton/v1/jobs?user.name=hsubramaniyan%26showall=true' * Return all the Job IDs that are visible to hsubramaniyan * 3. curl -s - * 'http://localhost:50111/templeton/v1/jobs?user.name=hsubramaniyan&jobid=job_201312091733_0003' + * 'http://localhost:50111/templeton/v1/jobs?user.name=hsubramaniyan%26jobid=job_201312091733_0003' * Return all the Job IDs for hsubramaniyan after job_201312091733_0003. * 4. curl -s 'http://localhost:50111/templeton/v1/jobs? - * user.name=hsubramaniyan&jobid=job_201312091733_0003&numrecords=5' + * user.name=hsubramaniyan%26jobid=job_201312091733_0003%26numrecords=5' * Return the first 5(atmost) Job IDs submitted by hsubramaniyan after job_201312091733_0003. * 5. curl -s - * 'http://localhost:50111/templeton/v1/jobs?user.name=hsubramaniyan&numrecords=5' + * 'http://localhost:50111/templeton/v1/jobs?user.name=hsubramaniyan%26numrecords=5' * Return the first 5(atmost) Job IDs submitted by hsubramaniyan after sorting the Job ID list * lexicographically. *

diff --git hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/tool/TempletonStorage.java hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/tool/TempletonStorage.java index cf27ffa..4bd73d9 100644 --- hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/tool/TempletonStorage.java +++ hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/tool/TempletonStorage.java @@ -93,7 +93,7 @@ public void saveField(Type type, String id, String key, String val) * Get the id of each data grouping of a given type in the storage * system. * @param type The data type (as listed above) - * @return An ArrayList of ids. + * @return A list of ids. */ public List getAllForType(Type type); diff --git hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/tool/ZooKeeperCleanup.java hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/tool/ZooKeeperCleanup.java index 1900761..9e2a461 100644 --- hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/tool/ZooKeeperCleanup.java +++ hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/tool/ZooKeeperCleanup.java @@ -85,8 +85,6 @@ public static void startInstance(Configuration appConf) throws IOException { /** * Run the cleanup loop. - * - * @throws IOException */ public void run() { CuratorFramework zk = null; @@ -131,8 +129,6 @@ public void run() { /** * Get the list of jobs from JobState - * - * @throws IOException */ public List getChildList(CuratorFramework zk) { try {