You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by na...@apache.org on 2012/01/20 19:52:08 UTC
svn commit: r1234065 [3/3] - in /hive/trunk/metastore: if/
src/gen/thrift/gen-cpp/
src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/
src/gen/thrift/gen-php/hive_metastore/
src/gen/thrift/gen-py/hive_metastore/ src/gen/thrift/gen-rb/ src...
Modified: hive/trunk/metastore/src/gen/thrift/gen-php/hive_metastore/ThriftHiveMetastore.php
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-php/hive_metastore/ThriftHiveMetastore.php?rev=1234065&r1=1234064&r2=1234065&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-php/hive_metastore/ThriftHiveMetastore.php (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-php/hive_metastore/ThriftHiveMetastore.php Fri Jan 20 18:52:07 2012
@@ -2001,6 +2001,9 @@ class ThriftHiveMetastoreClient extends
if ($result->o1 !== null) {
throw $result->o1;
}
+ if ($result->o2 !== null) {
+ throw $result->o2;
+ }
throw new Exception("get_partitions_ps failed: unknown result");
}
@@ -2120,6 +2123,9 @@ class ThriftHiveMetastoreClient extends
if ($result->o1 !== null) {
throw $result->o1;
}
+ if ($result->o2 !== null) {
+ throw $result->o2;
+ }
throw new Exception("get_partition_names_ps failed: unknown result");
}
@@ -11389,6 +11395,7 @@ class ThriftHiveMetastore_get_partitions
public $success = null;
public $o1 = null;
+ public $o2 = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -11407,6 +11414,11 @@ class ThriftHiveMetastore_get_partitions
'type' => TType::STRUCT,
'class' => 'MetaException',
),
+ 2 => array(
+ 'var' => 'o2',
+ 'type' => TType::STRUCT,
+ 'class' => 'NoSuchObjectException',
+ ),
);
}
if (is_array($vals)) {
@@ -11416,6 +11428,9 @@ class ThriftHiveMetastore_get_partitions
if (isset($vals['o1'])) {
$this->o1 = $vals['o1'];
}
+ if (isset($vals['o2'])) {
+ $this->o2 = $vals['o2'];
+ }
}
}
@@ -11464,6 +11479,14 @@ class ThriftHiveMetastore_get_partitions
$xfer += $input->skip($ftype);
}
break;
+ case 2:
+ if ($ftype == TType::STRUCT) {
+ $this->o2 = new NoSuchObjectException();
+ $xfer += $this->o2->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
default:
$xfer += $input->skip($ftype);
break;
@@ -11499,6 +11522,11 @@ class ThriftHiveMetastore_get_partitions
$xfer += $this->o1->write($output);
$xfer += $output->writeFieldEnd();
}
+ if ($this->o2 !== null) {
+ $xfer += $output->writeFieldBegin('o2', TType::STRUCT, 2);
+ $xfer += $this->o2->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -12037,6 +12065,7 @@ class ThriftHiveMetastore_get_partition_
public $success = null;
public $o1 = null;
+ public $o2 = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -12054,6 +12083,11 @@ class ThriftHiveMetastore_get_partition_
'type' => TType::STRUCT,
'class' => 'MetaException',
),
+ 2 => array(
+ 'var' => 'o2',
+ 'type' => TType::STRUCT,
+ 'class' => 'NoSuchObjectException',
+ ),
);
}
if (is_array($vals)) {
@@ -12063,6 +12097,9 @@ class ThriftHiveMetastore_get_partition_
if (isset($vals['o1'])) {
$this->o1 = $vals['o1'];
}
+ if (isset($vals['o2'])) {
+ $this->o2 = $vals['o2'];
+ }
}
}
@@ -12110,6 +12147,14 @@ class ThriftHiveMetastore_get_partition_
$xfer += $input->skip($ftype);
}
break;
+ case 2:
+ if ($ftype == TType::STRUCT) {
+ $this->o2 = new NoSuchObjectException();
+ $xfer += $this->o2->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
default:
$xfer += $input->skip($ftype);
break;
@@ -12145,6 +12190,11 @@ class ThriftHiveMetastore_get_partition_
$xfer += $this->o1->write($output);
$xfer += $output->writeFieldEnd();
}
+ if ($this->o2 !== null) {
+ $xfer += $output->writeFieldBegin('o2', TType::STRUCT, 2);
+ $xfer += $this->o2->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
Modified: hive/trunk/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py?rev=1234065&r1=1234064&r2=1234065&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py Fri Jan 20 18:52:07 2012
@@ -1764,6 +1764,8 @@ class Client(fb303.FacebookService.Clien
return result.success
if result.o1 is not None:
raise result.o1
+ if result.o2 is not None:
+ raise result.o2
raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_ps failed: unknown result");
def get_partitions_ps_with_auth(self, db_name, tbl_name, part_vals, max_parts, user_name, group_names):
@@ -1846,6 +1848,8 @@ class Client(fb303.FacebookService.Clien
return result.success
if result.o1 is not None:
raise result.o1
+ if result.o2 is not None:
+ raise result.o2
raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_names_ps failed: unknown result");
def get_partitions_by_filter(self, db_name, tbl_name, filter, max_parts):
@@ -3508,6 +3512,8 @@ class Processor(fb303.FacebookService.Pr
result.success = self._handler.get_partitions_ps(args.db_name, args.tbl_name, args.part_vals, args.max_parts)
except MetaException, o1:
result.o1 = o1
+ except NoSuchObjectException, o2:
+ result.o2 = o2
oprot.writeMessageBegin("get_partitions_ps", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
@@ -3538,6 +3544,8 @@ class Processor(fb303.FacebookService.Pr
result.success = self._handler.get_partition_names_ps(args.db_name, args.tbl_name, args.part_vals, args.max_parts)
except MetaException, o1:
result.o1 = o1
+ except NoSuchObjectException, o2:
+ result.o2 = o2
oprot.writeMessageBegin("get_partition_names_ps", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
@@ -9412,16 +9420,19 @@ class get_partitions_ps_result:
Attributes:
- success
- o1
+ - o2
"""
thrift_spec = (
(0, TType.LIST, 'success', (TType.STRUCT,(Partition, Partition.thrift_spec)), None, ), # 0
(1, TType.STRUCT, 'o1', (MetaException, MetaException.thrift_spec), None, ), # 1
+ (2, TType.STRUCT, 'o2', (NoSuchObjectException, NoSuchObjectException.thrift_spec), None, ), # 2
)
- def __init__(self, success=None, o1=None,):
+ def __init__(self, success=None, o1=None, o2=None,):
self.success = success
self.o1 = o1
+ self.o2 = o2
def read(self, iprot):
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
@@ -9449,6 +9460,12 @@ class get_partitions_ps_result:
self.o1.read(iprot)
else:
iprot.skip(ftype)
+ elif fid == 2:
+ if ftype == TType.STRUCT:
+ self.o2 = NoSuchObjectException()
+ self.o2.read(iprot)
+ else:
+ iprot.skip(ftype)
else:
iprot.skip(ftype)
iprot.readFieldEnd()
@@ -9470,6 +9487,10 @@ class get_partitions_ps_result:
oprot.writeFieldBegin('o1', TType.STRUCT, 1)
self.o1.write(oprot)
oprot.writeFieldEnd()
+ if self.o2 is not None:
+ oprot.writeFieldBegin('o2', TType.STRUCT, 2)
+ self.o2.write(oprot)
+ oprot.writeFieldEnd()
oprot.writeFieldStop()
oprot.writeStructEnd()
@@ -9827,16 +9848,19 @@ class get_partition_names_ps_result:
Attributes:
- success
- o1
+ - o2
"""
thrift_spec = (
(0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
(1, TType.STRUCT, 'o1', (MetaException, MetaException.thrift_spec), None, ), # 1
+ (2, TType.STRUCT, 'o2', (NoSuchObjectException, NoSuchObjectException.thrift_spec), None, ), # 2
)
- def __init__(self, success=None, o1=None,):
+ def __init__(self, success=None, o1=None, o2=None,):
self.success = success
self.o1 = o1
+ self.o2 = o2
def read(self, iprot):
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
@@ -9863,6 +9887,12 @@ class get_partition_names_ps_result:
self.o1.read(iprot)
else:
iprot.skip(ftype)
+ elif fid == 2:
+ if ftype == TType.STRUCT:
+ self.o2 = NoSuchObjectException()
+ self.o2.read(iprot)
+ else:
+ iprot.skip(ftype)
else:
iprot.skip(ftype)
iprot.readFieldEnd()
@@ -9884,6 +9914,10 @@ class get_partition_names_ps_result:
oprot.writeFieldBegin('o1', TType.STRUCT, 1)
self.o1.write(oprot)
oprot.writeFieldEnd()
+ if self.o2 is not None:
+ oprot.writeFieldBegin('o2', TType.STRUCT, 2)
+ self.o2.write(oprot)
+ oprot.writeFieldEnd()
oprot.writeFieldStop()
oprot.writeStructEnd()
Modified: hive/trunk/metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb?rev=1234065&r1=1234064&r2=1234065&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb Fri Jan 20 18:52:07 2012
@@ -570,6 +570,7 @@ module ThriftHiveMetastore
result = receive_message(Get_partitions_ps_result)
return result.success unless result.success.nil?
raise result.o1 unless result.o1.nil?
+ raise result.o2 unless result.o2.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_partitions_ps failed: unknown result')
end
@@ -603,6 +604,7 @@ module ThriftHiveMetastore
result = receive_message(Get_partition_names_ps_result)
return result.success unless result.success.nil?
raise result.o1 unless result.o1.nil?
+ raise result.o2 unless result.o2.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_partition_names_ps failed: unknown result')
end
@@ -1527,6 +1529,8 @@ module ThriftHiveMetastore
result.success = @handler.get_partitions_ps(args.db_name, args.tbl_name, args.part_vals, args.max_parts)
rescue MetaException => o1
result.o1 = o1
+ rescue NoSuchObjectException => o2
+ result.o2 = o2
end
write_result(result, oprot, 'get_partitions_ps', seqid)
end
@@ -1551,6 +1555,8 @@ module ThriftHiveMetastore
result.success = @handler.get_partition_names_ps(args.db_name, args.tbl_name, args.part_vals, args.max_parts)
rescue MetaException => o1
result.o1 = o1
+ rescue NoSuchObjectException => o2
+ result.o2 = o2
end
write_result(result, oprot, 'get_partition_names_ps', seqid)
end
@@ -3177,10 +3183,12 @@ module ThriftHiveMetastore
include ::Thrift::Struct, ::Thrift::Struct_Union
SUCCESS = 0
O1 = 1
+ O2 = 2
FIELDS = {
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => Partition}},
- O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => MetaException}
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => MetaException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => NoSuchObjectException}
}
def struct_fields; FIELDS; end
@@ -3263,10 +3271,12 @@ module ThriftHiveMetastore
include ::Thrift::Struct, ::Thrift::Struct_Union
SUCCESS = 0
O1 = 1
+ O2 = 2
FIELDS = {
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING}},
- O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => MetaException}
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => MetaException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => NoSuchObjectException}
}
def struct_fields; FIELDS; end
Modified: hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java?rev=1234065&r1=1234064&r2=1234065&view=diff
==============================================================================
--- hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java (original)
+++ hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java Fri Jan 20 18:52:07 2012
@@ -2309,7 +2309,7 @@ public class HiveMetaStore extends Thrif
@Override
public List<Partition> get_partitions_ps(final String db_name,
final String tbl_name, final List<String> part_vals,
- final short max_parts) throws MetaException, TException {
+ final short max_parts) throws MetaException, TException, NoSuchObjectException {
startPartitionFunction("get_partitions_ps", db_name, tbl_name, part_vals);
List<Partition> ret = null;
@@ -2328,7 +2328,7 @@ public class HiveMetaStore extends Thrif
public List<Partition> get_partitions_ps_with_auth(final String db_name,
final String tbl_name, final List<String> part_vals,
final short max_parts, final String userName,
- final List<String> groupNames) throws MetaException, TException {
+ final List<String> groupNames) throws MetaException, TException, NoSuchObjectException {
startPartitionFunction("get_partitions_ps_with_auth", db_name, tbl_name,
part_vals);
List<Partition> ret = null;
@@ -2344,6 +2344,8 @@ public class HiveMetaStore extends Thrif
throw e;
} catch (InvalidObjectException e) {
throw new MetaException(e.getMessage());
+ } catch (NoSuchObjectException e) {
+ throw e;
} catch (Exception e) {
assert(e instanceof RuntimeException);
throw (RuntimeException)e;
@@ -2356,7 +2358,7 @@ public class HiveMetaStore extends Thrif
@Override
public List<String> get_partition_names_ps(final String db_name,
final String tbl_name, final List<String> part_vals, final short max_parts)
- throws MetaException, TException {
+ throws MetaException, TException, NoSuchObjectException {
startPartitionFunction("get_partitions_names_ps", db_name, tbl_name, part_vals);
List<String> ret = null;
try {
@@ -2368,6 +2370,8 @@ public class HiveMetaStore extends Thrif
});
} catch (MetaException e) {
throw e;
+ } catch (NoSuchObjectException e) {
+ throw e;
} catch (Exception e) {
assert(e instanceof RuntimeException);
throw (RuntimeException)e;
Modified: hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java?rev=1234065&r1=1234064&r2=1234065&view=diff
==============================================================================
--- hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java (original)
+++ hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java Fri Jan 20 18:52:07 2012
@@ -809,7 +809,8 @@ public class HiveMetaStoreClient impleme
@Override
public List<String> listPartitionNames(String db_name, String tbl_name,
- List<String> part_vals, short max_parts) throws MetaException, TException {
+ List<String> part_vals, short max_parts)
+ throws MetaException, TException, NoSuchObjectException {
return client.get_partition_names_ps(db_name, tbl_name, part_vals, max_parts);
}
Modified: hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java?rev=1234065&r1=1234064&r2=1234065&view=diff
==============================================================================
--- hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java (original)
+++ hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java Fri Jan 20 18:52:07 2012
@@ -390,7 +390,8 @@ public interface IMetaStoreClient {
short max_parts) throws MetaException, TException;
public List<String> listPartitionNames(String db_name, String tbl_name,
- List<String> part_vals, short max_parts) throws MetaException, TException;
+ List<String> part_vals, short max_parts)
+ throws MetaException, TException, NoSuchObjectException;
/**
* Get list of partitions matching specified filter
Modified: hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java?rev=1234065&r1=1234064&r2=1234065&view=diff
==============================================================================
--- hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java (original)
+++ hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java Fri Jan 20 18:52:07 2012
@@ -316,7 +316,7 @@ public class ObjectStore implements RawS
if (openTrasactionCalls <= 0) {
throw new RuntimeException("commitTransaction was called but openTransactionCalls = "
+ openTrasactionCalls + ". This probably indicates that there are unbalanced " +
- "calls to openTransaction/commitTransaction");
+ "calls to openTransaction/commitTransaction");
}
if (!currentTransaction.isActive()) {
throw new RuntimeException(
@@ -1394,6 +1394,7 @@ public class ObjectStore implements RawS
* @param max_parts the maximum number of partitions to return
* @param resultsCol the metadata column of the data to return, e.g. partitionName, etc.
* if resultsCol is empty or null, a collection of MPartition objects is returned
+ * @throws NoSuchObjectException
* @results A Collection of partition-related items from the db that match the partial spec
* for a table. The type of each item in the collection corresponds to the column
* you want results for. E.g., if resultsCol is partitionName, the Collection
@@ -1401,11 +1402,15 @@ public class ObjectStore implements RawS
*/
private Collection getPartitionPsQueryResults(String dbName, String tableName,
List<String> part_vals, short max_parts, String resultsCol)
- throws MetaException {
+ throws MetaException, NoSuchObjectException {
dbName = dbName.toLowerCase().trim();
tableName = tableName.toLowerCase().trim();
Table table = getTable(dbName, tableName);
+ if (table == null) {
+ throw new NoSuchObjectException(dbName + "." + tableName + " table not found");
+ }
+
List<FieldSchema> partCols = table.getPartitionKeys();
int numPartKeys = partCols.size();
if (part_vals.size() > numPartKeys) {
@@ -1446,7 +1451,7 @@ public class ObjectStore implements RawS
@Override
public List<Partition> listPartitionsPsWithAuth(String db_name, String tbl_name,
List<String> part_vals, short max_parts, String userName, List<String> groupNames)
- throws MetaException, InvalidObjectException {
+ throws MetaException, InvalidObjectException, NoSuchObjectException {
List<Partition> partitions = new ArrayList<Partition>();
boolean success = false;
try {
@@ -1479,7 +1484,7 @@ public class ObjectStore implements RawS
@Override
public List<String> listPartitionNamesPs(String dbName, String tableName,
- List<String> part_vals, short max_parts) throws MetaException {
+ List<String> part_vals, short max_parts) throws MetaException, NoSuchObjectException {
List<String> partitionNames = new ArrayList<String>();
boolean success = false;
try {
@@ -3656,11 +3661,11 @@ public class ObjectStore implements RawS
openTransaction();
LOG.debug("Executing listPrincipalTableColumnGrants");
String queryStr = "principalName == t1 && principalType == t2 && " +
- "table.tableName == t3 && table.database.name == t4 && columnName == t5 ";
+ "table.tableName == t3 && table.database.name == t4 && columnName == t5 ";
Query query = pm.newQuery(MTableColumnPrivilege.class, queryStr);
query
.declareParameters("java.lang.String t1, java.lang.String t2, java.lang.String t3, " +
- "java.lang.String t4, java.lang.String t5");
+ "java.lang.String t4, java.lang.String t5");
mSecurityColList = (List<MTableColumnPrivilege>) query.executeWithArray(
principalName, principalType.toString(), tableName, dbName, columnName);
LOG.debug("Done executing query for listPrincipalTableColumnGrants");
@@ -3696,7 +3701,7 @@ public class ObjectStore implements RawS
"&& partition.table.database.name == t4 && partition.partitionName == t5 && columnName == t6");
query
.declareParameters("java.lang.String t1, java.lang.String t2, java.lang.String t3, " +
- "java.lang.String t4, java.lang.String t5, java.lang.String t6");
+ "java.lang.String t4, java.lang.String t5, java.lang.String t6");
mSecurityColList = (List<MPartitionColumnPrivilege>) query
.executeWithArray(principalName, principalType.toString(), tableName,
Modified: hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java?rev=1234065&r1=1234064&r2=1234065&view=diff
==============================================================================
--- hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java (original)
+++ hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java Fri Jan 20 18:52:07 2012
@@ -277,7 +277,7 @@ public interface RawStore extends Config
*/
public abstract List<String> listPartitionNamesPs(String db_name, String tbl_name,
List<String> part_vals, short max_parts)
- throws MetaException;
+ throws MetaException, NoSuchObjectException;
/**
* Lists partitions that match a given partial specification and sets their auth privileges.
@@ -302,7 +302,7 @@ public interface RawStore extends Config
*/
public abstract List<Partition> listPartitionsPsWithAuth(String db_name, String tbl_name,
List<String> part_vals, short max_parts, String userName, List<String> groupNames)
- throws MetaException, InvalidObjectException;
+ throws MetaException, InvalidObjectException, NoSuchObjectException;
public abstract long cleanupEvents();
}