You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2013/08/09 07:13:16 UTC
svn commit: r1512137 -
/hive/trunk/shims/src/common-secure/java/org/apache/hadoop/hive/thrift/DBTokenStore.java
Author: hashutosh
Date: Fri Aug 9 05:13:15 2013
New Revision: 1512137
URL: http://svn.apache.org/r1512137
Log:
HIVE-5017 : DBTokenStore gives compiler warnings (Gunther Hagleitner via Ashutosh Chauhan)
Modified:
hive/trunk/shims/src/common-secure/java/org/apache/hadoop/hive/thrift/DBTokenStore.java
Modified: hive/trunk/shims/src/common-secure/java/org/apache/hadoop/hive/thrift/DBTokenStore.java
URL: http://svn.apache.org/viewvc/hive/trunk/shims/src/common-secure/java/org/apache/hadoop/hive/thrift/DBTokenStore.java?rev=1512137&r1=1512136&r2=1512137&view=diff
==============================================================================
--- hive/trunk/shims/src/common-secure/java/org/apache/hadoop/hive/thrift/DBTokenStore.java (original)
+++ hive/trunk/shims/src/common-secure/java/org/apache/hadoop/hive/thrift/DBTokenStore.java Fri Aug 9 05:13:15 2013
@@ -32,7 +32,7 @@ public class DBTokenStore implements Del
@Override
public String[] getMasterKeys() throws TokenStoreException {
- return (String[])invokeOnRawStore("getMasterKeys", null, null);
+ return (String[])invokeOnRawStore("getMasterKeys", new Object[0]);
}
@Override
@@ -75,7 +75,7 @@ public class DBTokenStore implements Del
@Override
public List<DelegationTokenIdentifier> getAllDelegationTokenIdentifiers() throws TokenStoreException{
- List<String> tokenIdents = (List<String>)invokeOnRawStore("getAllTokenIdentifiers", null, null);
+ List<String> tokenIdents = (List<String>)invokeOnRawStore("getAllTokenIdentifiers", new Object[0]);
List<DelegationTokenIdentifier> delTokenIdents = new ArrayList<DelegationTokenIdentifier>(tokenIdents.size());
for (String tokenIdent : tokenIdents) {