ACCUMULO-3759 More build warnings on Java 8 * Clean up build output while generating example configs * Fix javac warnings from thrift * Enable specifying different findbugs version to build on jdk8
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/bbcc6da4 Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/bbcc6da4 Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/bbcc6da4 Branch: refs/heads/1.6 Commit: bbcc6da446b737507dfd9c486b5673055fbdf0ab Parents: b636ff2 Author: Christopher Tubbs <ctubb...@apache.org> Authored: Thu Apr 30 13:00:18 2015 -0400 Committer: Christopher Tubbs <ctubb...@apache.org> Committed: Thu Apr 30 13:29:30 2015 -0400 ---------------------------------------------------------------------- .../main/scripts/generate-example-configs.sh | 7 +- .../core/client/impl/thrift/ClientService.java | 122 ++++---- .../client/impl/thrift/ConfigurationType.java | 2 +- .../client/impl/thrift/SecurityErrorCode.java | 2 +- .../core/client/impl/thrift/TDiskUsage.java | 4 +- .../core/client/impl/thrift/TableOperation.java | 2 +- .../thrift/TableOperationExceptionType.java | 2 +- .../impl/thrift/ThriftSecurityException.java | 4 +- .../thrift/ThriftTableOperationException.java | 4 +- .../core/client/impl/thrift/ThriftTest.java | 14 +- .../lib/impl/DistributedCacheHelper.java | 7 +- .../core/data/thrift/InitialMultiScan.java | 4 +- .../accumulo/core/data/thrift/InitialScan.java | 4 +- .../accumulo/core/data/thrift/IterInfo.java | 4 +- .../accumulo/core/data/thrift/MapFileInfo.java | 4 +- .../core/data/thrift/MultiScanResult.java | 4 +- .../accumulo/core/data/thrift/ScanResult.java | 4 +- .../accumulo/core/data/thrift/TCMResult.java | 4 +- .../accumulo/core/data/thrift/TCMStatus.java | 2 +- .../accumulo/core/data/thrift/TColumn.java | 4 +- .../accumulo/core/data/thrift/TCondition.java | 4 +- .../core/data/thrift/TConditionalMutation.java | 4 +- .../core/data/thrift/TConditionalSession.java | 4 +- .../thrift/TConstraintViolationSummary.java | 4 +- .../apache/accumulo/core/data/thrift/TKey.java | 4 +- .../accumulo/core/data/thrift/TKeyExtent.java | 4 +- .../accumulo/core/data/thrift/TKeyValue.java | 4 +- .../accumulo/core/data/thrift/TMutation.java | 4 +- .../accumulo/core/data/thrift/TRange.java | 4 +- .../accumulo/core/data/thrift/UpdateErrors.java | 4 +- .../core/gc/thrift/GCMonitorService.java | 6 +- .../accumulo/core/gc/thrift/GCStatus.java | 4 +- .../accumulo/core/gc/thrift/GcCycleStats.java | 4 +- .../accumulo/core/master/thrift/Compacting.java | 4 +- .../accumulo/core/master/thrift/DeadServer.java | 4 +- .../core/master/thrift/FateOperation.java | 2 +- .../core/master/thrift/FateService.java | 18 +- .../core/master/thrift/MasterClientService.java | 54 ++-- .../core/master/thrift/MasterGoalState.java | 2 +- .../core/master/thrift/MasterMonitorInfo.java | 4 +- .../core/master/thrift/MasterState.java | 2 +- .../core/master/thrift/RecoveryException.java | 4 +- .../core/master/thrift/RecoveryStatus.java | 4 +- .../accumulo/core/master/thrift/TableInfo.java | 4 +- .../core/master/thrift/TabletLoadState.java | 2 +- .../core/master/thrift/TabletServerStatus.java | 4 +- .../core/master/thrift/TabletSplit.java | 4 +- .../core/security/thrift/TCredentials.java | 4 +- .../core/tabletserver/thrift/ActionStats.java | 4 +- .../tabletserver/thrift/ActiveCompaction.java | 4 +- .../core/tabletserver/thrift/ActiveScan.java | 4 +- .../tabletserver/thrift/CompactionReason.java | 2 +- .../tabletserver/thrift/CompactionType.java | 2 +- .../thrift/ConstraintViolationException.java | 4 +- .../tabletserver/thrift/IteratorConfig.java | 4 +- .../thrift/NoSuchScanIDException.java | 4 +- .../thrift/NotServingTabletException.java | 4 +- .../core/tabletserver/thrift/ScanState.java | 2 +- .../core/tabletserver/thrift/ScanType.java | 2 +- .../tabletserver/thrift/TIteratorSetting.java | 4 +- .../thrift/TabletClientService.java | 100 +++--- .../core/tabletserver/thrift/TabletStats.java | 4 +- .../thrift/TooManyFilesException.java | 4 +- core/src/main/scripts/generate-thrift.sh | 50 +-- pom.xml | 6 +- .../proxy/thrift/AccumuloException.java | 4 +- .../accumulo/proxy/thrift/AccumuloProxy.java | 308 +++++++++---------- .../proxy/thrift/AccumuloSecurityException.java | 4 +- .../accumulo/proxy/thrift/ActiveCompaction.java | 4 +- .../accumulo/proxy/thrift/ActiveScan.java | 4 +- .../accumulo/proxy/thrift/BatchScanOptions.java | 4 +- .../apache/accumulo/proxy/thrift/Column.java | 4 +- .../accumulo/proxy/thrift/ColumnUpdate.java | 4 +- .../accumulo/proxy/thrift/CompactionReason.java | 2 +- .../accumulo/proxy/thrift/CompactionType.java | 2 +- .../apache/accumulo/proxy/thrift/Condition.java | 4 +- .../proxy/thrift/ConditionalStatus.java | 2 +- .../proxy/thrift/ConditionalUpdates.java | 4 +- .../proxy/thrift/ConditionalWriterOptions.java | 4 +- .../apache/accumulo/proxy/thrift/DiskUsage.java | 4 +- .../accumulo/proxy/thrift/IteratorScope.java | 2 +- .../accumulo/proxy/thrift/IteratorSetting.java | 4 +- .../org/apache/accumulo/proxy/thrift/Key.java | 4 +- .../apache/accumulo/proxy/thrift/KeyExtent.java | 4 +- .../apache/accumulo/proxy/thrift/KeyValue.java | 4 +- .../accumulo/proxy/thrift/KeyValueAndPeek.java | 4 +- .../thrift/MutationsRejectedException.java | 4 +- .../proxy/thrift/NoMoreEntriesException.java | 4 +- .../accumulo/proxy/thrift/PartialKey.java | 2 +- .../org/apache/accumulo/proxy/thrift/Range.java | 4 +- .../accumulo/proxy/thrift/ScanColumn.java | 4 +- .../accumulo/proxy/thrift/ScanOptions.java | 4 +- .../accumulo/proxy/thrift/ScanResult.java | 4 +- .../apache/accumulo/proxy/thrift/ScanState.java | 2 +- .../apache/accumulo/proxy/thrift/ScanType.java | 2 +- .../accumulo/proxy/thrift/SystemPermission.java | 2 +- .../proxy/thrift/TableExistsException.java | 4 +- .../proxy/thrift/TableNotFoundException.java | 4 +- .../accumulo/proxy/thrift/TablePermission.java | 2 +- .../apache/accumulo/proxy/thrift/TimeType.java | 2 +- .../accumulo/proxy/thrift/UnknownScanner.java | 4 +- .../accumulo/proxy/thrift/UnknownWriter.java | 4 +- .../accumulo/proxy/thrift/WriterOptions.java | 4 +- .../accumulo/trace/thrift/RemoteSpan.java | 4 +- .../accumulo/trace/thrift/SpanReceiver.java | 4 +- .../org/apache/accumulo/trace/thrift/TInfo.java | 4 +- .../accumulo/trace/thrift/TestService.java | 6 +- trace/src/main/scripts/generate-thrift.sh | 4 + 108 files changed, 523 insertions(+), 513 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/bbcc6da4/assemble/src/main/scripts/generate-example-configs.sh ---------------------------------------------------------------------- diff --git a/assemble/src/main/scripts/generate-example-configs.sh b/assemble/src/main/scripts/generate-example-configs.sh index 16c9f4f..9dfbfe1 100755 --- a/assemble/src/main/scripts/generate-example-configs.sh +++ b/assemble/src/main/scripts/generate-example-configs.sh @@ -17,9 +17,12 @@ # This script will regenerate the example configuration files for the tarball +out=target/bootstrap-config.out + +echo 'Generating example scripts...' > $out for s in 1GB 2GB 3GB 512MB do - bin/bootstrap_config.sh -o -d target/example-configs/$s/standalone -s $s -j -v 2 - bin/bootstrap_config.sh -o -d target/example-configs/$s/native-standalone -s $s -n -v 2 + bin/bootstrap_config.sh -o -d target/example-configs/$s/standalone -s $s -j -v 2 >> $out 2>&1 + bin/bootstrap_config.sh -o -d target/example-configs/$s/native-standalone -s $s -n -v 2 >> $out 2>&1 done http://git-wip-us.apache.org/repos/asf/accumulo/blob/bbcc6da4/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/ClientService.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/ClientService.java b/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/ClientService.java index 638a8b7..5dd2cd5 100644 --- a/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/ClientService.java +++ b/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/ClientService.java @@ -48,7 +48,7 @@ import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -@SuppressWarnings("all") public class ClientService { +@SuppressWarnings({"unchecked", "serial", "rawtypes", "unused"}) public class ClientService { public interface Iface { @@ -4776,7 +4776,7 @@ import org.slf4j.LoggerFactory; /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { ; private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); @@ -5024,7 +5024,7 @@ import org.slf4j.LoggerFactory; public String success; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); @@ -5376,7 +5376,7 @@ import org.slf4j.LoggerFactory; /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { ; private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); @@ -5624,7 +5624,7 @@ import org.slf4j.LoggerFactory; public String success; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); @@ -5976,7 +5976,7 @@ import org.slf4j.LoggerFactory; /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { ; private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); @@ -6224,7 +6224,7 @@ import org.slf4j.LoggerFactory; public String success; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); @@ -6590,7 +6590,7 @@ import org.slf4j.LoggerFactory; public boolean setTime; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)1, "tinfo"), CREDENTIALS((short)8, "credentials"), TID((short)3, "tid"), @@ -7587,7 +7587,7 @@ import org.slf4j.LoggerFactory; public ThriftTableOperationException tope; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), SEC((short)1, "sec"), TOPE((short)2, "tope"); @@ -8192,7 +8192,7 @@ import org.slf4j.LoggerFactory; public long tid; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)1, "tinfo"), TID((short)2, "tid"); @@ -8647,7 +8647,7 @@ import org.slf4j.LoggerFactory; public boolean success; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); @@ -9001,7 +9001,7 @@ import org.slf4j.LoggerFactory; public org.apache.accumulo.core.security.thrift.TCredentials credentials; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { CREDENTIALS((short)2, "credentials"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); @@ -9360,7 +9360,7 @@ import org.slf4j.LoggerFactory; public ThriftSecurityException sec; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SEC((short)1, "sec"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); @@ -9718,7 +9718,7 @@ import org.slf4j.LoggerFactory; public org.apache.accumulo.core.security.thrift.TCredentials credentials; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { TABLES((short)2, "tables"), CREDENTIALS((short)1, "credentials"); @@ -10228,7 +10228,7 @@ import org.slf4j.LoggerFactory; public ThriftTableOperationException toe; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), SEC((short)1, "sec"), TOE((short)2, "toe"); @@ -10838,7 +10838,7 @@ import org.slf4j.LoggerFactory; public org.apache.accumulo.core.security.thrift.TCredentials credentials; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)2, "tinfo"), CREDENTIALS((short)3, "credentials"); @@ -11302,7 +11302,7 @@ import org.slf4j.LoggerFactory; public ThriftSecurityException sec; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), SEC((short)1, "sec"); @@ -11811,7 +11811,7 @@ import org.slf4j.LoggerFactory; public ByteBuffer password; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)5, "tinfo"), CREDENTIALS((short)6, "credentials"), PRINCIPAL((short)2, "principal"), @@ -12480,7 +12480,7 @@ import org.slf4j.LoggerFactory; public ThriftSecurityException sec; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SEC((short)1, "sec"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); @@ -12840,7 +12840,7 @@ import org.slf4j.LoggerFactory; public String principal; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)3, "tinfo"), CREDENTIALS((short)4, "credentials"), PRINCIPAL((short)2, "principal"); @@ -13400,7 +13400,7 @@ import org.slf4j.LoggerFactory; public ThriftSecurityException sec; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SEC((short)1, "sec"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); @@ -13762,7 +13762,7 @@ import org.slf4j.LoggerFactory; public ByteBuffer password; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)4, "tinfo"), CREDENTIALS((short)5, "credentials"), PRINCIPAL((short)2, "principal"), @@ -14431,7 +14431,7 @@ import org.slf4j.LoggerFactory; public ThriftSecurityException sec; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SEC((short)1, "sec"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); @@ -14789,7 +14789,7 @@ import org.slf4j.LoggerFactory; public org.apache.accumulo.core.security.thrift.TCredentials credentials; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)1, "tinfo"), CREDENTIALS((short)2, "credentials"); @@ -15253,7 +15253,7 @@ import org.slf4j.LoggerFactory; public ThriftSecurityException sec; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), SEC((short)1, "sec"); @@ -15711,7 +15711,7 @@ import org.slf4j.LoggerFactory; public org.apache.accumulo.core.security.thrift.TCredentials toAuth; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)1, "tinfo"), CREDENTIALS((short)2, "credentials"), TO_AUTH((short)3, "toAuth"); @@ -16278,7 +16278,7 @@ import org.slf4j.LoggerFactory; public ThriftSecurityException sec; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), SEC((short)1, "sec"); @@ -16738,7 +16738,7 @@ import org.slf4j.LoggerFactory; public List<ByteBuffer> authorizations; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)4, "tinfo"), CREDENTIALS((short)5, "credentials"), PRINCIPAL((short)2, "principal"), @@ -17445,7 +17445,7 @@ import org.slf4j.LoggerFactory; public ThriftSecurityException sec; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SEC((short)1, "sec"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); @@ -17805,7 +17805,7 @@ import org.slf4j.LoggerFactory; public String principal; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)3, "tinfo"), CREDENTIALS((short)4, "credentials"), PRINCIPAL((short)2, "principal"); @@ -18367,7 +18367,7 @@ import org.slf4j.LoggerFactory; public ThriftSecurityException sec; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), SEC((short)1, "sec"); @@ -18876,7 +18876,7 @@ import org.slf4j.LoggerFactory; public byte sysPerm; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)4, "tinfo"), CREDENTIALS((short)5, "credentials"), PRINCIPAL((short)2, "principal"), @@ -19534,7 +19534,7 @@ import org.slf4j.LoggerFactory; public ThriftSecurityException sec; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), SEC((short)1, "sec"); @@ -19996,7 +19996,7 @@ import org.slf4j.LoggerFactory; public byte tblPerm; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)5, "tinfo"), CREDENTIALS((short)6, "credentials"), PRINCIPAL((short)2, "principal"), @@ -20754,7 +20754,7 @@ import org.slf4j.LoggerFactory; public ThriftTableOperationException tope; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), SEC((short)1, "sec"), TOPE((short)2, "tope"); @@ -21316,7 +21316,7 @@ import org.slf4j.LoggerFactory; public byte tblNspcPerm; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)1, "tinfo"), CREDENTIALS((short)2, "credentials"), PRINCIPAL((short)3, "principal"), @@ -22074,7 +22074,7 @@ import org.slf4j.LoggerFactory; public ThriftTableOperationException tope; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), SEC((short)1, "sec"), TOPE((short)2, "tope"); @@ -22634,7 +22634,7 @@ import org.slf4j.LoggerFactory; public byte permission; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)4, "tinfo"), CREDENTIALS((short)5, "credentials"), PRINCIPAL((short)2, "principal"), @@ -23290,7 +23290,7 @@ import org.slf4j.LoggerFactory; public ThriftSecurityException sec; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SEC((short)1, "sec"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); @@ -23652,7 +23652,7 @@ import org.slf4j.LoggerFactory; public byte permission; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)4, "tinfo"), CREDENTIALS((short)5, "credentials"), PRINCIPAL((short)2, "principal"), @@ -24308,7 +24308,7 @@ import org.slf4j.LoggerFactory; public ThriftSecurityException sec; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SEC((short)1, "sec"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); @@ -24672,7 +24672,7 @@ import org.slf4j.LoggerFactory; public byte permission; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)5, "tinfo"), CREDENTIALS((short)6, "credentials"), PRINCIPAL((short)2, "principal"), @@ -25428,7 +25428,7 @@ import org.slf4j.LoggerFactory; public ThriftTableOperationException tope; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SEC((short)1, "sec"), TOPE((short)2, "tope"); @@ -25892,7 +25892,7 @@ import org.slf4j.LoggerFactory; public byte permission; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)5, "tinfo"), CREDENTIALS((short)6, "credentials"), PRINCIPAL((short)2, "principal"), @@ -26648,7 +26648,7 @@ import org.slf4j.LoggerFactory; public ThriftTableOperationException tope; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SEC((short)1, "sec"), TOPE((short)2, "tope"); @@ -27112,7 +27112,7 @@ import org.slf4j.LoggerFactory; public byte permission; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)1, "tinfo"), CREDENTIALS((short)2, "credentials"), PRINCIPAL((short)3, "principal"), @@ -27868,7 +27868,7 @@ import org.slf4j.LoggerFactory; public ThriftTableOperationException tope; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SEC((short)1, "sec"), TOPE((short)2, "tope"); @@ -28332,7 +28332,7 @@ import org.slf4j.LoggerFactory; public byte permission; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)1, "tinfo"), CREDENTIALS((short)2, "credentials"), PRINCIPAL((short)3, "principal"), @@ -29088,7 +29088,7 @@ import org.slf4j.LoggerFactory; public ThriftTableOperationException tope; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SEC((short)1, "sec"), TOPE((short)2, "tope"); @@ -29552,7 +29552,7 @@ import org.slf4j.LoggerFactory; public ConfigurationType type; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)2, "tinfo"), CREDENTIALS((short)3, "credentials"), /** @@ -30124,7 +30124,7 @@ import org.slf4j.LoggerFactory; public Map<String,String> success; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); @@ -30534,7 +30534,7 @@ import org.slf4j.LoggerFactory; public String tableName; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)1, "tinfo"), CREDENTIALS((short)3, "credentials"), TABLE_NAME((short)2, "tableName"); @@ -31096,7 +31096,7 @@ import org.slf4j.LoggerFactory; public ThriftTableOperationException tope; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), TOPE((short)1, "tope"); @@ -31606,7 +31606,7 @@ import org.slf4j.LoggerFactory; public String ns; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)1, "tinfo"), CREDENTIALS((short)2, "credentials"), NS((short)3, "ns"); @@ -32168,7 +32168,7 @@ import org.slf4j.LoggerFactory; public ThriftTableOperationException tope; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), TOPE((short)1, "tope"); @@ -32680,7 +32680,7 @@ import org.slf4j.LoggerFactory; public String interfaceMatch; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)1, "tinfo"), CREDENTIALS((short)4, "credentials"), CLASS_NAME((short)2, "className"), @@ -33338,7 +33338,7 @@ import org.slf4j.LoggerFactory; public boolean success; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); @@ -33700,7 +33700,7 @@ import org.slf4j.LoggerFactory; public String interfaceMatch; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)1, "tinfo"), CREDENTIALS((short)5, "credentials"), TABLE_ID((short)2, "tableId"), @@ -34460,7 +34460,7 @@ import org.slf4j.LoggerFactory; public ThriftTableOperationException tope; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), SEC((short)1, "sec"), TOPE((short)2, "tope"); @@ -35022,7 +35022,7 @@ import org.slf4j.LoggerFactory; public String interfaceMatch; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)1, "tinfo"), CREDENTIALS((short)2, "credentials"), NAMESPACE_ID((short)3, "namespaceId"), @@ -35782,7 +35782,7 @@ import org.slf4j.LoggerFactory; public ThriftTableOperationException tope; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), SEC((short)1, "sec"), TOPE((short)2, "tope"); http://git-wip-us.apache.org/repos/asf/accumulo/blob/bbcc6da4/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/ConfigurationType.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/ConfigurationType.java b/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/ConfigurationType.java index f5be98c..7399802 100644 --- a/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/ConfigurationType.java +++ b/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/ConfigurationType.java @@ -27,7 +27,7 @@ import java.util.Map; import java.util.HashMap; import org.apache.thrift.TEnum; -@SuppressWarnings("all") public enum ConfigurationType implements org.apache.thrift.TEnum { +@SuppressWarnings({"unused"}) public enum ConfigurationType implements org.apache.thrift.TEnum { CURRENT(0), SITE(1), DEFAULT(2); http://git-wip-us.apache.org/repos/asf/accumulo/blob/bbcc6da4/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/SecurityErrorCode.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/SecurityErrorCode.java b/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/SecurityErrorCode.java index 111cffa..754f24e 100644 --- a/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/SecurityErrorCode.java +++ b/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/SecurityErrorCode.java @@ -27,7 +27,7 @@ import java.util.Map; import java.util.HashMap; import org.apache.thrift.TEnum; -@SuppressWarnings("all") public enum SecurityErrorCode implements org.apache.thrift.TEnum { +@SuppressWarnings({"unused"}) public enum SecurityErrorCode implements org.apache.thrift.TEnum { DEFAULT_SECURITY_ERROR(0), BAD_CREDENTIALS(1), PERMISSION_DENIED(2), http://git-wip-us.apache.org/repos/asf/accumulo/blob/bbcc6da4/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/TDiskUsage.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/TDiskUsage.java b/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/TDiskUsage.java index 1b85d47..1ae011b 100644 --- a/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/TDiskUsage.java +++ b/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/TDiskUsage.java @@ -48,7 +48,7 @@ import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -@SuppressWarnings("all") public class TDiskUsage implements org.apache.thrift.TBase<TDiskUsage, TDiskUsage._Fields>, java.io.Serializable, Cloneable, Comparable<TDiskUsage> { +@SuppressWarnings({"unchecked", "serial", "rawtypes", "unused"}) public class TDiskUsage implements org.apache.thrift.TBase<TDiskUsage, TDiskUsage._Fields>, java.io.Serializable, Cloneable, Comparable<TDiskUsage> { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TDiskUsage"); private static final org.apache.thrift.protocol.TField TABLES_FIELD_DESC = new org.apache.thrift.protocol.TField("tables", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -64,7 +64,7 @@ import org.slf4j.LoggerFactory; public long usage; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { TABLES((short)1, "tables"), USAGE((short)2, "usage"); http://git-wip-us.apache.org/repos/asf/accumulo/blob/bbcc6da4/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/TableOperation.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/TableOperation.java b/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/TableOperation.java index 7716823..4730276 100644 --- a/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/TableOperation.java +++ b/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/TableOperation.java @@ -27,7 +27,7 @@ import java.util.Map; import java.util.HashMap; import org.apache.thrift.TEnum; -@SuppressWarnings("all") public enum TableOperation implements org.apache.thrift.TEnum { +@SuppressWarnings({"unused"}) public enum TableOperation implements org.apache.thrift.TEnum { CREATE(0), DELETE(1), RENAME(2), http://git-wip-us.apache.org/repos/asf/accumulo/blob/bbcc6da4/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/TableOperationExceptionType.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/TableOperationExceptionType.java b/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/TableOperationExceptionType.java index baea21e..48b5619 100644 --- a/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/TableOperationExceptionType.java +++ b/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/TableOperationExceptionType.java @@ -27,7 +27,7 @@ import java.util.Map; import java.util.HashMap; import org.apache.thrift.TEnum; -@SuppressWarnings("all") public enum TableOperationExceptionType implements org.apache.thrift.TEnum { +@SuppressWarnings({"unused"}) public enum TableOperationExceptionType implements org.apache.thrift.TEnum { EXISTS(0), NOTFOUND(1), OFFLINE(2), http://git-wip-us.apache.org/repos/asf/accumulo/blob/bbcc6da4/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/ThriftSecurityException.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/ThriftSecurityException.java b/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/ThriftSecurityException.java index a6500e5..9e94830 100644 --- a/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/ThriftSecurityException.java +++ b/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/ThriftSecurityException.java @@ -48,7 +48,7 @@ import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -@SuppressWarnings("all") public class ThriftSecurityException extends TException implements org.apache.thrift.TBase<ThriftSecurityException, ThriftSecurityException._Fields>, java.io.Serializable, Cloneable, Comparable<ThriftSecurityException> { +@SuppressWarnings({"unchecked", "serial", "rawtypes", "unused"}) public class ThriftSecurityException extends TException implements org.apache.thrift.TBase<ThriftSecurityException, ThriftSecurityException._Fields>, java.io.Serializable, Cloneable, Comparable<ThriftSecurityException> { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ThriftSecurityException"); private static final org.apache.thrift.protocol.TField USER_FIELD_DESC = new org.apache.thrift.protocol.TField("user", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -68,7 +68,7 @@ import org.slf4j.LoggerFactory; public SecurityErrorCode code; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { USER((short)1, "user"), /** * http://git-wip-us.apache.org/repos/asf/accumulo/blob/bbcc6da4/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/ThriftTableOperationException.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/ThriftTableOperationException.java b/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/ThriftTableOperationException.java index 0c8ab4b..fad7ea7 100644 --- a/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/ThriftTableOperationException.java +++ b/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/ThriftTableOperationException.java @@ -48,7 +48,7 @@ import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -@SuppressWarnings("all") public class ThriftTableOperationException extends TException implements org.apache.thrift.TBase<ThriftTableOperationException, ThriftTableOperationException._Fields>, java.io.Serializable, Cloneable, Comparable<ThriftTableOperationException> { +@SuppressWarnings({"unchecked", "serial", "rawtypes", "unused"}) public class ThriftTableOperationException extends TException implements org.apache.thrift.TBase<ThriftTableOperationException, ThriftTableOperationException._Fields>, java.io.Serializable, Cloneable, Comparable<ThriftTableOperationException> { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ThriftTableOperationException"); private static final org.apache.thrift.protocol.TField TABLE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("tableId", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -78,7 +78,7 @@ import org.slf4j.LoggerFactory; public String description; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { TABLE_ID((short)1, "tableId"), TABLE_NAME((short)2, "tableName"), /** http://git-wip-us.apache.org/repos/asf/accumulo/blob/bbcc6da4/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/ThriftTest.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/ThriftTest.java b/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/ThriftTest.java index 5f785ff..c4af921 100644 --- a/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/ThriftTest.java +++ b/core/src/main/java/org/apache/accumulo/core/client/impl/thrift/ThriftTest.java @@ -48,7 +48,7 @@ import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -@SuppressWarnings("all") public class ThriftTest { +@SuppressWarnings({"unchecked", "serial", "rawtypes", "unused"}) public class ThriftTest { public interface Iface { @@ -545,7 +545,7 @@ import org.slf4j.LoggerFactory; /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { ; private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); @@ -793,7 +793,7 @@ import org.slf4j.LoggerFactory; public boolean success; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); @@ -1145,7 +1145,7 @@ import org.slf4j.LoggerFactory; /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { ; private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); @@ -1393,7 +1393,7 @@ import org.slf4j.LoggerFactory; public boolean success; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); @@ -1745,7 +1745,7 @@ import org.slf4j.LoggerFactory; /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { ; private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); @@ -1995,7 +1995,7 @@ import org.slf4j.LoggerFactory; public ThriftSecurityException ex; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), EX((short)1, "ex"); http://git-wip-us.apache.org/repos/asf/accumulo/blob/bbcc6da4/core/src/main/java/org/apache/accumulo/core/client/mapreduce/lib/impl/DistributedCacheHelper.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/client/mapreduce/lib/impl/DistributedCacheHelper.java b/core/src/main/java/org/apache/accumulo/core/client/mapreduce/lib/impl/DistributedCacheHelper.java index c694b9a..a5e603b 100644 --- a/core/src/main/java/org/apache/accumulo/core/client/mapreduce/lib/impl/DistributedCacheHelper.java +++ b/core/src/main/java/org/apache/accumulo/core/client/mapreduce/lib/impl/DistributedCacheHelper.java @@ -20,7 +20,6 @@ import java.io.IOException; import java.net.URI; import org.apache.hadoop.conf.Configuration; -import org.apache.hadoop.filecache.DistributedCache; import org.apache.hadoop.fs.Path; /** @@ -33,20 +32,20 @@ public class DistributedCacheHelper { * @since 1.6.0 */ public static void addCacheFile(URI uri, Configuration conf) { - DistributedCache.addCacheFile(uri, conf); + org.apache.hadoop.filecache.DistributedCache.addCacheFile(uri, conf); } /** * @since 1.6.0 */ public static URI[] getCacheFiles(Configuration conf) throws IOException { - return DistributedCache.getCacheFiles(conf); + return org.apache.hadoop.filecache.DistributedCache.getCacheFiles(conf); } /** * @since 1.6.0 */ public static Path[] getLocalCacheFiles(Configuration conf) throws IOException { - return DistributedCache.getLocalCacheFiles(conf); + return org.apache.hadoop.filecache.DistributedCache.getLocalCacheFiles(conf); } } http://git-wip-us.apache.org/repos/asf/accumulo/blob/bbcc6da4/core/src/main/java/org/apache/accumulo/core/data/thrift/InitialMultiScan.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/data/thrift/InitialMultiScan.java b/core/src/main/java/org/apache/accumulo/core/data/thrift/InitialMultiScan.java index d4d5424..d124c14 100644 --- a/core/src/main/java/org/apache/accumulo/core/data/thrift/InitialMultiScan.java +++ b/core/src/main/java/org/apache/accumulo/core/data/thrift/InitialMultiScan.java @@ -48,7 +48,7 @@ import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -@SuppressWarnings("all") public class InitialMultiScan implements org.apache.thrift.TBase<InitialMultiScan, InitialMultiScan._Fields>, java.io.Serializable, Cloneable, Comparable<InitialMultiScan> { +@SuppressWarnings({"unchecked", "serial", "rawtypes", "unused"}) public class InitialMultiScan implements org.apache.thrift.TBase<InitialMultiScan, InitialMultiScan._Fields>, java.io.Serializable, Cloneable, Comparable<InitialMultiScan> { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InitialMultiScan"); private static final org.apache.thrift.protocol.TField SCAN_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("scanID", org.apache.thrift.protocol.TType.I64, (short)1); @@ -64,7 +64,7 @@ import org.slf4j.LoggerFactory; public MultiScanResult result; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SCAN_ID((short)1, "scanID"), RESULT((short)2, "result"); http://git-wip-us.apache.org/repos/asf/accumulo/blob/bbcc6da4/core/src/main/java/org/apache/accumulo/core/data/thrift/InitialScan.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/data/thrift/InitialScan.java b/core/src/main/java/org/apache/accumulo/core/data/thrift/InitialScan.java index 001bc51..38239d7 100644 --- a/core/src/main/java/org/apache/accumulo/core/data/thrift/InitialScan.java +++ b/core/src/main/java/org/apache/accumulo/core/data/thrift/InitialScan.java @@ -48,7 +48,7 @@ import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -@SuppressWarnings("all") public class InitialScan implements org.apache.thrift.TBase<InitialScan, InitialScan._Fields>, java.io.Serializable, Cloneable, Comparable<InitialScan> { +@SuppressWarnings({"unchecked", "serial", "rawtypes", "unused"}) public class InitialScan implements org.apache.thrift.TBase<InitialScan, InitialScan._Fields>, java.io.Serializable, Cloneable, Comparable<InitialScan> { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InitialScan"); private static final org.apache.thrift.protocol.TField SCAN_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("scanID", org.apache.thrift.protocol.TType.I64, (short)1); @@ -64,7 +64,7 @@ import org.slf4j.LoggerFactory; public ScanResult result; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SCAN_ID((short)1, "scanID"), RESULT((short)2, "result"); http://git-wip-us.apache.org/repos/asf/accumulo/blob/bbcc6da4/core/src/main/java/org/apache/accumulo/core/data/thrift/IterInfo.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/data/thrift/IterInfo.java b/core/src/main/java/org/apache/accumulo/core/data/thrift/IterInfo.java index 6135634..890a6b8 100644 --- a/core/src/main/java/org/apache/accumulo/core/data/thrift/IterInfo.java +++ b/core/src/main/java/org/apache/accumulo/core/data/thrift/IterInfo.java @@ -48,7 +48,7 @@ import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -@SuppressWarnings("all") public class IterInfo implements org.apache.thrift.TBase<IterInfo, IterInfo._Fields>, java.io.Serializable, Cloneable, Comparable<IterInfo> { +@SuppressWarnings({"unchecked", "serial", "rawtypes", "unused"}) public class IterInfo implements org.apache.thrift.TBase<IterInfo, IterInfo._Fields>, java.io.Serializable, Cloneable, Comparable<IterInfo> { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("IterInfo"); private static final org.apache.thrift.protocol.TField PRIORITY_FIELD_DESC = new org.apache.thrift.protocol.TField("priority", org.apache.thrift.protocol.TType.I32, (short)1); @@ -66,7 +66,7 @@ import org.slf4j.LoggerFactory; public String iterName; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { PRIORITY((short)1, "priority"), CLASS_NAME((short)2, "className"), ITER_NAME((short)3, "iterName"); http://git-wip-us.apache.org/repos/asf/accumulo/blob/bbcc6da4/core/src/main/java/org/apache/accumulo/core/data/thrift/MapFileInfo.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/data/thrift/MapFileInfo.java b/core/src/main/java/org/apache/accumulo/core/data/thrift/MapFileInfo.java index 8598818..0fbf04f 100644 --- a/core/src/main/java/org/apache/accumulo/core/data/thrift/MapFileInfo.java +++ b/core/src/main/java/org/apache/accumulo/core/data/thrift/MapFileInfo.java @@ -48,7 +48,7 @@ import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -@SuppressWarnings("all") public class MapFileInfo implements org.apache.thrift.TBase<MapFileInfo, MapFileInfo._Fields>, java.io.Serializable, Cloneable, Comparable<MapFileInfo> { +@SuppressWarnings({"unchecked", "serial", "rawtypes", "unused"}) public class MapFileInfo implements org.apache.thrift.TBase<MapFileInfo, MapFileInfo._Fields>, java.io.Serializable, Cloneable, Comparable<MapFileInfo> { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("MapFileInfo"); private static final org.apache.thrift.protocol.TField ESTIMATED_SIZE_FIELD_DESC = new org.apache.thrift.protocol.TField("estimatedSize", org.apache.thrift.protocol.TType.I64, (short)1); @@ -62,7 +62,7 @@ import org.slf4j.LoggerFactory; public long estimatedSize; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { ESTIMATED_SIZE((short)1, "estimatedSize"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); http://git-wip-us.apache.org/repos/asf/accumulo/blob/bbcc6da4/core/src/main/java/org/apache/accumulo/core/data/thrift/MultiScanResult.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/data/thrift/MultiScanResult.java b/core/src/main/java/org/apache/accumulo/core/data/thrift/MultiScanResult.java index d7c0374..0140a68 100644 --- a/core/src/main/java/org/apache/accumulo/core/data/thrift/MultiScanResult.java +++ b/core/src/main/java/org/apache/accumulo/core/data/thrift/MultiScanResult.java @@ -48,7 +48,7 @@ import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -@SuppressWarnings("all") public class MultiScanResult implements org.apache.thrift.TBase<MultiScanResult, MultiScanResult._Fields>, java.io.Serializable, Cloneable, Comparable<MultiScanResult> { +@SuppressWarnings({"unchecked", "serial", "rawtypes", "unused"}) public class MultiScanResult implements org.apache.thrift.TBase<MultiScanResult, MultiScanResult._Fields>, java.io.Serializable, Cloneable, Comparable<MultiScanResult> { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("MultiScanResult"); private static final org.apache.thrift.protocol.TField RESULTS_FIELD_DESC = new org.apache.thrift.protocol.TField("results", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -74,7 +74,7 @@ import org.slf4j.LoggerFactory; public boolean more; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { RESULTS((short)1, "results"), FAILURES((short)2, "failures"), FULL_SCANS((short)3, "fullScans"), http://git-wip-us.apache.org/repos/asf/accumulo/blob/bbcc6da4/core/src/main/java/org/apache/accumulo/core/data/thrift/ScanResult.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/data/thrift/ScanResult.java b/core/src/main/java/org/apache/accumulo/core/data/thrift/ScanResult.java index ce418a6..b936d2b 100644 --- a/core/src/main/java/org/apache/accumulo/core/data/thrift/ScanResult.java +++ b/core/src/main/java/org/apache/accumulo/core/data/thrift/ScanResult.java @@ -48,7 +48,7 @@ import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -@SuppressWarnings("all") public class ScanResult implements org.apache.thrift.TBase<ScanResult, ScanResult._Fields>, java.io.Serializable, Cloneable, Comparable<ScanResult> { +@SuppressWarnings({"unchecked", "serial", "rawtypes", "unused"}) public class ScanResult implements org.apache.thrift.TBase<ScanResult, ScanResult._Fields>, java.io.Serializable, Cloneable, Comparable<ScanResult> { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ScanResult"); private static final org.apache.thrift.protocol.TField RESULTS_FIELD_DESC = new org.apache.thrift.protocol.TField("results", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -64,7 +64,7 @@ import org.slf4j.LoggerFactory; public boolean more; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { RESULTS((short)1, "results"), MORE((short)2, "more"); http://git-wip-us.apache.org/repos/asf/accumulo/blob/bbcc6da4/core/src/main/java/org/apache/accumulo/core/data/thrift/TCMResult.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/data/thrift/TCMResult.java b/core/src/main/java/org/apache/accumulo/core/data/thrift/TCMResult.java index 598bd48..7c60cd1 100644 --- a/core/src/main/java/org/apache/accumulo/core/data/thrift/TCMResult.java +++ b/core/src/main/java/org/apache/accumulo/core/data/thrift/TCMResult.java @@ -48,7 +48,7 @@ import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -@SuppressWarnings("all") public class TCMResult implements org.apache.thrift.TBase<TCMResult, TCMResult._Fields>, java.io.Serializable, Cloneable, Comparable<TCMResult> { +@SuppressWarnings({"unchecked", "serial", "rawtypes", "unused"}) public class TCMResult implements org.apache.thrift.TBase<TCMResult, TCMResult._Fields>, java.io.Serializable, Cloneable, Comparable<TCMResult> { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCMResult"); private static final org.apache.thrift.protocol.TField CMID_FIELD_DESC = new org.apache.thrift.protocol.TField("cmid", org.apache.thrift.protocol.TType.I64, (short)1); @@ -68,7 +68,7 @@ import org.slf4j.LoggerFactory; public TCMStatus status; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { CMID((short)1, "cmid"), /** * http://git-wip-us.apache.org/repos/asf/accumulo/blob/bbcc6da4/core/src/main/java/org/apache/accumulo/core/data/thrift/TCMStatus.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/data/thrift/TCMStatus.java b/core/src/main/java/org/apache/accumulo/core/data/thrift/TCMStatus.java index ee4592c..993e9e2 100644 --- a/core/src/main/java/org/apache/accumulo/core/data/thrift/TCMStatus.java +++ b/core/src/main/java/org/apache/accumulo/core/data/thrift/TCMStatus.java @@ -27,7 +27,7 @@ import java.util.Map; import java.util.HashMap; import org.apache.thrift.TEnum; -@SuppressWarnings("all") public enum TCMStatus implements org.apache.thrift.TEnum { +@SuppressWarnings({"unused"}) public enum TCMStatus implements org.apache.thrift.TEnum { ACCEPTED(0), REJECTED(1), VIOLATED(2), http://git-wip-us.apache.org/repos/asf/accumulo/blob/bbcc6da4/core/src/main/java/org/apache/accumulo/core/data/thrift/TColumn.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/data/thrift/TColumn.java b/core/src/main/java/org/apache/accumulo/core/data/thrift/TColumn.java index 125cece..127f7c6 100644 --- a/core/src/main/java/org/apache/accumulo/core/data/thrift/TColumn.java +++ b/core/src/main/java/org/apache/accumulo/core/data/thrift/TColumn.java @@ -48,7 +48,7 @@ import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -@SuppressWarnings("all") public class TColumn implements org.apache.thrift.TBase<TColumn, TColumn._Fields>, java.io.Serializable, Cloneable, Comparable<TColumn> { +@SuppressWarnings({"unchecked", "serial", "rawtypes", "unused"}) public class TColumn implements org.apache.thrift.TBase<TColumn, TColumn._Fields>, java.io.Serializable, Cloneable, Comparable<TColumn> { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TColumn"); private static final org.apache.thrift.protocol.TField COLUMN_FAMILY_FIELD_DESC = new org.apache.thrift.protocol.TField("columnFamily", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -66,7 +66,7 @@ import org.slf4j.LoggerFactory; public ByteBuffer columnVisibility; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { COLUMN_FAMILY((short)1, "columnFamily"), COLUMN_QUALIFIER((short)2, "columnQualifier"), COLUMN_VISIBILITY((short)3, "columnVisibility"); http://git-wip-us.apache.org/repos/asf/accumulo/blob/bbcc6da4/core/src/main/java/org/apache/accumulo/core/data/thrift/TCondition.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/data/thrift/TCondition.java b/core/src/main/java/org/apache/accumulo/core/data/thrift/TCondition.java index 9fc3968..a4ae6df 100644 --- a/core/src/main/java/org/apache/accumulo/core/data/thrift/TCondition.java +++ b/core/src/main/java/org/apache/accumulo/core/data/thrift/TCondition.java @@ -48,7 +48,7 @@ import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -@SuppressWarnings("all") public class TCondition implements org.apache.thrift.TBase<TCondition, TCondition._Fields>, java.io.Serializable, Cloneable, Comparable<TCondition> { +@SuppressWarnings({"unchecked", "serial", "rawtypes", "unused"}) public class TCondition implements org.apache.thrift.TBase<TCondition, TCondition._Fields>, java.io.Serializable, Cloneable, Comparable<TCondition> { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCondition"); private static final org.apache.thrift.protocol.TField CF_FIELD_DESC = new org.apache.thrift.protocol.TField("cf", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -74,7 +74,7 @@ import org.slf4j.LoggerFactory; public ByteBuffer iterators; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { CF((short)1, "cf"), CQ((short)2, "cq"), CV((short)3, "cv"), http://git-wip-us.apache.org/repos/asf/accumulo/blob/bbcc6da4/core/src/main/java/org/apache/accumulo/core/data/thrift/TConditionalMutation.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/data/thrift/TConditionalMutation.java b/core/src/main/java/org/apache/accumulo/core/data/thrift/TConditionalMutation.java index 3d49c45..8c9f0a6 100644 --- a/core/src/main/java/org/apache/accumulo/core/data/thrift/TConditionalMutation.java +++ b/core/src/main/java/org/apache/accumulo/core/data/thrift/TConditionalMutation.java @@ -48,7 +48,7 @@ import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -@SuppressWarnings("all") public class TConditionalMutation implements org.apache.thrift.TBase<TConditionalMutation, TConditionalMutation._Fields>, java.io.Serializable, Cloneable, Comparable<TConditionalMutation> { +@SuppressWarnings({"unchecked", "serial", "rawtypes", "unused"}) public class TConditionalMutation implements org.apache.thrift.TBase<TConditionalMutation, TConditionalMutation._Fields>, java.io.Serializable, Cloneable, Comparable<TConditionalMutation> { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TConditionalMutation"); private static final org.apache.thrift.protocol.TField CONDITIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("conditions", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -66,7 +66,7 @@ import org.slf4j.LoggerFactory; public long id; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { CONDITIONS((short)1, "conditions"), MUTATION((short)2, "mutation"), ID((short)3, "id"); http://git-wip-us.apache.org/repos/asf/accumulo/blob/bbcc6da4/core/src/main/java/org/apache/accumulo/core/data/thrift/TConditionalSession.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/data/thrift/TConditionalSession.java b/core/src/main/java/org/apache/accumulo/core/data/thrift/TConditionalSession.java index 646dbdb..eb08623 100644 --- a/core/src/main/java/org/apache/accumulo/core/data/thrift/TConditionalSession.java +++ b/core/src/main/java/org/apache/accumulo/core/data/thrift/TConditionalSession.java @@ -48,7 +48,7 @@ import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -@SuppressWarnings("all") public class TConditionalSession implements org.apache.thrift.TBase<TConditionalSession, TConditionalSession._Fields>, java.io.Serializable, Cloneable, Comparable<TConditionalSession> { +@SuppressWarnings({"unchecked", "serial", "rawtypes", "unused"}) public class TConditionalSession implements org.apache.thrift.TBase<TConditionalSession, TConditionalSession._Fields>, java.io.Serializable, Cloneable, Comparable<TConditionalSession> { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TConditionalSession"); private static final org.apache.thrift.protocol.TField SESSION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionId", org.apache.thrift.protocol.TType.I64, (short)1); @@ -66,7 +66,7 @@ import org.slf4j.LoggerFactory; public long ttl; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { SESSION_ID((short)1, "sessionId"), TSERVER_LOCK((short)2, "tserverLock"), TTL((short)3, "ttl"); http://git-wip-us.apache.org/repos/asf/accumulo/blob/bbcc6da4/core/src/main/java/org/apache/accumulo/core/data/thrift/TConstraintViolationSummary.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/data/thrift/TConstraintViolationSummary.java b/core/src/main/java/org/apache/accumulo/core/data/thrift/TConstraintViolationSummary.java index d841eff..1dc51e3 100644 --- a/core/src/main/java/org/apache/accumulo/core/data/thrift/TConstraintViolationSummary.java +++ b/core/src/main/java/org/apache/accumulo/core/data/thrift/TConstraintViolationSummary.java @@ -48,7 +48,7 @@ import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -@SuppressWarnings("all") public class TConstraintViolationSummary implements org.apache.thrift.TBase<TConstraintViolationSummary, TConstraintViolationSummary._Fields>, java.io.Serializable, Cloneable, Comparable<TConstraintViolationSummary> { +@SuppressWarnings({"unchecked", "serial", "rawtypes", "unused"}) public class TConstraintViolationSummary implements org.apache.thrift.TBase<TConstraintViolationSummary, TConstraintViolationSummary._Fields>, java.io.Serializable, Cloneable, Comparable<TConstraintViolationSummary> { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TConstraintViolationSummary"); private static final org.apache.thrift.protocol.TField CONSTRAIN_CLASS_FIELD_DESC = new org.apache.thrift.protocol.TField("constrainClass", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -68,7 +68,7 @@ import org.slf4j.LoggerFactory; public long numberOfViolatingMutations; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { CONSTRAIN_CLASS((short)1, "constrainClass"), VIOLATION_CODE((short)2, "violationCode"), VIOLATION_DESCRIPTION((short)3, "violationDescription"), http://git-wip-us.apache.org/repos/asf/accumulo/blob/bbcc6da4/core/src/main/java/org/apache/accumulo/core/data/thrift/TKey.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/data/thrift/TKey.java b/core/src/main/java/org/apache/accumulo/core/data/thrift/TKey.java index 4f05c66..2b81651 100644 --- a/core/src/main/java/org/apache/accumulo/core/data/thrift/TKey.java +++ b/core/src/main/java/org/apache/accumulo/core/data/thrift/TKey.java @@ -48,7 +48,7 @@ import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -@SuppressWarnings("all") public class TKey implements org.apache.thrift.TBase<TKey, TKey._Fields>, java.io.Serializable, Cloneable, Comparable<TKey> { +@SuppressWarnings({"unchecked", "serial", "rawtypes", "unused"}) public class TKey implements org.apache.thrift.TBase<TKey, TKey._Fields>, java.io.Serializable, Cloneable, Comparable<TKey> { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TKey"); private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -70,7 +70,7 @@ import org.slf4j.LoggerFactory; public long timestamp; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { ROW((short)1, "row"), COL_FAMILY((short)2, "colFamily"), COL_QUALIFIER((short)3, "colQualifier"), http://git-wip-us.apache.org/repos/asf/accumulo/blob/bbcc6da4/core/src/main/java/org/apache/accumulo/core/data/thrift/TKeyExtent.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/data/thrift/TKeyExtent.java b/core/src/main/java/org/apache/accumulo/core/data/thrift/TKeyExtent.java index b83fc1a..20f1fea 100644 --- a/core/src/main/java/org/apache/accumulo/core/data/thrift/TKeyExtent.java +++ b/core/src/main/java/org/apache/accumulo/core/data/thrift/TKeyExtent.java @@ -48,7 +48,7 @@ import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -@SuppressWarnings("all") public class TKeyExtent implements org.apache.thrift.TBase<TKeyExtent, TKeyExtent._Fields>, java.io.Serializable, Cloneable, Comparable<TKeyExtent> { +@SuppressWarnings({"unchecked", "serial", "rawtypes", "unused"}) public class TKeyExtent implements org.apache.thrift.TBase<TKeyExtent, TKeyExtent._Fields>, java.io.Serializable, Cloneable, Comparable<TKeyExtent> { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TKeyExtent"); private static final org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.thrift.protocol.TField("table", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -66,7 +66,7 @@ import org.slf4j.LoggerFactory; public ByteBuffer prevEndRow; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { TABLE((short)1, "table"), END_ROW((short)2, "endRow"), PREV_END_ROW((short)3, "prevEndRow"); http://git-wip-us.apache.org/repos/asf/accumulo/blob/bbcc6da4/core/src/main/java/org/apache/accumulo/core/data/thrift/TKeyValue.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/data/thrift/TKeyValue.java b/core/src/main/java/org/apache/accumulo/core/data/thrift/TKeyValue.java index 4c47c69..75161b0 100644 --- a/core/src/main/java/org/apache/accumulo/core/data/thrift/TKeyValue.java +++ b/core/src/main/java/org/apache/accumulo/core/data/thrift/TKeyValue.java @@ -48,7 +48,7 @@ import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -@SuppressWarnings("all") public class TKeyValue implements org.apache.thrift.TBase<TKeyValue, TKeyValue._Fields>, java.io.Serializable, Cloneable, Comparable<TKeyValue> { +@SuppressWarnings({"unchecked", "serial", "rawtypes", "unused"}) public class TKeyValue implements org.apache.thrift.TBase<TKeyValue, TKeyValue._Fields>, java.io.Serializable, Cloneable, Comparable<TKeyValue> { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TKeyValue"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField("key", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -64,7 +64,7 @@ import org.slf4j.LoggerFactory; public ByteBuffer value; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEY((short)1, "key"), VALUE((short)2, "value"); http://git-wip-us.apache.org/repos/asf/accumulo/blob/bbcc6da4/core/src/main/java/org/apache/accumulo/core/data/thrift/TMutation.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/data/thrift/TMutation.java b/core/src/main/java/org/apache/accumulo/core/data/thrift/TMutation.java index 1e00047..ecaf87c 100644 --- a/core/src/main/java/org/apache/accumulo/core/data/thrift/TMutation.java +++ b/core/src/main/java/org/apache/accumulo/core/data/thrift/TMutation.java @@ -48,7 +48,7 @@ import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -@SuppressWarnings("all") public class TMutation implements org.apache.thrift.TBase<TMutation, TMutation._Fields>, java.io.Serializable, Cloneable, Comparable<TMutation> { +@SuppressWarnings({"unchecked", "serial", "rawtypes", "unused"}) public class TMutation implements org.apache.thrift.TBase<TMutation, TMutation._Fields>, java.io.Serializable, Cloneable, Comparable<TMutation> { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TMutation"); private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -68,7 +68,7 @@ import org.slf4j.LoggerFactory; public int entries; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { ROW((short)1, "row"), DATA((short)2, "data"), VALUES((short)3, "values"), http://git-wip-us.apache.org/repos/asf/accumulo/blob/bbcc6da4/core/src/main/java/org/apache/accumulo/core/data/thrift/TRange.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/data/thrift/TRange.java b/core/src/main/java/org/apache/accumulo/core/data/thrift/TRange.java index 58e805f..0ad791c 100644 --- a/core/src/main/java/org/apache/accumulo/core/data/thrift/TRange.java +++ b/core/src/main/java/org/apache/accumulo/core/data/thrift/TRange.java @@ -48,7 +48,7 @@ import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -@SuppressWarnings("all") public class TRange implements org.apache.thrift.TBase<TRange, TRange._Fields>, java.io.Serializable, Cloneable, Comparable<TRange> { +@SuppressWarnings({"unchecked", "serial", "rawtypes", "unused"}) public class TRange implements org.apache.thrift.TBase<TRange, TRange._Fields>, java.io.Serializable, Cloneable, Comparable<TRange> { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TRange"); private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField("start", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -72,7 +72,7 @@ import org.slf4j.LoggerFactory; public boolean infiniteStopKey; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { START((short)1, "start"), STOP((short)2, "stop"), START_KEY_INCLUSIVE((short)3, "startKeyInclusive"), http://git-wip-us.apache.org/repos/asf/accumulo/blob/bbcc6da4/core/src/main/java/org/apache/accumulo/core/data/thrift/UpdateErrors.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/data/thrift/UpdateErrors.java b/core/src/main/java/org/apache/accumulo/core/data/thrift/UpdateErrors.java index 55a0602..f2b53ad 100644 --- a/core/src/main/java/org/apache/accumulo/core/data/thrift/UpdateErrors.java +++ b/core/src/main/java/org/apache/accumulo/core/data/thrift/UpdateErrors.java @@ -48,7 +48,7 @@ import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -@SuppressWarnings("all") public class UpdateErrors implements org.apache.thrift.TBase<UpdateErrors, UpdateErrors._Fields>, java.io.Serializable, Cloneable, Comparable<UpdateErrors> { +@SuppressWarnings({"unchecked", "serial", "rawtypes", "unused"}) public class UpdateErrors implements org.apache.thrift.TBase<UpdateErrors, UpdateErrors._Fields>, java.io.Serializable, Cloneable, Comparable<UpdateErrors> { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("UpdateErrors"); private static final org.apache.thrift.protocol.TField FAILED_EXTENTS_FIELD_DESC = new org.apache.thrift.protocol.TField("failedExtents", org.apache.thrift.protocol.TType.MAP, (short)1); @@ -66,7 +66,7 @@ import org.slf4j.LoggerFactory; public Map<TKeyExtent,org.apache.accumulo.core.client.impl.thrift.SecurityErrorCode> authorizationFailures; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { + public enum _Fields implements org.apache.thrift.TFieldIdEnum { FAILED_EXTENTS((short)1, "failedExtents"), VIOLATION_SUMMARIES((short)2, "violationSummaries"), AUTHORIZATION_FAILURES((short)3, "authorizationFailures");