Repository: hive
Updated Branches:
  refs/heads/master 16be2e608 -> 755688fda


HIVE-15295: Fix HCatalog javadoc generation with Java 8 (Jesus Camacho 
Rodriguez, reviewed by Sergio Peña)


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

Branch: refs/heads/master
Commit: 755688fdaff46576463abd72c2889eeddf36d772
Parents: 16be2e6
Author: Jesus Camacho Rodriguez <[email protected]>
Authored: Tue Nov 29 08:41:17 2016 +0000
Committer: Jesus Camacho Rodriguez <[email protected]>
Committed: Tue Nov 29 08:41:17 2016 +0000

----------------------------------------------------------------------
 .../main/java/org/apache/hive/hcatalog/templeton/Server.java | 8 ++++----
 .../hive/hcatalog/templeton/tool/TempletonStorage.java       | 2 +-
 .../hive/hcatalog/templeton/tool/ZooKeeperCleanup.java       | 4 ----
 3 files changed, 5 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/755688fd/hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/Server.java
----------------------------------------------------------------------
diff --git 
a/hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/Server.java
 
b/hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/Server.java
index a94b8e9..77c8610 100644
--- 
a/hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/Server.java
+++ 
b/hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/Server.java
@@ -923,16 +923,16 @@ public class Server {
    * 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.
    * </p>

http://git-wip-us.apache.org/repos/asf/hive/blob/755688fd/hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/tool/TempletonStorage.java
----------------------------------------------------------------------
diff --git 
a/hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/tool/TempletonStorage.java
 
b/hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/tool/TempletonStorage.java
index cf27ffa..4bd73d9 100644
--- 
a/hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/tool/TempletonStorage.java
+++ 
b/hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/tool/TempletonStorage.java
@@ -93,7 +93,7 @@ public interface TempletonStorage {
    * 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<String> of ids.
+   * @return A list of ids.
    */
   public List<String> getAllForType(Type type);
 

http://git-wip-us.apache.org/repos/asf/hive/blob/755688fd/hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/tool/ZooKeeperCleanup.java
----------------------------------------------------------------------
diff --git 
a/hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/tool/ZooKeeperCleanup.java
 
b/hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/tool/ZooKeeperCleanup.java
index 1900761..9e2a461 100644
--- 
a/hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/tool/ZooKeeperCleanup.java
+++ 
b/hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/tool/ZooKeeperCleanup.java
@@ -85,8 +85,6 @@ public class ZooKeeperCleanup extends Thread {
 
   /**
    * Run the cleanup loop.
-   *
-   * @throws IOException
    */
   public void run() {
     CuratorFramework zk = null;
@@ -131,8 +129,6 @@ public class ZooKeeperCleanup extends Thread {
 
   /**
    * Get the list of jobs from JobState
-   *
-   * @throws IOException
    */
   public List<String> getChildList(CuratorFramework zk) {
     try {

Reply via email to