Details
-
Sub-task
-
Status: In Progress
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
By far, one of the most painful replacement in hadoop. There are two options:
- Using Apache commons
- Using Java wrapper without dependency on third party.
Targets Occurrences of 'com.google.common.base.Preconditions' in project with mask '*.java' Found Occurrences (577 usages found) org.apache.hadoop.conf (2 usages found) Configuration.java (1 usage found) 108 import com.google.common.base.Preconditions; ReconfigurableBase.java (1 usage found) 22 import com.google.common.base.Preconditions; org.apache.hadoop.crypto (7 usages found) AesCtrCryptoCodec.java (1 usage found) 23 import com.google.common.base.Preconditions; CryptoInputStream.java (1 usage found) 33 import com.google.common.base.Preconditions; CryptoOutputStream.java (1 usage found) 32 import com.google.common.base.Preconditions; CryptoStreamUtils.java (1 usage found) 32 import com.google.common.base.Preconditions; JceAesCtrCryptoCodec.java (1 usage found) 32 import com.google.common.base.Preconditions; OpensslAesCtrCryptoCodec.java (1 usage found) 32 import com.google.common.base.Preconditions; OpensslCipher.java (1 usage found) 32 import com.google.common.base.Preconditions; org.apache.hadoop.crypto.key (2 usages found) JavaKeyStoreProvider.java (1 usage found) 21 import com.google.common.base.Preconditions; KeyProviderCryptoExtension.java (1 usage found) 32 import com.google.common.base.Preconditions; org.apache.hadoop.crypto.key.kms (3 usages found) KMSClientProvider.java (1 usage found) 83 import com.google.common.base.Preconditions; LoadBalancingKMSClientProvider.java (1 usage found) 54 import com.google.common.base.Preconditions; ValueQueue.java (1 usage found) 36 import com.google.common.base.Preconditions; org.apache.hadoop.crypto.key.kms.server (5 usages found) KeyAuthorizationKeyProvider.java (1 usage found) 35 import com.google.common.base.Preconditions; KMS.java (1 usage found) 20 import com.google.common.base.Preconditions; KMSAudit.java (1 usage found) 24 import com.google.common.base.Preconditions; KMSWebApp.java (1 usage found) 29 import com.google.common.base.Preconditions; MiniKMS.java (1 usage found) 29 import com.google.common.base.Preconditions; org.apache.hadoop.crypto.random (1 usage found) OpensslSecureRandom.java (1 usage found) 25 import com.google.common.base.Preconditions; org.apache.hadoop.fs (19 usages found) ByteBufferUtil.java (1 usage found) 29 import com.google.common.base.Preconditions; ChecksumFileSystem.java (1 usage found) 32 import com.google.common.base.Preconditions; FileContext.java (1 usage found) 68 import com.google.common.base.Preconditions; FileEncryptionInfo.java (2 usages found) 27 import static com.google.common.base.Preconditions.checkArgument; 28 import static com.google.common.base.Preconditions.checkNotNull; FileSystem.java (2 usages found) 86 import com.google.common.base.Preconditions; 91 import static com.google.common.base.Preconditions.checkArgument; FileSystemStorageStatistics.java (1 usage found) 23 import com.google.common.base.Preconditions; FSDataOutputStreamBuilder.java (1 usage found) 31 import static com.google.common.base.Preconditions.checkNotNull; FSInputStream.java (1 usage found) 24 import com.google.common.base.Preconditions; FsUrlConnection.java (1 usage found) 27 import com.google.common.base.Preconditions; GlobalStorageStatistics.java (1 usage found) 26 import com.google.common.base.Preconditions; Globber.java (1 usage found) 35 import static com.google.common.base.Preconditions.checkNotNull; MultipartUploader.java (1 usage found) 31 import static com.google.common.base.Preconditions.checkArgument; PartialListing.java (1 usage found) 20 import com.google.common.base.Preconditions; TestEnhancedByteBufferAccess.java (1 usage found) 74 import com.google.common.base.Preconditions; TestLocalFileSystem.java (1 usage found) 20 import com.google.common.base.Preconditions; UnionStorageStatistics.java (1 usage found) 23 import com.google.common.base.Preconditions; XAttrCodec.java (1 usage found) 28 import com.google.common.base.Preconditions; org.apache.hadoop.fs.adl (1 usage found) AdlFileSystem.java (1 usage found) 30 import com.google.common.base.Preconditions; org.apache.hadoop.fs.aliyun.oss (1 usage found) AliyunOSSUtils.java (1 usage found) 26 import com.google.common.base.Preconditions; org.apache.hadoop.fs.azure (4 usages found) BlockBlobAppendStream.java (1 usage found) 46 import com.google.common.base.Preconditions; ClientThrottlingAnalyzer.java (1 usage found) 22 import com.google.common.base.Preconditions; NativeAzureFileSystem.java (1 usage found) 84 import com.google.common.base.Preconditions; NativeAzureFileSystemHelper.java (1 usage found) 26 import com.google.common.base.Preconditions; org.apache.hadoop.fs.azurebfs (3 usages found) AbfsConfiguration.java (1 usage found) 26 import com.google.common.base.Preconditions; AzureBlobFileSystem.java (1 usage found) 41 import com.google.common.base.Preconditions; AzureBlobFileSystemStore.java (1 usage found) 52 import com.google.common.base.Preconditions; org.apache.hadoop.fs.azurebfs.extensions (2 usages found) ClassicDelegationTokenManager.java (1 usage found) 25 import com.google.common.base.Preconditions; StubAbfsTokenIdentifier.java (1 usage found) 32 import com.google.common.base.Preconditions; org.apache.hadoop.fs.azurebfs.oauth2 (6 usages found) AzureADAuthenticator.java (1 usage found) 30 import com.google.common.base.Preconditions; ClientCredsTokenProvider.java (1 usage found) 23 import com.google.common.base.Preconditions; CustomTokenProviderAdapter.java (1 usage found) 25 import com.google.common.base.Preconditions; IdentityTransformer.java (1 usage found) 24 import com.google.common.base.Preconditions; RefreshTokenBasedTokenProvider.java (1 usage found) 23 import com.google.common.base.Preconditions; UserPasswordTokenProvider.java (1 usage found) 22 import com.google.common.base.Preconditions; org.apache.hadoop.fs.azurebfs.security (1 usage found) AbfsDelegationTokenManager.java (1 usage found) 27 import com.google.common.base.Preconditions; org.apache.hadoop.fs.azurebfs.services (3 usages found) AbfsClientThrottlingAnalyzer.java (1 usage found) 28 import com.google.common.base.Preconditions; AbfsInputStream.java (1 usage found) 26 import com.google.common.base.Preconditions; AbfsOutputStream.java (1 usage found) 37 import com.google.common.base.Preconditions; org.apache.hadoop.fs.azurebfs.utils (1 usage found) TextFileBasedIdentityHandler.java (1 usage found) 20 import com.google.common.base.Preconditions; org.apache.hadoop.fs.contract.s3a (1 usage found) ITestS3AContractSeek.java (1 usage found) 47 import static com.google.common.base.Preconditions.checkNotNull; org.apache.hadoop.fs.cosn.auth (1 usage found) COSCredentialsProviderList.java (1 usage found) 27 import com.google.common.base.Preconditions; org.apache.hadoop.fs.ftp (2 usages found) FTPFileSystem.java (1 usage found) 28 import com.google.common.base.Preconditions; TestFTPFileSystem.java (1 usage found) 26 import com.google.common.base.Preconditions; org.apache.hadoop.fs.http.client (1 usage found) HttpFSFileSystem.java (1 usage found) 74 import com.google.common.base.Preconditions; org.apache.hadoop.fs.impl (5 usages found) AbstractFSBuilderImpl.java (2 usages found) 39 import static com.google.common.base.Preconditions.checkArgument; 40 import static com.google.common.base.Preconditions.checkNotNull; FsLinkResolution.java (1 usage found) 23 import com.google.common.base.Preconditions; PathCapabilitiesSupport.java (1 usage found) 28 import static com.google.common.base.Preconditions.checkArgument; WrappedIOException.java (1 usage found) 24 import com.google.common.base.Preconditions; org.apache.hadoop.fs.loadGenerator (1 usage found) LoadGenerator.java (1 usage found) 50 import com.google.common.base.Preconditions; org.apache.hadoop.fs.permission (1 usage found) AclStatus.java (1 usage found) 26 import com.google.common.base.Preconditions; org.apache.hadoop.fs.s3a (22 usages found) AWSClientIOException.java (1 usage found) 23 import com.google.common.base.Preconditions; AWSCredentialProviderList.java (1 usage found) 35 import com.google.common.base.Preconditions; FailureInjectionPolicy.java (1 usage found) 21 import com.google.common.base.Preconditions; InconsistentAmazonS3Client.java (1 usage found) 56 import com.google.common.base.Preconditions; Invoker.java (1 usage found) 28 import com.google.common.base.Preconditions; Listing.java (1 usage found) 34 import com.google.common.base.Preconditions; MockS3AFileSystem.java (1 usage found) 45 import static com.google.common.base.Preconditions.checkNotNull; S3ABlockOutputStream.java (1 usage found) 38 import com.google.common.base.Preconditions; S3ADataBlocks.java (1 usage found) 35 import com.google.common.base.Preconditions; S3AFileSystem.java (1 usage found) 83 import com.google.common.base.Preconditions; S3AInputStream.java (1 usage found) 29 import com.google.common.base.Preconditions; S3ALocatedFileStatus.java (1 usage found) 24 import static com.google.common.base.Preconditions.checkNotNull; S3AMultipartUploader.java (1 usage found) 39 import com.google.common.base.Preconditions; S3AOpContext.java (1 usage found) 23 import com.google.common.base.Preconditions; S3AReadOpContext.java (2 usages found) 28 import com.google.common.base.Preconditions; 30 import static com.google.common.base.Preconditions.checkNotNull; S3ARetryPolicy.java (1 usage found) 35 import com.google.common.base.Preconditions; S3ATestUtils.java (1 usage found) 72 import static com.google.common.base.Preconditions.checkNotNull; S3AUtils.java (1 usage found) 39 import com.google.common.base.Preconditions; WriteOperationHelper.java (3 usages found) 44 import com.google.common.base.Preconditions; 58 import static com.google.common.base.Preconditions.checkArgument; 59 import static com.google.common.base.Preconditions.checkNotNull; org.apache.hadoop.fs.s3a.auth (3 usages found) MarshalledCredentialProvider.java (1 usage found) 31 import static com.google.common.base.Preconditions.checkNotNull; RoleModel.java (1 usage found) 38 import static com.google.common.base.Preconditions.checkState; STSClientFactory.java (1 usage found) 33 import com.google.common.base.Preconditions; org.apache.hadoop.fs.s3a.auth.delegation (6 usages found) AbstractDTService.java (1 usage found) 24 import com.google.common.base.Preconditions; FullCredentialsTokenBinding.java (1 usage found) 25 import com.google.common.base.Preconditions; MiniKerberizedHadoopCluster.java (1 usage found) 25 import com.google.common.base.Preconditions; RoleTokenBinding.java (1 usage found) 28 import com.google.common.base.Preconditions; S3ADelegationTokens.java (2 usages found) 48 import static com.google.common.base.Preconditions.checkArgument; 49 import static com.google.common.base.Preconditions.checkState; org.apache.hadoop.fs.s3a.commit (4 usages found) AbstractS3ACommitter.java (1 usage found) 33 import com.google.common.base.Preconditions; AbstractYarnClusterITest.java (1 usage found) 42 import static com.google.common.base.Preconditions.checkNotNull; CommitOperations.java (1 usage found) 36 import com.google.common.base.Preconditions; MagicCommitPaths.java (1 usage found) 28 import static com.google.common.base.Preconditions.checkArgument; org.apache.hadoop.fs.s3a.commit.files (1 usage found) SinglePendingCommit.java (1 usage found) 34 import com.google.common.base.Preconditions; org.apache.hadoop.fs.s3a.commit.magic (1 usage found) MagicCommitTracker.java (1 usage found) 27 import com.google.common.base.Preconditions; org.apache.hadoop.fs.s3a.commit.staging (3 usages found) Paths.java (1 usage found) 27 import com.google.common.base.Preconditions; StagingCommitter.java (2 usages found) 29 import com.google.common.base.Preconditions; 54 import static com.google.common.base.Preconditions.*; org.apache.hadoop.fs.s3a.impl (6 usages found) AbstractStoreOperation.java (1 usage found) 21 import static com.google.common.base.Preconditions.checkNotNull; ChangeTracker.java (1 usage found) 43 import static com.google.common.base.Preconditions.checkNotNull; DeleteOperation.java (1 usage found) 47 import static com.google.common.base.Preconditions.checkArgument; ExecutingStoreOperation.java (1 usage found) 24 import com.google.common.base.Preconditions; MultiObjectDeleteSupport.java (1 usage found) 43 import static com.google.common.base.Preconditions.checkNotNull; RenameOperation.java (1 usage found) 47 import static com.google.common.base.Preconditions.checkNotNull; org.apache.hadoop.fs.s3a.s3guard (24 usages found) AbstractS3GuardToolTestBase.java (1 usage found) 40 import com.google.common.base.Preconditions; DescendantsIterator.java (1 usage found) 27 import com.google.common.base.Preconditions; DirListingMetadata.java (1 usage found) 32 import com.google.common.base.Preconditions; DumpS3GuardDynamoTable.java (1 usage found) 62 import static com.google.common.base.Preconditions.checkNotNull; DynamoDBClientFactory.java (1 usage found) 28 import com.google.common.base.Preconditions; DynamoDBMetadataStore.java (1 usage found) 66 import com.google.common.base.Preconditions; DynamoDBMetadataStoreTableManager.java (1 usage found) 55 import com.google.common.base.Preconditions; ImportOperation.java (1 usage found) 26 import com.google.common.base.Preconditions; ITestDynamoDBMetadataStore.java (1 usage found) 79 import static com.google.common.base.Preconditions.checkNotNull; ITestDynamoDBMetadataStoreScale.java (1 usage found) 64 import static com.google.common.base.Preconditions.checkNotNull; ITestS3GuardDDBRootOperations.java (1 usage found) 40 import static com.google.common.base.Preconditions.checkNotNull; LocalMetadataStore.java (1 usage found) 24 import com.google.common.base.Preconditions; MetadataStoreListFilesIterator.java (1 usage found) 30 import com.google.common.base.Preconditions; MetadataStoreTestBase.java (1 usage found) 51 import static com.google.common.base.Preconditions.checkNotNull; PathMetadata.java (1 usage found) 21 import com.google.common.base.Preconditions; PathMetadataDynamoDBTranslation.java (1 usage found) 38 import com.google.common.base.Preconditions; ProgressiveRenameTracker.java (1 usage found) 32 import static com.google.common.base.Preconditions.checkArgument; PurgeS3GuardDynamoTable.java (1 usage found) 46 import static com.google.common.base.Preconditions.checkNotNull; RenameTracker.java (1 usage found) 36 import static com.google.common.base.Preconditions.checkNotNull; S3Guard.java (1 usage found) 39 import com.google.common.base.Preconditions; S3GuardFsck.java (1 usage found) 42 import com.google.common.base.Preconditions; S3GuardTableAccess.java (1 usage found) 42 import static com.google.common.base.Preconditions.checkNotNull; S3GuardTool.java (1 usage found) 42 import com.google.common.base.Preconditions; TestPathMetadataDynamoDBTranslation.java (1 usage found) 32 import com.google.common.base.Preconditions; org.apache.hadoop.fs.s3a.scale (1 usage found) ILoadTestS3ABulkDeleteThrottling.java (1 usage found) 33 import com.google.common.base.Preconditions; org.apache.hadoop.fs.s3a.select (6 usages found) CsvFile.java (1 usage found) 25 import com.google.common.base.Preconditions; ITestS3SelectCLI.java (1 usage found) 45 import static com.google.common.base.Preconditions.checkNotNull; SelectBinding.java (2 usages found) 33 import com.google.common.base.Preconditions; 47 import static com.google.common.base.Preconditions.checkNotNull; SelectInputStream.java (2 usages found) 31 import com.google.common.base.Preconditions; 47 import static com.google.common.base.Preconditions.checkNotNull; org.apache.hadoop.fs.s3native (1 usage found) S3xLoginHelper.java (1 usage found) 26 import com.google.common.base.Preconditions; org.apache.hadoop.fs.shell (2 usages found) SnapshotCommands.java (1 usage found) 29 import com.google.common.base.Preconditions; XAttrCommands.java (1 usage found) 26 import com.google.common.base.Preconditions; org.apache.hadoop.fs.viewfs (1 usage found) InodeTree.java (1 usage found) 20 import com.google.common.base.Preconditions; org.apache.hadoop.ha (5 usages found) ActiveStandbyElector.java (1 usage found) 47 import com.google.common.base.Preconditions; FailoverController.java (1 usage found) 31 import com.google.common.base.Preconditions; HealthMonitor.java (1 usage found) 35 import com.google.common.base.Preconditions; MiniZKFCCluster.java (1 usage found) 40 import com.google.common.base.Preconditions; ZKFailoverController.java (1 usage found) 54 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs (22 usages found) DFSClient.java (1 usage found) 197 import com.google.common.base.Preconditions; DFSOutputStream.java (1 usage found) 76 import com.google.common.base.Preconditions; DFSStripedOutputStream.java (1 usage found) 21 import com.google.common.base.Preconditions; DFSTestUtil.java (1 usage found) 77 import com.google.common.base.Preconditions; DFSUtil.java (1 usage found) 109 import com.google.common.base.Preconditions; DFSUtilClient.java (1 usage found) 21 import com.google.common.base.Preconditions; DistributedFileSystem.java (1 usage found) 23 import com.google.common.base.Preconditions; ErasureCodeBenchmarkThroughput.java (1 usage found) 20 import com.google.common.base.Preconditions; HAUtil.java (1 usage found) 60 import com.google.common.base.Preconditions; MiniDFSCluster.java (1 usage found) 146 import com.google.common.base.Preconditions; MiniDFSNNTopology.java (1 usage found) 25 import com.google.common.base.Preconditions; NameNodeProxiesClient.java (1 usage found) 39 import com.google.common.base.Preconditions; PeerCache.java (1 usage found) 27 import com.google.common.base.Preconditions; PositionStripeReader.java (1 usage found) 20 import com.google.common.base.Preconditions; StatefulStripeReader.java (1 usage found) 20 import com.google.common.base.Preconditions; StripeReader.java (1 usage found) 20 import com.google.common.base.Preconditions; TestAppendSnapshotTruncate.java (1 usage found) 54 import com.google.common.base.Preconditions; TestDFSStripedOutputStreamWithFailureBase.java (1 usage found) 20 import com.google.common.base.Preconditions; TestLeaseRecoveryStriped.java (1 usage found) 20 import com.google.common.base.Preconditions; TestMiniDFSCluster.java (1 usage found) 45 import com.google.common.base.Preconditions; UpgradeUtilities.java (1 usage found) 54 import com.google.common.base.Preconditions; XAttrHelper.java (1 usage found) 29 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.client (2 usages found) HdfsDataInputStream.java (1 usage found) 34 import com.google.common.base.Preconditions; HdfsDataOutputStream.java (1 usage found) 31 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.client.impl (3 usages found) BlockReaderFactory.java (1 usage found) 78 import com.google.common.base.Preconditions; BlockReaderLocal.java (1 usage found) 21 import com.google.common.base.Preconditions; DfsClientConf.java (1 usage found) 21 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.net (2 usages found) DFSNetworkTopology.java (1 usage found) 21 import com.google.common.base.Preconditions; DFSTopologyNodeImpl.java (1 usage found) 21 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.nfs.nfs3 (5 usages found) DFSClientCache.java (1 usage found) 32 import com.google.common.base.Preconditions; OffsetRange.java (1 usage found) 22 import com.google.common.base.Preconditions; OpenFileCtx.java (1 usage found) 61 import com.google.common.base.Preconditions; OpenFileCtxCache.java (1 usage found) 34 import com.google.common.base.Preconditions; WriteCtx.java (1 usage found) 33 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.protocol (13 usages found) BlockListAsLongs.java (1 usage found) 37 import com.google.common.base.Preconditions; CacheDirective.java (2 usages found) 20 import static com.google.common.base.Preconditions.checkNotNull; 31 import com.google.common.base.Preconditions; CacheDirectiveInfo.java (1 usage found) 28 import com.google.common.base.Preconditions; CacheDirectiveIterator.java (1 usage found) 29 import com.google.common.base.Preconditions; ErasureCodingPolicy.java (1 usage found) 20 import com.google.common.base.Preconditions; ErasureCodingPolicyInfo.java (1 usage found) 20 import com.google.common.base.Preconditions; HdfsPartialListing.java (1 usage found) 21 import com.google.common.base.Preconditions; LayoutFlags.java (1 usage found) 27 import com.google.common.base.Preconditions; LocatedBlock.java (1 usage found) 25 import com.google.common.base.Preconditions; ReencryptionStatus.java (1 usage found) 21 import com.google.common.base.Preconditions; SnapshotDiffReportListing.java (1 usage found) 23 import com.google.common.base.Preconditions; ZoneReencryptionStatus.java (1 usage found) 20 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.protocol.datatransfer (2 usages found) PacketHeader.java (1 usage found) 30 import com.google.common.base.Preconditions; PacketReceiver.java (1 usage found) 31 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.protocolPB (2 usages found) DatanodeProtocolServerSideTranslatorPB.java (1 usage found) 64 import com.google.common.base.Preconditions; PBHelperClient.java (1 usage found) 31 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.qjournal.client (7 usages found) AsyncLoggerSet.java (1 usage found) 39 import com.google.common.base.Preconditions; IPCLoggerChannel.java (1 usage found) 61 import com.google.common.base.Preconditions; QuorumCall.java (1 usage found) 33 import com.google.common.base.Preconditions; QuorumException.java (1 usage found) 26 import com.google.common.base.Preconditions; QuorumJournalManager.java (1 usage found) 63 import com.google.common.base.Preconditions; SegmentRecoveryComparator.java (1 usage found) 26 import com.google.common.base.Preconditions; TestQJMWithFaults.java (1 usage found) 64 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.qjournal.server (2 usages found) Journal.java (1 usage found) 76 import com.google.common.base.Preconditions; JournalNode.java (1 usage found) 21 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.security.token.block (1 usage found) BlockTokenSecretManager.java (1 usage found) 48 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.security.token.delegation (1 usage found) DelegationTokenSecretManager.java (1 usage found) 52 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.server.balancer (4 usages found) Balancer.java (2 usages found) 20 import static com.google.common.base.Preconditions.checkArgument; 72 import com.google.common.base.Preconditions; Dispatcher.java (1 usage found) 87 import com.google.common.base.Preconditions; NameNodeConnector.java (1 usage found) 34 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.server.blockmanagement (19 usages found) AvailableSpaceBlockPlacementPolicy.java (1 usage found) 30 import com.google.common.base.Preconditions; AvailableSpaceRackFaultTolerantBlockPlacementPolicy.java (1 usage found) 21 import com.google.common.base.Preconditions; BlockIdManager.java (1 usage found) 21 import com.google.common.base.Preconditions; BlockInfo.java (1 usage found) 25 import com.google.common.base.Preconditions; BlockInfoContiguous.java (1 usage found) 20 import com.google.common.base.Preconditions; BlockInfoStriped.java (1 usage found) 21 import com.google.common.base.Preconditions; BlockManager.java (1 usage found) 130 import com.google.common.base.Preconditions; BlockManagerSafeMode.java (1 usage found) 39 import com.google.common.base.Preconditions; BlockManagerTestUtil.java (1 usage found) 39 import com.google.common.base.Preconditions; BlockPlacementPolicy.java (1 usage found) 28 import com.google.common.base.Preconditions; BlockPlacementPolicyDefault.java (1 usage found) 25 import com.google.common.base.Preconditions; BlockReportLeaseManager.java (1 usage found) 20 import com.google.common.base.Preconditions; BlockStoragePolicySuite.java (1 usage found) 21 import com.google.common.base.Preconditions; BlockToMarkCorrupt.java (1 usage found) 22 import com.google.common.base.Preconditions; CacheReplicationMonitor.java (1 usage found) 58 import com.google.common.base.Preconditions; DatanodeAdminDefaultMonitor.java (1 usage found) 20 import com.google.common.base.Preconditions; DatanodeAdminManager.java (1 usage found) 20 import static com.google.common.base.Preconditions.checkArgument; DatanodeManager.java (1 usage found) 24 import com.google.common.base.Preconditions; HostSet.java (1 usage found) 22 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.server.common (3 usages found) HdfsServerConstants.java (1 usage found) 34 import com.google.common.base.Preconditions; Storage.java (1 usage found) 57 import com.google.common.base.Preconditions; Util.java (1 usage found) 39 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.server.datanode (17 usages found) BlockChecksumHelper.java (1 usage found) 20 import com.google.common.base.Preconditions; BlockPoolManager.java (1 usage found) 33 import com.google.common.base.Preconditions; BlockPoolSliceStorage.java (1 usage found) 51 import com.google.common.base.Preconditions; BlockRecoveryWorker.java (1 usage found) 22 import com.google.common.base.Preconditions; BlockScanner.java (1 usage found) 36 import com.google.common.base.Preconditions; BlockSender.java (1 usage found) 59 import com.google.common.base.Preconditions; BPOfferService.java (1 usage found) 21 import com.google.common.base.Preconditions; DataNode.java (1 usage found) 227 import com.google.common.base.Preconditions; DataXceiver.java (1 usage found) 21 import com.google.common.base.Preconditions; DataXceiverServer.java (1 usage found) 39 import com.google.common.base.Preconditions; DiskBalancer.java (1 usage found) 22 import com.google.common.base.Preconditions; DiskBalancerWorkItem.java (1 usage found) 25 import com.google.common.base.Preconditions; DiskBalancerWorkStatus.java (1 usage found) 26 import com.google.common.base.Preconditions; FsDatasetTestUtils.java (1 usage found) 20 import com.google.common.base.Preconditions; InternalDataNodeTestUtils.java (1 usage found) 49 import com.google.common.base.Preconditions; ShortCircuitRegistry.java (1 usage found) 50 import com.google.common.base.Preconditions; VolumeScanner.java (1 usage found) 34 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.server.datanode.checker (4 usages found) AbstractFuture.java (2 usages found) 25 import com.google.common.base.Preconditions; 26 import static com.google.common.base.Preconditions.checkNotNull; DatasetVolumeChecker.java (1 usage found) 22 import com.google.common.base.Preconditions; TimeoutFuture.java (1 usage found) 23 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.server.datanode.erasurecode (3 usages found) ErasureCodingWorker.java (1 usage found) 20 import com.google.common.base.Preconditions; StripedReader.java (1 usage found) 20 import com.google.common.base.Preconditions; StripedWriter.java (1 usage found) 20 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.server.datanode.fsdataset.impl (10 usages found) FsDatasetCache.java (1 usage found) 26 import com.google.common.base.Preconditions; FsDatasetImpl.java (1 usage found) 124 import com.google.common.base.Preconditions; FsDatasetImplTestUtils.java (1 usage found) 21 import com.google.common.base.Preconditions; FsDatasetUtil.java (1 usage found) 37 import com.google.common.base.Preconditions; FsVolumeImpl.java (1 usage found) 91 import com.google.common.base.Preconditions; LazyPersistTestCase.java (1 usage found) 48 import com.google.common.base.Preconditions; MappableBlockLoader.java (1 usage found) 21 import com.google.common.base.Preconditions; NativePmemMappableBlockLoader.java (1 usage found) 21 import com.google.common.base.Preconditions; RamDiskReplicaTracker.java (1 usage found) 21 import com.google.common.base.Preconditions; TestScrLazyPersistFiles.java (1 usage found) 19 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.server.datanode.web.webhdfs (1 usage found) WebHdfsHandler.java (1 usage found) 20 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.server.diskbalancer (3 usages found) DiskBalancerTestUtil.java (1 usage found) 20 import com.google.common.base.Preconditions; TestDiskBalancer.java (1 usage found) 19 import com.google.common.base.Preconditions; TestDiskBalancerWithMockMover.java (1 usage found) 22 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.server.diskbalancer.command (7 usages found) CancelCommand.java (1 usage found) 22 import com.google.common.base.Preconditions; Command.java (1 usage found) 24 import com.google.common.base.Preconditions; ExecuteCommand.java (1 usage found) 22 import com.google.common.base.Preconditions; HelpCommand.java (1 usage found) 22 import com.google.common.base.Preconditions; PlanCommand.java (1 usage found) 20 import com.google.common.base.Preconditions; QueryCommand.java (1 usage found) 22 import com.google.common.base.Preconditions; ReportCommand.java (1 usage found) 36 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.server.diskbalancer.connectors (2 usages found) DBNameNodeConnector.java (1 usage found) 20 import com.google.common.base.Preconditions; JsonNodeConnector.java (1 usage found) 22 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.server.diskbalancer.datamodel (3 usages found) DiskBalancerCluster.java (1 usage found) 24 import com.google.common.base.Preconditions; DiskBalancerDataNode.java (1 usage found) 20 import com.google.common.base.Preconditions; DiskBalancerVolumeSet.java (1 usage found) 24 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.server.diskbalancer.planner (2 usages found) GreedyPlanner.java (1 usage found) 20 import com.google.common.base.Preconditions; NodePlan.java (1 usage found) 24 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.server.federation.resolver.order (1 usage found) AvailableSpaceResolver.java (1 usage found) 42 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.server.federation.router (1 usage found) RouterAdminServer.java (1 usage found) 32 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.server.mover (1 usage found) TestStorageMover.java (1 usage found) 68 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.server.namenode (55 usages found) AclFeature.java (1 usage found) 27 import com.google.common.base.Preconditions; BackupImage.java (1 usage found) 33 import com.google.common.base.Preconditions; CachePool.java (1 usage found) 35 import com.google.common.base.Preconditions; ContentSummaryComputationContext.java (1 usage found) 20 import com.google.common.base.Preconditions; EditLogBackupInputStream.java (1 usage found) 24 import com.google.common.base.Preconditions; EditLogFileInputStream.java (1 usage found) 49 import com.google.common.base.Preconditions; EditsDoubleBuffer.java (1 usage found) 35 import com.google.common.base.Preconditions; EncryptionZoneManager.java (1 usage found) 33 import com.google.common.base.Preconditions; ErasureCodingPolicyManager.java (1 usage found) 21 import com.google.common.base.Preconditions; FileJournalManager.java (1 usage found) 50 import com.google.common.base.Preconditions; FSDirAclOp.java (1 usage found) 20 import com.google.common.base.Preconditions; FSDirAppendOp.java (1 usage found) 43 import com.google.common.base.Preconditions; FSDirConcatOp.java (1 usage found) 20 import com.google.common.base.Preconditions; FSDirectory.java (1 usage found) 25 import com.google.common.base.Preconditions; FSDirEncryptionZoneOp.java (1 usage found) 55 import com.google.common.base.Preconditions; FSDirErasureCodingOp.java (1 usage found) 20 import com.google.common.base.Preconditions; FSDirMkdirOp.java (1 usage found) 21 import com.google.common.base.Preconditions; FSDirRenameOp.java (1 usage found) 20 import com.google.common.base.Preconditions; FSDirStatAndListingOp.java (1 usage found) 21 import com.google.common.base.Preconditions; FSDirWriteFileOp.java (1 usage found) 20 import com.google.common.base.Preconditions; FSDirXAttrOp.java (1 usage found) 21 import com.google.common.base.Preconditions; FSEditLog.java (1 usage found) 113 import com.google.common.base.Preconditions; FSEditLogAsync.java (1 usage found) 37 import com.google.common.base.Preconditions; FSEditLogLoader.java (1 usage found) 121 import com.google.common.base.Preconditions; FSEditLogOp.java (1 usage found) 142 import com.google.common.base.Preconditions; FSImage.java (1 usage found) 79 import com.google.common.base.Preconditions; FSImageFormat.java (1 usage found) 79 import com.google.common.base.Preconditions; FSImageFormatPBINode.java (1 usage found) 74 import com.google.common.base.Preconditions; FSImageSerialization.java (1 usage found) 56 import com.google.common.base.Preconditions; FSNamesystem.java (1 usage found) 342 import com.google.common.base.Preconditions; FSPermissionChecker.java (1 usage found) 27 import com.google.common.base.Preconditions; FSTreeTraverser.java (1 usage found) 37 import com.google.common.base.Preconditions; ImageServlet.java (1 usage found) 67 import com.google.common.base.Preconditions; INode.java (1 usage found) 21 import com.google.common.base.Preconditions; INodeDirectory.java (1 usage found) 44 import com.google.common.base.Preconditions; INodeDirectoryAttributes.java (1 usage found) 25 import com.google.common.base.Preconditions; INodeFile.java (1 usage found) 61 import com.google.common.base.Preconditions; INodeMap.java (1 usage found) 29 import com.google.common.base.Preconditions; INodeReference.java (1 usage found) 32 import com.google.common.base.Preconditions; INodesInPath.java (1 usage found) 30 import com.google.common.base.Preconditions; INodeWithAdditionalFields.java (1 usage found) 27 import com.google.common.base.Preconditions; JournalSet.java (1 usage found) 43 import com.google.common.base.Preconditions; LeaseManager.java (1 usage found) 56 import com.google.common.base.Preconditions; NameNode.java (1 usage found) 22 import com.google.common.base.Preconditions; NNStorage.java (1 usage found) 61 import com.google.common.base.Preconditions; NNStorageRetentionManager.java (1 usage found) 40 import com.google.common.base.Preconditions; NNThroughputBenchmark.java (1 usage found) 30 import com.google.common.base.Preconditions; NNUpgradeUtil.java (1 usage found) 37 import com.google.common.base.Preconditions; RedundantEditLogInputStream.java (1 usage found) 29 import com.google.common.base.Preconditions; ReencryptionHandler.java (1 usage found) 21 import com.google.common.base.Preconditions; ReencryptionUpdater.java (1 usage found) 21 import com.google.common.base.Preconditions; SaveNamespaceContext.java (1 usage found) 29 import com.google.common.base.Preconditions; SecondaryNameNode.java (1 usage found) 81 import com.google.common.base.Preconditions; XAttrFormat.java (1 usage found) 28 import com.google.common.base.Preconditions; XAttrPermissionFilter.java (1 usage found) 29 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.server.namenode.ha (4 usages found) BootstrapStandby.java (1 usage found) 74 import com.google.common.base.Preconditions; EditLogTailer.java (1 usage found) 62 import com.google.common.base.Preconditions; RemoteNameNodeInfo.java (1 usage found) 33 import com.google.common.base.Preconditions; StandbyCheckpointer.java (1 usage found) 52 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.server.namenode.snapshot (9 usages found) AbstractINodeDiff.java (1 usage found) 27 import com.google.common.base.Preconditions; DiffListBySkipList.java (1 usage found) 20 import com.google.common.base.Preconditions; DirectorySnapshottableFeature.java (1 usage found) 51 import com.google.common.base.Preconditions; DirectoryWithSnapshotFeature.java (1 usage found) 20 import com.google.common.base.Preconditions; FSImageFormatPBSnapshot.java (1 usage found) 85 import com.google.common.base.Preconditions; SnapshotDiffInfo.java (1 usage found) 36 import com.google.common.base.Preconditions; SnapshotDiffListingInfo.java (1 usage found) 32 import com.google.common.base.Preconditions; SnapshotFSImageFormat.java (1 usage found) 43 import com.google.common.base.Preconditions; SnapshotManager.java (1 usage found) 60 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.server.namenode.sps (1 usage found) StoragePolicySatisfier.java (1 usage found) 61 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.server.namenode.top (2 usages found) TopAuditLogger.java (1 usage found) 22 import com.google.common.base.Preconditions; TopConf.java (1 usage found) 26 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.server.namenode.top.window (1 usage found) RollingWindowManager.java (1 usage found) 27 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.server.protocol (3 usages found) BlocksWithLocations.java (1 usage found) 20 import com.google.common.base.Preconditions; NamespaceInfo.java (1 usage found) 34 import com.google.common.base.Preconditions; RemoteEditLogManifest.java (1 usage found) 24 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.shortcircuit (7 usages found) DfsClientShm.java (1 usage found) 29 import com.google.common.base.Preconditions; DfsClientShmManager.java (1 usage found) 47 import com.google.common.base.Preconditions; DomainSocketFactory.java (1 usage found) 33 import com.google.common.base.Preconditions; ShortCircuitCache.java (1 usage found) 58 import com.google.common.base.Preconditions; ShortCircuitReplica.java (1 usage found) 35 import com.google.common.base.Preconditions; ShortCircuitShm.java (1 usage found) 42 import com.google.common.base.Preconditions; TestShortCircuitCache.java (1 usage found) 92 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.tools (4 usages found) AdminHelper.java (1 usage found) 21 import com.google.common.base.Preconditions; DFSAdmin.java (1 usage found) 106 import com.google.common.base.Preconditions; DFSHAAdmin.java (1 usage found) 26 import com.google.common.base.Preconditions; NNHAServiceTarget.java (1 usage found) 36 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.tools.offlineImageViewer (5 usages found) FileDistributionCalculator.java (1 usage found) 36 import com.google.common.base.Preconditions; FSImageLoader.java (1 usage found) 60 import com.google.common.base.Preconditions; OfflineImageReconstructor.java (1 usage found) 20 import com.google.common.base.Preconditions; PBImageCorruptionDetector.java (1 usage found) 20 import com.google.common.base.Preconditions; PBImageTextWriter.java (1 usage found) 20 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.util (6 usages found) ByteArrayManager.java (1 usage found) 29 import com.google.common.base.Preconditions; Diff.java (1 usage found) 20 import com.google.common.base.Preconditions; EnumCounters.java (1 usage found) 20 import com.google.common.base.Preconditions; EnumDoubles.java (1 usage found) 22 import com.google.common.base.Preconditions; StripedBlockUtil.java (1 usage found) 31 import com.google.common.base.Preconditions; TestStripedBlockUtil.java (1 usage found) 21 import com.google.common.base.Preconditions; org.apache.hadoop.hdfs.web (2 usages found) JsonUtilClient.java (1 usage found) 22 import com.google.common.base.Preconditions; WebHdfsFileSystem.java (1 usage found) 137 import com.google.common.base.Preconditions; org.apache.hadoop.http (1 usage found) HttpServer2.java (1 usage found) 53 import com.google.common.base.Preconditions; org.apache.hadoop.io (2 usages found) DataOutputBuffer.java (1 usage found) 26 import com.google.common.base.Preconditions; ReadaheadPool.java (1 usage found) 32 import com.google.common.base.Preconditions; org.apache.hadoop.io.erasurecode (1 usage found) CodecUtil.java (1 usage found) 20 import com.google.common.base.Preconditions; org.apache.hadoop.io.erasurecode.rawcoder (1 usage found) RawErasureCoderBenchmark.java (1 usage found) 20 import com.google.common.base.Preconditions; org.apache.hadoop.io.retry (2 usages found) AsyncCallHandler.java (1 usage found) 21 import com.google.common.base.Preconditions; CallReturn.java (1 usage found) 20 import com.google.common.base.Preconditions; org.apache.hadoop.ipc (4 usages found) Client.java (1 usage found) 22 import com.google.common.base.Preconditions; ClientId.java (1 usage found) 25 import com.google.common.base.Preconditions; DecayRpcScheduler.java (1 usage found) 40 import com.google.common.base.Preconditions; RetryCache.java (1 usage found) 32 import com.google.common.base.Preconditions; org.apache.hadoop.mapred.nativetask.buffer (1 usage found) ByteBufferDataWriter.java (1 usage found) 26 import com.google.common.base.Preconditions; org.apache.hadoop.mapred.nativetask.testutil (1 usage found) BytesFactory.java (1 usage found) 22 import com.google.common.base.Preconditions; org.apache.hadoop.mapreduce.counters (2 usages found) FileSystemCounterGroup.java (1 usage found) 31 import static com.google.common.base.Preconditions.*; FrameworkCounterGroup.java (1 usage found) 21 import static com.google.common.base.Preconditions.checkNotNull; org.apache.hadoop.mapreduce.lib.output (4 usages found) FileOutputCommitter.java (1 usage found) 40 import com.google.common.base.Preconditions; FileOutputFormat.java (1 usage found) 24 import com.google.common.base.Preconditions; NamedCommitterFactory.java (1 usage found) 25 import com.google.common.base.Preconditions; PathOutputCommitter.java (1 usage found) 23 import com.google.common.base.Preconditions; org.apache.hadoop.mapreduce.v2.app.job.impl (1 usage found) TaskAttemptImpl.java (1 usage found) 149 import com.google.common.base.Preconditions; org.apache.hadoop.mapreduce.v2.app.webapp (1 usage found) AMWebServices.java (1 usage found) 81 import com.google.common.base.Preconditions; org.apache.hadoop.metrics2 (2 usages found) AbstractMetric.java (1 usage found) 27 import static com.google.common.base.Preconditions.checkNotNull; MetricsTag.java (1 usage found) 27 import static com.google.common.base.Preconditions.checkNotNull; org.apache.hadoop.metrics2.impl (5 usages found) MetricsRecordImpl.java (1 usage found) 23 import static com.google.common.base.Preconditions.*; MetricsSinkAdapter.java (1 usage found) 25 import static com.google.common.base.Preconditions.*; MetricsSourceAdapter.java (2 usages found) 32 import static com.google.common.base.Preconditions.*; 34 import com.google.common.base.Preconditions; MetricsSystemImpl.java (1 usage found) 36 import static com.google.common.base.Preconditions.*; org.apache.hadoop.metrics2.lib (7 usages found) MethodMetric.java (1 usage found) 23 import static com.google.common.base.Preconditions.*; MetricsInfoImpl.java (1 usage found) 26 import static com.google.common.base.Preconditions.checkNotNull; MetricsSourceBuilder.java (1 usage found) 25 import static com.google.common.base.Preconditions.*; MutableCounter.java (1 usage found) 21 import static com.google.common.base.Preconditions.*; MutableGauge.java (1 usage found) 21 import static com.google.common.base.Preconditions.*; MutableRates.java (1 usage found) 24 import static com.google.common.base.Preconditions.*; MutableRollingAverages.java (1 usage found) 42 import com.google.common.base.Preconditions; org.apache.hadoop.metrics2.source (1 usage found) JvmMetrics.java (1 usage found) 31 import com.google.common.base.Preconditions; org.apache.hadoop.metrics2.util (2 usages found) MBeans.java (1 usage found) 36 import com.google.common.base.Preconditions; SampleQuantiles.java (1 usage found) 31 import com.google.common.base.Preconditions; org.apache.hadoop.net (3 usages found) NetUtils.java (1 usage found) 59 import com.google.common.base.Preconditions; NetworkTopology.java (1 usage found) 21 import com.google.common.base.Preconditions; SocketInputWrapper.java (1 usage found) 30 import com.google.common.base.Preconditions; org.apache.hadoop.net.unix (1 usage found) DomainSocketWatcher.java (1 usage found) 39 import com.google.common.base.Preconditions; org.apache.hadoop.nfs (1 usage found) NfsExports.java (1 usage found) 35 import com.google.common.base.Preconditions; org.apache.hadoop.oncrpc (2 usages found) RpcReply.java (1 usage found) 23 import com.google.common.base.Preconditions; XDR.java (1 usage found) 27 import com.google.common.base.Preconditions; org.apache.hadoop.oncrpc.security (2 usages found) CredentialsNone.java (1 usage found) 22 import com.google.common.base.Preconditions; VerifierNone.java (1 usage found) 22 import com.google.common.base.Preconditions; org.apache.hadoop.registry.cli (1 usage found) RegistryCli.java (1 usage found) 30 import com.google.common.base.Preconditions; org.apache.hadoop.registry.client.api (2 usages found) DNSOperationsFactory.java (1 usage found) 21 import com.google.common.base.Preconditions; RegistryOperationsFactory.java (1 usage found) 21 import com.google.common.base.Preconditions; org.apache.hadoop.registry.client.binding (3 usages found) RegistryPathUtils.java (1 usage found) 21 import com.google.common.base.Preconditions; RegistryTypeUtils.java (1 usage found) 21 import com.google.common.base.Preconditions; RegistryUtils.java (1 usage found) 22 import com.google.common.base.Preconditions; org.apache.hadoop.registry.client.impl (1 usage found) FSRegistryOperationsService.java (1 usage found) 51 import com.google.common.base.Preconditions; org.apache.hadoop.registry.client.impl.zk (4 usages found) CuratorService.java (1 usage found) 22 import com.google.common.base.Preconditions; RegistryOperationsService.java (1 usage found) 21 import com.google.common.base.Preconditions; RegistrySecurity.java (1 usage found) 21 import com.google.common.base.Preconditions; ZKPathDumper.java (1 usage found) 22 import com.google.common.base.Preconditions; org.apache.hadoop.registry.client.types (2 usages found) Endpoint.java (1 usage found) 23 import com.google.common.base.Preconditions; ServiceRecord.java (1 usage found) 24 import com.google.common.base.Preconditions; org.apache.hadoop.registry.server.dns (1 usage found) RegistryDNSServer.java (1 usage found) 19 import com.google.common.base.Preconditions; org.apache.hadoop.registry.server.integration (1 usage found) SelectByYarnPersistence.java (1 usage found) 21 import com.google.common.base.Preconditions; org.apache.hadoop.registry.server.services (1 usage found) MicroZookeeperService.java (1 usage found) 21 import com.google.common.base.Preconditions; org.apache.hadoop.security.authentication.server (3 usages found) AuthenticationHandlerUtil.java (1 usage found) 23 import com.google.common.base.Preconditions; LdapAuthenticationHandler.java (1 usage found) 42 import com.google.common.base.Preconditions; MultiSchemeAuthenticationHandler.java (1 usage found) 33 import com.google.common.base.Preconditions; org.apache.hadoop.security.authorize (1 usage found) ProxyUsers.java (1 usage found) 21 import com.google.common.base.Preconditions; org.apache.hadoop.security.token.delegation (2 usages found) AbstractDelegationTokenSecretManager.java (1 usage found) 44 import com.google.common.base.Preconditions; ZKDelegationTokenSecretManager.java (1 usage found) 70 import com.google.common.base.Preconditions; org.apache.hadoop.security.token.delegation.web (2 usages found) DelegationTokenAuthenticatedURL.java (1 usage found) 20 import com.google.common.base.Preconditions; MultiSchemeDelegationTokenAuthenticationHandler.java (1 usage found) 39 import com.google.common.base.Preconditions; org.apache.hadoop.service.launcher (3 usages found) InterruptEscalator.java (1 usage found) 26 import com.google.common.base.Preconditions; IrqHandler.java (1 usage found) 23 import com.google.common.base.Preconditions; ServiceLauncher.java (1 usage found) 30 import com.google.common.base.Preconditions; org.apache.hadoop.test (2 usages found) LambdaTestUtils.java (1 usage found) 21 import com.google.common.base.Preconditions; MetricsAsserts.java (1 usage found) 21 import static com.google.common.base.Preconditions.*; org.apache.hadoop.tools (3 usages found) DistCp.java (1 usage found) 24 import com.google.common.base.Preconditions; DistCpOptions.java (1 usage found) 22 import com.google.common.base.Preconditions; OptionsParser.java (1 usage found) 36 import com.google.common.base.Preconditions; org.apache.hadoop.tools.dynamometer (2 usages found) AMOptions.java (1 usage found) 20 import com.google.common.base.Preconditions; Client.java (1 usage found) 22 import com.google.common.base.Preconditions; org.apache.hadoop.tools.mapred (1 usage found) DeletedDirTracker.java (1 usage found) 21 import com.google.common.base.Preconditions; org.apache.hadoop.util (13 usages found) ChunkedArrayList.java (1 usage found) 27 import com.google.common.base.Preconditions; CloseableReferenceCount.java (1 usage found) 24 import com.google.common.base.Preconditions; GcTimeMonitor.java (1 usage found) 21 import com.google.common.base.Preconditions; IdentityHashStore.java (1 usage found) 24 import com.google.common.base.Preconditions; IntrusiveCollection.java (1 usage found) 26 import com.google.common.base.Preconditions; JarFinder.java (1 usage found) 16 import com.google.common.base.Preconditions; JsonSerialization.java (1 usage found) 38 import com.google.common.base.Preconditions; JvmPauseMonitor.java (1 usage found) 32 import com.google.common.base.Preconditions; LightWeightCache.java (1 usage found) 28 import com.google.common.base.Preconditions; LimitInputStream.java (2 usages found) 22 import static com.google.common.base.Preconditions.checkArgument; 23 import static com.google.common.base.Preconditions.checkNotNull; ServletUtil.java (1 usage found) 29 import com.google.common.base.Preconditions; StringUtils.java (1 usage found) 45 import com.google.common.base.Preconditions; org.apache.hadoop.util.curator (2 usages found) ChildReaper.java (1 usage found) 21 import com.google.common.base.Preconditions; ZKCuratorManager.java (1 usage found) 42 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.api.protocolrecords.impl.pb (8 usages found) GetPluginInfoRequestPBImpl.java (1 usage found) 20 import com.google.common.base.Preconditions; GetPluginInfoResponsePBImpl.java (1 usage found) 20 import com.google.common.base.Preconditions; NodePublishVolumeRequestPBImpl.java (1 usage found) 20 import com.google.common.base.Preconditions; NodePublishVolumeResponsePBImpl.java (1 usage found) 20 import com.google.common.base.Preconditions; NodeUnpublishVolumeRequestPBImpl.java (1 usage found) 20 import com.google.common.base.Preconditions; NodeUnpublishVolumeResponsePBImpl.java (1 usage found) 20 import com.google.common.base.Preconditions; ValidateVolumeCapabilitiesRequestPBImpl.java (1 usage found) 20 import com.google.common.base.Preconditions; ValidateVolumeCapabilitiesResponsePBImpl.java (1 usage found) 20 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.api.records.impl.pb (6 usages found) ApplicationAttemptIdPBImpl.java (1 usage found) 28 import com.google.common.base.Preconditions; ApplicationIdPBImpl.java (1 usage found) 27 import com.google.common.base.Preconditions; ContainerIdPBImpl.java (1 usage found) 28 import com.google.common.base.Preconditions; NodeIdPBImpl.java (1 usage found) 27 import com.google.common.base.Preconditions; ReservationIdPBImpl.java (1 usage found) 26 import com.google.common.base.Preconditions; ResourceOptionPBImpl.java (1 usage found) 27 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.client (2 usages found) ClientRMProxy.java (1 usage found) 45 import com.google.common.base.Preconditions; ServerProxy.java (1 usage found) 44 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.client.api (1 usage found) AMRMClient.java (1 usage found) 51 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.client.api.async (1 usage found) AMRMClientAsync.java (1 usage found) 59 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.client.api.impl (2 usages found) AMRMClientImpl.java (1 usage found) 84 import com.google.common.base.Preconditions; TimelineConnector.java (1 usage found) 57 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.client.cli (2 usages found) NodeAttributesCLI.java (1 usage found) 21 import com.google.common.base.Preconditions; RMAdminCLI.java (1 usage found) 84 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.logaggregation.filecontroller (1 usage found) LogAggregationFileControllerFactory.java (1 usage found) 22 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.server (1 usage found) AMHeartbeatRequestHandler.java (1 usage found) 36 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.server.api (1 usage found) ServerRMProxy.java (1 usage found) 29 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.server.applicationhistoryservice (1 usage found) ApplicationHistoryClientService.java (1 usage found) 61 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.server.federation.failover (1 usage found) FederationRMFailoverProxyProvider.java (1 usage found) 46 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.server.federation.policies.amrmproxy (1 usage found) LocalityMulticastAMRMProxyPolicy.java (1 usage found) 54 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.server.federation.store.records.impl.pb (1 usage found) SubClusterInfoPBImpl.java (1 usage found) 30 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.server.nodemanager.amrmproxy (3 usages found) AbstractRequestInterceptor.java (1 usage found) 24 import com.google.common.base.Preconditions; AMRMProxyService.java (1 usage found) 84 import com.google.common.base.Preconditions; FederationInterceptor.java (1 usage found) 99 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.server.nodemanager.containermanager (1 usage found) AuxServices.java (1 usage found) 83 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.server.nodemanager.containermanager.container (1 usage found) SlidingWindowRetryPolicy.java (1 usage found) 20 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher (1 usage found) ContainerCleanup.java (1 usage found) 21 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.docker (1 usage found) DockerImagesCommand.java (1 usage found) 20 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer (1 usage found) ContainerLocalizer.java (1 usage found) 22 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.server.nodemanager.containermanager.monitor (1 usage found) ContainersMonitorImpl.java (1 usage found) 22 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin.fpga (1 usage found) FpgaDevice.java (1 usage found) 23 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.server.resourcemanager.scheduler (2 usages found) ClusterNodeTracker.java (1 usage found) 22 import com.google.common.base.Preconditions; SchedulerApplicationAttempt.java (1 usage found) 94 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity (1 usage found) CapacityScheduler.java (1 usage found) 166 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair (1 usage found) FairScheduler.java (1 usage found) 22 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.server.timeline (2 usages found) LeveldbTimelineStore.java (1 usage found) 22 import com.google.common.base.Preconditions; RollingLevelDBTimelineStore.java (1 usage found) 22 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.server.timelineservice.collector (1 usage found) AppLevelTimelineCollector.java (1 usage found) 33 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.server.timelineservice.storage.reader (6 usages found) ApplicationEntityReader.java (1 usage found) 61 import com.google.common.base.Preconditions; EntityTypeReader.java (1 usage found) 20 import com.google.common.base.Preconditions; FlowActivityEntityReader.java (1 usage found) 49 import com.google.common.base.Preconditions; FlowRunEntityReader.java (1 usage found) 60 import com.google.common.base.Preconditions; GenericEntityReader.java (1 usage found) 66 import com.google.common.base.Preconditions; SubApplicationEntityReader.java (1 usage found) 59 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.server.uam (1 usage found) UnmanagedApplicationManager.java (1 usage found) 72 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.service (2 usages found) ServiceContext.java (1 usage found) 21 import com.google.common.base.Preconditions; ServiceManager.java (1 usage found) 22 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.service.client (1 usage found) ApiServiceClient.java (1 usage found) 33 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.service.component (2 usages found) Component.java (1 usage found) 22 import com.google.common.base.Preconditions; ComponentEvent.java (1 usage found) 21 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.service.component.instance (1 usage found) ComponentInstanceEvent.java (1 usage found) 21 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.service.containerlaunch (4 usages found) AbstractLauncher.java (1 usage found) 22 import com.google.common.base.Preconditions; CommandLineBuilder.java (1 usage found) 21 import com.google.common.base.Preconditions; ContainerLaunchService.java (1 usage found) 21 import com.google.common.base.Preconditions; JavaCommandLineBuilder.java (1 usage found) 22 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.service.provider (1 usage found) ProviderService.java (1 usage found) 21 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.service.registry (1 usage found) YarnRegistryViewForProviders.java (1 usage found) 21 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.service.utils (6 usages found) ClientRegistryBinder.java (1 usage found) 21 import com.google.common.base.Preconditions; ConfigHelper.java (1 usage found) 21 import com.google.common.base.Preconditions; CoreFileSystem.java (1 usage found) 21 import com.google.common.base.Preconditions; PublishedConfigurationOutputter.java (1 usage found) 22 import com.google.common.base.Preconditions; ServiceApiUtil.java (1 usage found) 23 import com.google.common.base.Preconditions; ServiceUtils.java (1 usage found) 21 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.util (1 usage found) BoundedAppender.java (1 usage found) 22 import com.google.common.base.Preconditions; org.apache.hadoop.yarn.webapp (5 usages found) Dispatcher.java (1 usage found) 21 import static com.google.common.base.Preconditions.checkState; Router.java (2 usages found) 21 import static com.google.common.base.Preconditions.checkNotNull; 22 import static com.google.common.base.Preconditions.checkState; WebApp.java (1 usage found) 21 import static com.google.common.base.Preconditions.checkNotNull; WebApps.java (1 usage found) 21 import static com.google.common.base.Preconditions.checkNotNull; org.apache.hadoop.yarn.webapp.hamlet (1 usage found) HamletImpl.java (1 usage found) 22 import static com.google.common.base.Preconditions.*; org.apache.hadoop.yarn.webapp.hamlet2 (1 usage found) HamletImpl.java (1 usage found) 22 import static com.google.common.base.Preconditions.*;
Attachments
Issue Links
- requires
-
HADOOP-17123 remove guava Preconditions from Hadoop-common-project modules
-
- Resolved
-
-
HADOOP-17126 implement non-guava Precondition checkNotNull
-
- Resolved
-
-
HADOOP-17970 unguava: remove Preconditions from hdfs-projects module
-
- Resolved
-