HIVE-16617: Clean up javadoc from errors in module hive-shims (Janos Gub via Zoltan Haindrich)
Signed-off-by: Zoltan Haindrich <k...@rxd.hu> Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/7827316f Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/7827316f Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/7827316f Branch: refs/heads/master Commit: 7827316f0c4cb9e9fe63506687b33bf4b2c4e70a Parents: 1b8ba02 Author: Janos Gub <gubja...@gmail.com> Authored: Tue May 16 08:25:37 2017 +0200 Committer: Zoltan Haindrich <k...@rxd.hu> Committed: Tue May 16 08:25:37 2017 +0200 ---------------------------------------------------------------------- .../src/main/java/org/apache/hadoop/hive/shims/HadoopShims.java | 5 ++--- .../org/apache/hadoop/hive/thrift/HadoopThriftAuthBridge.java | 4 ++-- .../hive/thrift/TokenStoreDelegationTokenSecretManager.java | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/7827316f/shims/common/src/main/java/org/apache/hadoop/hive/shims/HadoopShims.java ---------------------------------------------------------------------- diff --git a/shims/common/src/main/java/org/apache/hadoop/hive/shims/HadoopShims.java b/shims/common/src/main/java/org/apache/hadoop/hive/shims/HadoopShims.java index 9c6901d..c280d49 100644 --- a/shims/common/src/main/java/org/apache/hadoop/hive/shims/HadoopShims.java +++ b/shims/common/src/main/java/org/apache/hadoop/hive/shims/HadoopShims.java @@ -168,7 +168,6 @@ public interface HadoopShims { * All updates to jobtracker/resource manager rpc address * in the configuration should be done through this shim * @param conf - * @return */ public void setJobLauncherRpcAddress(Configuration conf, String val); @@ -252,12 +251,12 @@ public interface HadoopShims { /** * For the block locations returned by getLocations() convert them into a Treemap - * <Offset,blockLocation> by iterating over the list of blockLocation. + * <Offset,blockLocation> by iterating over the list of blockLocation. * Using TreeMap from offset to blockLocation, makes it O(logn) to get a particular * block based upon offset. * @param fs the file system * @param status the file information - * @return TreeMap<Long, BlockLocation> + * @return TreeMap<Long, BlockLocation> * @throws IOException */ TreeMap<Long, BlockLocation> getLocationsWithOffset(FileSystem fs, http://git-wip-us.apache.org/repos/asf/hive/blob/7827316f/shims/common/src/main/java/org/apache/hadoop/hive/thrift/HadoopThriftAuthBridge.java ---------------------------------------------------------------------- diff --git a/shims/common/src/main/java/org/apache/hadoop/hive/thrift/HadoopThriftAuthBridge.java b/shims/common/src/main/java/org/apache/hadoop/hive/thrift/HadoopThriftAuthBridge.java index d420d09..fd86fed 100644 --- a/shims/common/src/main/java/org/apache/hadoop/hive/thrift/HadoopThriftAuthBridge.java +++ b/shims/common/src/main/java/org/apache/hadoop/hive/thrift/HadoopThriftAuthBridge.java @@ -169,9 +169,9 @@ public abstract class HadoopThriftAuthBridge { /** * Create a client-side SASL transport that wraps an underlying transport. * - * @param method The authentication method to use. Currently only KERBEROS is + * @param methodStr The authentication method to use. Currently only KERBEROS is * supported. - * @param serverPrincipal The Kerberos principal of the target server. + * @param principalConfig The Kerberos principal of the target server. * @param underlyingTransport The underlying transport mechanism, usually a TSocket. * @param saslProps the sasl properties to create the client with */ http://git-wip-us.apache.org/repos/asf/hive/blob/7827316f/shims/common/src/main/java/org/apache/hadoop/hive/thrift/TokenStoreDelegationTokenSecretManager.java ---------------------------------------------------------------------- diff --git a/shims/common/src/main/java/org/apache/hadoop/hive/thrift/TokenStoreDelegationTokenSecretManager.java b/shims/common/src/main/java/org/apache/hadoop/hive/thrift/TokenStoreDelegationTokenSecretManager.java index 4d910d8..4719b85 100644 --- a/shims/common/src/main/java/org/apache/hadoop/hive/thrift/TokenStoreDelegationTokenSecretManager.java +++ b/shims/common/src/main/java/org/apache/hadoop/hive/thrift/TokenStoreDelegationTokenSecretManager.java @@ -184,7 +184,7 @@ public class TokenStoreDelegationTokenSecretManager extends DelegationTokenSecre /** * Synchronize master key updates / sequence generation for multiple nodes. - * NOTE: {@Link AbstractDelegationTokenSecretManager} keeps currentKey private, so we need + * NOTE: {@link AbstractDelegationTokenSecretManager} keeps currentKey private, so we need * to utilize this "hook" to manipulate the key through the object reference. * This .20S workaround should cease to exist when Hadoop supports token store. */