From 8c2dd12adbc3b30c079554c6073663d0649d055d Mon Sep 17 00:00:00 2001 From: Duo Zhang Date: Thu, 6 Oct 2022 18:17:34 +0800 Subject: [PATCH] HBASE-27401 Clean up current broken 'n's in our javadoc (#4812) Signed-off-by: Andrew Purtell (cherry picked from commit 63cdd026f08cdde6ac0fde1342ffd050e8e02441) Conflicts: hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/impl/BackupManager.java hbase-client/src/main/java/org/apache/hadoop/hbase/HRegionLocation.java hbase-client/src/main/java/org/apache/hadoop/hbase/client/Append.java hbase-client/src/main/java/org/apache/hadoop/hbase/client/Mutation.java hbase-client/src/main/java/org/apache/hadoop/hbase/client/Scan.java hbase-client/src/main/java/org/apache/hadoop/hbase/filter/SingleColumnValueExcludeFilter.java hbase-client/src/main/java/org/apache/hadoop/hbase/filter/SingleColumnValueFilter.java hbase-client/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityClient.java hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/RequestConverter.java hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java hbase-it/src/test/java/org/apache/hadoop/hbase/test/IntegrationTestReplication.java hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestRemoteTable.java hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManager.java hbase-server/src/main/java/org/apache/hadoop/hbase/HBaseServerBase.java hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/MasterObserver.java hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobUtils.java hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.java hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/Region.java hbase-server/src/main/java/org/apache/hadoop/hbase/replication/HBaseReplicationEndpoint.java hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/MetricsSource.java hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtil.java hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java hbase-server/src/test/java/org/apache/hadoop/hbase/tool/TestBulkLoadHFilesSplitRecovery.java hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftUtilities.java --- ...anOutOneBlockAsyncDFSOutputSaslHelper.java | 2 +- .../hadoop/hbase/AsyncMetaTableAccessor.java | 34 ++-- .../org/apache/hadoop/hbase/ClusterId.java | 7 +- .../apache/hadoop/hbase/ClusterStatus.java | 2 +- .../hadoop/hbase/HColumnDescriptor.java | 10 +- .../org/apache/hadoop/hbase/HRegionInfo.java | 96 +++++----- .../apache/hadoop/hbase/HRegionLocation.java | 6 +- .../apache/hadoop/hbase/HTableDescriptor.java | 12 +- .../hadoop/hbase/MetaTableAccessor.java | 2 +- .../NotAllMetaRegionsOnlineException.java | 3 +- .../org/apache/hadoop/hbase/ServerLoad.java | 2 +- .../apache/hadoop/hbase/ServerMetrics.java | 2 +- .../org/apache/hadoop/hbase/client/Admin.java | 27 +-- .../apache/hadoop/hbase/client/Append.java | 19 +- .../hadoop/hbase/client/AsyncAdmin.java | 23 +-- .../hbase/client/AsyncConnectionImpl.java | 2 +- .../hadoop/hbase/client/AsyncProcess.java | 2 +- .../hadoop/hbase/client/ClientScanner.java | 2 +- .../hbase/client/ClusterConnection.java | 6 +- .../hbase/client/ColumnFamilyDescriptor.java | 2 +- .../client/ColumnFamilyDescriptorBuilder.java | 17 +- .../client/ConnectionImplementation.java | 2 +- .../apache/hadoop/hbase/client/Delete.java | 13 +- .../org/apache/hadoop/hbase/client/Get.java | 19 +- .../hadoop/hbase/client/HBaseAdmin.java | 6 +- .../hbase/client/HTableMultiplexer.java | 7 +- .../client/ImmutableHColumnDescriptor.java | 2 +- .../hbase/client/ImmutableHRegionInfo.java | 2 +- .../client/ImmutableHTableDescriptor.java | 2 +- .../apache/hadoop/hbase/client/Increment.java | 10 +- .../hadoop/hbase/client/MasterCallable.java | 2 +- .../apache/hadoop/hbase/client/MetaCache.java | 6 +- .../hadoop/hbase/client/MultiAction.java | 5 +- .../hadoop/hbase/client/MultiResponse.java | 6 +- .../hbase/client/MutableRegionInfo.java | 7 +- .../apache/hadoop/hbase/client/Mutation.java | 46 ++--- .../apache/hadoop/hbase/client/Operation.java | 2 +- .../hbase/client/OperationWithAttributes.java | 2 +- .../client/PreemptiveFastFailInterceptor.java | 9 +- .../org/apache/hadoop/hbase/client/Put.java | 13 +- .../org/apache/hadoop/hbase/client/Query.java | 9 +- .../client/RegionAdminServiceCallable.java | 2 +- .../hbase/client/RegionInfoDisplay.java | 10 +- .../hbase/client/RegionReplicaUtil.java | 5 +- .../hbase/client/RegionServerCallable.java | 2 +- .../apache/hadoop/hbase/client/Result.java | 17 +- .../hadoop/hbase/client/ResultScanner.java | 2 +- .../client/RetryingCallerInterceptor.java | 8 +- .../RetryingCallerInterceptorContext.java | 10 +- .../hadoop/hbase/client/RowMutations.java | 4 +- .../org/apache/hadoop/hbase/client/Scan.java | 105 ++++++----- .../hbase/client/SecureBulkLoadClient.java | 8 +- .../org/apache/hadoop/hbase/client/Table.java | 19 +- .../hadoop/hbase/client/TableDescriptor.java | 2 +- .../hbase/client/TableDescriptorBuilder.java | 13 +- .../hadoop/hbase/client/TableState.java | 10 +- .../hbase/client/UnmodifyableHRegionInfo.java | 2 +- .../client/backoff/ServerStatistics.java | 2 +- .../client/metrics/ServerSideScanMetrics.java | 18 +- .../client/replication/ReplicationAdmin.java | 17 +- .../hbase/coprocessor/ColumnInterpreter.java | 43 ++--- .../coprocessor/CoprocessorException.java | 2 +- .../exceptions/ClientExceptionsUtil.java | 2 +- .../FailedSanityCheckException.java | 6 +- .../hadoop/hbase/filter/BinaryComparator.java | 8 +- .../hbase/filter/BinaryPrefixComparator.java | 8 +- .../hadoop/hbase/filter/BitComparator.java | 7 +- .../hbase/filter/ColumnPaginationFilter.java | 13 +- .../hbase/filter/ColumnRangeFilter.java | 4 +- .../hbase/filter/ColumnValueFilter.java | 4 +- .../hadoop/hbase/filter/CompareFilter.java | 7 +- .../hbase/filter/DependentColumnFilter.java | 8 +- .../hadoop/hbase/filter/FamilyFilter.java | 3 +- .../apache/hadoop/hbase/filter/Filter.java | 9 +- .../hadoop/hbase/filter/FilterBase.java | 6 +- .../hadoop/hbase/filter/FilterList.java | 13 +- .../hadoop/hbase/filter/FilterListBase.java | 2 +- ...FirstKeyValueMatchingQualifiersFilter.java | 3 +- .../hadoop/hbase/filter/FuzzyRowFilter.java | 11 +- .../hbase/filter/InclusiveStopFilter.java | 4 +- .../hadoop/hbase/filter/KeyOnlyFilter.java | 3 +- .../hadoop/hbase/filter/LongComparator.java | 4 +- .../filter/MultipleColumnPrefixFilter.java | 4 +- .../hadoop/hbase/filter/NullComparator.java | 8 +- .../hadoop/hbase/filter/PageFilter.java | 3 +- .../hadoop/hbase/filter/RandomRowFilter.java | 8 +- .../hbase/filter/RegexStringComparator.java | 8 +- .../apache/hadoop/hbase/filter/RowFilter.java | 3 +- .../SingleColumnValueExcludeFilter.java | 12 +- .../hbase/filter/SingleColumnValueFilter.java | 13 +- .../hadoop/hbase/filter/SkipFilter.java | 3 +- .../hbase/filter/SubstringComparator.java | 8 +- .../hadoop/hbase/filter/TimestampsFilter.java | 2 +- .../hadoop/hbase/filter/ValueFilter.java | 3 +- .../hadoop/hbase/ipc/CellBlockBuilder.java | 7 +- .../hadoop/hbase/protobuf/ProtobufUtil.java | 60 ++++--- .../hbase/regionserver/LeaseException.java | 3 +- .../wal/FailedLogCloseException.java | 3 +- .../FailedSyncBeforeLogCloseException.java | 3 +- .../security/AbstractHBaseSaslRpcClient.java | 4 +- .../hadoop/hbase/security/EncryptionUtil.java | 4 +- .../hbase/security/HBaseSaslRpcClient.java | 6 +- .../security/access/AccessControlClient.java | 37 ++-- .../security/access/AccessControlUtil.java | 39 ++-- .../security/visibility/VisibilityClient.java | 44 ++--- .../hbase/shaded/protobuf/ProtobufUtil.java | 144 +++++++-------- .../shaded/protobuf/RequestConverter.java | 108 ++++++++---- .../shaded/protobuf/ResponseConverter.java | 22 +-- .../apache/hadoop/hbase/util/Writables.java | 4 +- .../hadoop/hbase/zookeeper/ZNodePaths.java | 4 +- .../hbase/client/TestClientNoCluster.java | 26 ++- .../hbase/client/TestDeleteTimeStamp.java | 2 +- .../hbase/client/TestSnapshotFromAdmin.java | 2 +- .../org/apache/hadoop/hbase/AuthUtil.java | 6 +- .../hbase/ByteBufferKeyOnlyKeyValue.java | 2 +- .../org/apache/hadoop/hbase/CellBuilder.java | 2 +- .../hadoop/hbase/CellComparatorImpl.java | 5 +- .../org/apache/hadoop/hbase/CellUtil.java | 115 ++++++------ .../hadoop/hbase/CompoundConfiguration.java | 2 +- .../org/apache/hadoop/hbase/ExtendedCell.java | 2 +- .../hadoop/hbase/HBaseConfiguration.java | 2 +- .../org/apache/hadoop/hbase/KeyValue.java | 114 ++++++------ .../apache/hadoop/hbase/KeyValueTestUtil.java | 4 +- .../org/apache/hadoop/hbase/KeyValueUtil.java | 63 +++---- .../apache/hadoop/hbase/PrivateCellUtil.java | 92 +++++----- .../java/org/apache/hadoop/hbase/Tag.java | 2 +- .../hadoop/hbase/codec/BaseDecoder.java | 2 +- .../apache/hadoop/hbase/codec/CellCodec.java | 2 +- .../hadoop/hbase/codec/CellCodecWithTags.java | 2 +- .../hbase/filter/ByteArrayComparable.java | 8 +- .../hbase/io/ByteBufferOutputStream.java | 2 +- .../io/ByteBufferWriterOutputStream.java | 4 +- .../hadoop/hbase/io/CellOutputStream.java | 4 +- .../hbase/io/ImmutableBytesWritable.java | 10 +- .../hbase/io/TagCompressionContext.java | 8 +- .../apache/hadoop/hbase/io/crypto/Cipher.java | 8 +- .../hadoop/hbase/io/crypto/Decryptor.java | 6 +- .../hadoop/hbase/io/crypto/Encryption.java | 22 +-- .../hadoop/hbase/io/crypto/Encryptor.java | 6 +- .../hadoop/hbase/io/crypto/KeyProvider.java | 6 +- .../hbase/io/encoding/DataBlockEncoder.java | 9 +- .../hbase/io/encoding/DataBlockEncoding.java | 2 +- .../hbase/io/encoding/EncodedDataBlock.java | 4 +- .../encoding/HFileBlockDecodingContext.java | 6 +- .../hadoopbackport/ThrottledInputStream.java | 3 +- .../hadoop/hbase/io/util/Dictionary.java | 4 +- .../hadoop/hbase/io/util/StreamUtils.java | 4 +- .../org/apache/hadoop/hbase/nio/ByteBuff.java | 61 ++++--- .../hadoop/hbase/nio/MultiByteBuff.java | 47 ++--- .../apache/hadoop/hbase/security/User.java | 5 +- .../hadoop/hbase/security/UserProvider.java | 2 +- .../util/AbstractPositionedByteRange.java | 4 +- .../hadoop/hbase/util/ByteBufferUtils.java | 34 ++-- .../apache/hadoop/hbase/util/ByteRange.java | 11 +- .../org/apache/hadoop/hbase/util/Bytes.java | 31 ++-- .../hadoop/hbase/util/ChecksumType.java | 8 +- .../org/apache/hadoop/hbase/util/Classes.java | 7 +- .../hadoop/hbase/util/CommonFSUtils.java | 2 +- .../hbase/util/CoprocessorClassLoader.java | 2 +- .../org/apache/hadoop/hbase/util/HashKey.java | 4 +- .../apache/hadoop/hbase/util/KeyLocker.java | 2 +- .../org/apache/hadoop/hbase/util/MD5Hash.java | 8 +- .../org/apache/hadoop/hbase/util/Pair.java | 4 +- .../hadoop/hbase/util/PairOfSameType.java | 4 +- .../hbase/util/PositionedByteRange.java | 4 +- .../hadoop/hbase/util/PrettyPrinter.java | 7 +- .../hbase/util/SimpleMutableByteRange.java | 8 +- .../SimplePositionedMutableByteRange.java | 14 +- .../org/apache/hadoop/hbase/util/Threads.java | 2 +- .../hadoop/hbase/util/TimeMeasurable.java | 2 +- .../hadoop/hbase/util/UnsafeAccess.java | 4 +- .../hbase/util/WindowMovingAverage.java | 2 +- .../hadoop/hbase/zookeeper/ZKConfig.java | 8 +- .../hadoop/hbase/TestHBaseConfiguration.java | 10 +- .../MetricsRegionServerSource.java | 2 +- .../hadoop/hbase/rest/MetricsRESTSource.java | 2 +- .../thrift/MetricsThriftServerSource.java | 2 +- .../hadoop/metrics2/MetricHistogram.java | 2 +- .../metrics2/util/MetricSampleQuantiles.java | 4 +- .../apache/hadoop/hbase/http/HttpServer.java | 8 +- .../http/ProxyUserAuthenticationFilter.java | 2 +- .../hadoop/hbase/http/jmx/JMXJsonServlet.java | 4 +- .../hadoop/hbase/util/JSONMetricUtil.java | 2 +- .../hbase/http/TestHttpServerLifecycle.java | 2 +- .../hadoop/hbase/DistributedHBaseCluster.java | 2 +- .../mapreduce/IntegrationTestBulkLoad.java | 2 +- .../test/IntegrationTestBigLinkedList.java | 18 +- .../test/IntegrationTestReplication.java | 6 +- .../apache/hadoop/hbase/mapred/Driver.java | 3 - .../hadoop/hbase/mapred/GroupingTableMap.java | 10 +- .../hadoop/hbase/mapred/IdentityTableMap.java | 2 +- .../hbase/mapred/IdentityTableReduce.java | 2 +- .../mapred/MultiTableSnapshotInputFormat.java | 1 - .../hadoop/hbase/mapred/RowCounter.java | 7 +- .../hbase/mapred/TableInputFormatBase.java | 8 +- .../hbase/mapred/TableOutputFormat.java | 3 +- .../hbase/mapred/TableRecordReader.java | 14 +- .../hbase/mapred/TableRecordReaderImpl.java | 2 - .../hadoop/hbase/mapred/TableSplit.java | 2 +- .../hadoop/hbase/mapreduce/CellCreator.java | 8 +- .../hadoop/hbase/mapreduce/HashTable.java | 2 +- .../hadoop/hbase/mapreduce/ImportTsv.java | 6 +- .../MultiTableHFileOutputFormat.java | 2 +- .../mapreduce/MultiTableOutputFormat.java | 12 +- .../MultiTableSnapshotInputFormatImpl.java | 8 +- .../hadoop/hbase/mapreduce/RowCounter.java | 2 +- .../hbase/mapreduce/TableInputFormatBase.java | 7 +- .../hbase/mapreduce/TableMapReduceUtil.java | 4 +- .../hbase/mapreduce/TableOutputFormat.java | 3 +- .../hbase/mapreduce/TableRecordReader.java | 3 +- .../hbase/mapreduce/TextSortReducer.java | 4 +- .../hbase/mapreduce/TsvImporterMapper.java | 4 +- .../mapreduce/TsvImporterTextMapper.java | 4 +- .../hadoop/hbase/PerformanceEvaluation.java | 13 +- .../hbase/mapred/TestTableInputFormat.java | 18 +- .../MultiTableInputFormatTestBase.java | 2 +- .../TestCellBasedHFileOutputFormat2.java | 8 +- .../mapreduce/TestCellBasedImportExport2.java | 16 +- .../mapreduce/TestCellBasedWALPlayer2.java | 2 +- .../hadoop/hbase/mapreduce/TestCopyTable.java | 2 +- .../mapreduce/TestHFileOutputFormat2.java | 8 +- .../hbase/mapreduce/TestImportExport.java | 16 +- .../TestImportTSVWithOperationAttributes.java | 8 +- .../TestImportTSVWithVisibilityLabels.java | 6 +- .../hadoop/hbase/mapreduce/TestImportTsv.java | 2 +- .../TestMultiTableInputFormatBase.java | 2 +- .../TestMultithreadedTableMapper.java | 7 +- .../hbase/mapreduce/TestRowCounter.java | 26 +-- .../hbase/mapreduce/TestTableInputFormat.java | 25 ++- .../hbase/mapreduce/TestTableMapReduce.java | 4 +- .../mapreduce/TestTableMapReduceBase.java | 5 +- .../store/wal/ProcedureWALPrettyPrinter.java | 3 +- .../hbase/replication/ReplicationPeers.java | 2 +- .../hbase/replication/ReplicationTracker.java | 2 +- .../hadoop/hbase/rest/ExistsResource.java | 2 +- .../hadoop/hbase/rest/MultiRowResource.java | 2 +- .../rest/NamespacesInstanceResource.java | 4 +- .../hadoop/hbase/rest/NamespacesResource.java | 2 +- .../hbase/rest/ProtobufMessageHandler.java | 2 +- .../apache/hadoop/hbase/rest/RESTServlet.java | 2 +- .../hadoop/hbase/rest/RegionsResource.java | 2 +- .../hadoop/hbase/rest/RootResource.java | 2 +- .../apache/hadoop/hbase/rest/RowResource.java | 2 +- .../hadoop/hbase/rest/ScannerResource.java | 2 +- .../hadoop/hbase/rest/SchemaResource.java | 2 +- .../rest/StorageClusterStatusResource.java | 2 +- .../rest/StorageClusterVersionResource.java | 2 +- .../hadoop/hbase/rest/TableResource.java | 2 +- .../hadoop/hbase/rest/VersionResource.java | 2 +- .../hadoop/hbase/rest/client/Client.java | 42 ++--- .../rest/filter/RestCsrfPreventionFilter.java | 2 +- .../hadoop/hbase/rest/model/CellModel.java | 10 +- .../rest/model/NamespacesInstanceModel.java | 4 +- .../hbase/rest/model/NamespacesModel.java | 2 +- .../hadoop/hbase/rest/model/ScannerModel.java | 6 +- .../hbase/rest/model/TableInfoModel.java | 2 +- .../hadoop/hbase/rest/model/TableModel.java | 2 +- .../hadoop/hbase/rest/client/RemoteAdmin.java | 16 +- .../hbase/rest/client/TestRemoteTable.java | 41 +++++ .../org/apache/hadoop/hbase/HealthReport.java | 4 +- .../hadoop/hbase/LocalHBaseCluster.java | 14 +- .../hadoop/hbase/RegionStateListener.java | 4 +- .../org/apache/hadoop/hbase/SplitLogTask.java | 4 +- .../hadoop/hbase/backup/HFileArchiver.java | 7 +- .../hadoop/hbase/client/VersionInfoUtil.java | 3 +- .../hadoop/hbase/constraint/Constraints.java | 85 +++++---- .../SplitLogManagerCoordination.java | 2 +- .../ZKSplitLogManagerCoordination.java | 4 +- .../ZkSplitLogWorkerCoordination.java | 4 +- .../hbase/coprocessor/CoprocessorHost.java | 2 +- .../hbase/coprocessor/MasterObserver.java | 49 +++--- .../hbase/coprocessor/RegionObserver.java | 18 +- .../hbase/errorhandling/ForeignException.java | 8 +- .../errorhandling/ForeignExceptionSnare.java | 2 +- .../hadoop/hbase/executor/EventHandler.java | 2 +- .../hbase/executor/ExecutorService.java | 2 +- .../favored/FavoredNodeAssignmentHelper.java | 14 +- .../hbase/favored/FavoredNodesPlan.java | 2 +- .../org/apache/hadoop/hbase/io/Reference.java | 21 +-- .../hadoop/hbase/io/hfile/BlockCache.java | 2 +- .../hadoop/hbase/io/hfile/BlockCacheUtil.java | 12 +- .../hbase/io/hfile/CacheableDeserializer.java | 2 +- .../hbase/io/hfile/CompoundBloomFilter.java | 2 +- .../io/hfile/CompoundBloomFilterWriter.java | 6 +- .../hbase/io/hfile/HFileBlockIndex.java | 65 +++---- .../hbase/io/hfile/HFileDataBlockEncoder.java | 6 +- .../hbase/io/hfile/HFileReaderImpl.java | 13 +- .../hadoop/hbase/io/hfile/HFileScanner.java | 21 +-- .../hbase/io/hfile/HFileWriterImpl.java | 6 +- .../hbase/io/hfile/InlineBlockWriter.java | 9 +- .../io/hfile/bucket/BucketAllocator.java | 5 +- .../hbase/io/hfile/bucket/BucketCache.java | 5 +- .../io/hfile/bucket/ByteBufferIOEngine.java | 6 +- .../hbase/io/hfile/bucket/FileIOEngine.java | 10 +- .../io/hfile/bucket/FileMmapIOEngine.java | 6 +- .../hbase/io/hfile/bucket/IOEngine.java | 6 +- .../hadoop/hbase/io/util/MemorySizeUtil.java | 9 +- .../hadoop/hbase/ipc/PriorityFunction.java | 6 +- .../org/apache/hadoop/hbase/ipc/RpcCall.java | 2 +- .../hadoop/hbase/ipc/RpcCallContext.java | 2 +- .../hadoop/hbase/ipc/RpcSchedulerContext.java | 3 +- .../apache/hadoop/hbase/ipc/RpcServer.java | 13 +- .../hadoop/hbase/ipc/RpcServerInterface.java | 2 +- .../hadoop/hbase/ipc/ServerRpcConnection.java | 10 +- .../hadoop/hbase/ipc/SimpleRpcScheduler.java | 6 +- .../hadoop/hbase/ipc/SimpleRpcServer.java | 12 +- .../hbase/ipc/SimpleRpcServerResponder.java | 6 +- .../hbase/ipc/SimpleServerRpcConnection.java | 2 +- .../master/AssignmentVerificationReport.java | 5 +- .../hbase/master/DrainingServerTracker.java | 2 +- .../apache/hadoop/hbase/master/HMaster.java | 3 +- .../hadoop/hbase/master/LoadBalancer.java | 20 ++- .../hbase/master/MasterCoprocessorHost.java | 24 +-- .../hadoop/hbase/master/MasterFileSystem.java | 10 +- .../hbase/master/MasterRpcServices.java | 10 +- .../hadoop/hbase/master/MasterServices.java | 42 ++--- .../hadoop/hbase/master/MasterWalManager.java | 7 +- .../master/MetricsAssignmentManager.java | 8 +- .../master/RegionPlacementMaintainer.java | 17 +- .../hadoop/hbase/master/ServerManager.java | 22 ++- .../SnapshotOfRegionAssignmentFromMeta.java | 2 +- .../hadoop/hbase/master/SplitLogManager.java | 8 +- .../hbase/master/TableNamespaceManager.java | 2 +- .../MergeTableRegionsProcedure.java | 2 +- .../master/balancer/LoadBalancerFactory.java | 3 +- .../master/balancer/RegionLocationFinder.java | 2 +- .../hbase/master/cleaner/CleanerChore.java | 3 - .../procedure/CloneSnapshotProcedure.java | 10 +- .../procedure/CreateNamespaceProcedure.java | 12 +- .../procedure/DeleteNamespaceProcedure.java | 20 +-- .../procedure/EnableTableProcedure.java | 12 +- .../procedure/ModifyNamespaceProcedure.java | 8 +- .../procedure/ModifyTableProcedure.java | 2 +- .../procedure/RestoreSnapshotProcedure.java | 10 +- .../master/snapshot/SnapshotManager.java | 29 +-- .../hbase/mob/DefaultMobStoreFlusher.java | 2 +- .../org/apache/hadoop/hbase/mob/MobFile.java | 12 +- .../apache/hadoop/hbase/mob/MobFileCache.java | 2 +- .../apache/hadoop/hbase/mob/MobFileName.java | 31 ++-- .../org/apache/hadoop/hbase/mob/MobUtils.java | 10 +- .../hbase/mob/compactions/MobCompactor.java | 6 +- .../hbase/monitoring/ThreadMonitoring.java | 2 +- .../namespace/NamespaceStateManager.java | 4 +- .../procedure/MasterProcedureManager.java | 8 +- .../hadoop/hbase/procedure/Procedure.java | 14 +- .../hbase/procedure/ProcedureCoordinator.java | 13 +- .../procedure/ProcedureCoordinatorRpcs.java | 4 +- .../hbase/procedure/ProcedureMember.java | 12 +- .../RegionServerProcedureManager.java | 4 +- .../hadoop/hbase/procedure/Subprocedure.java | 12 +- .../hbase/procedure/ZKProcedureUtil.java | 2 +- ...egionServerFlushTableProcedureManager.java | 11 +- .../protobuf/ReplicationProtbufUtil.java | 4 +- .../hbase/regionserver/AbstractMemStore.java | 2 +- .../AnnotationReadingPriorityFunction.java | 15 +- .../hadoop/hbase/regionserver/CellSink.java | 2 +- .../hbase/regionserver/ChunkCreator.java | 2 +- .../regionserver/CompactingMemStore.java | 2 +- .../regionserver/FavoredNodesForRegion.java | 6 +- .../hbase/regionserver/FlushRequester.java | 8 +- .../hadoop/hbase/regionserver/HMobStore.java | 16 +- .../hadoop/hbase/regionserver/HRegion.java | 84 ++++----- .../hbase/regionserver/HRegionFileSystem.java | 51 +++--- .../hbase/regionserver/HRegionServer.java | 12 +- .../hadoop/hbase/regionserver/HStoreFile.java | 9 +- .../hbase/regionserver/HeapMemoryTuner.java | 4 +- .../hbase/regionserver/InternalScan.java | 2 +- .../hbase/regionserver/InternalScanner.java | 6 +- .../hbase/regionserver/KeyValueHeap.java | 14 +- .../hbase/regionserver/KeyValueScanner.java | 2 +- .../hadoop/hbase/regionserver/MemStore.java | 17 +- .../hbase/regionserver/MemStoreFlusher.java | 20 +-- .../MiniBatchOperationInProgress.java | 16 +- .../MultiVersionConcurrencyControl.java | 4 +- .../regionserver/MutableOnlineRegions.java | 2 +- .../hbase/regionserver/OnlineRegions.java | 8 +- .../hbase/regionserver/OperationStatus.java | 9 +- .../hbase/regionserver/RSRpcServices.java | 32 ++-- .../hadoop/hbase/regionserver/Region.java | 33 ++-- .../regionserver/RegionCoprocessorHost.java | 36 ++-- .../hbase/regionserver/RegionScanner.java | 2 +- .../hbase/regionserver/RegionSplitPolicy.java | 3 +- .../regionserver/ReplicationSinkService.java | 1 - .../regionserver/ReversedKeyValueHeap.java | 8 +- .../ReversedRegionScannerImpl.java | 3 +- .../regionserver/ReversedStoreScanner.java | 5 +- .../hbase/regionserver/RowProcessor.java | 4 +- .../hadoop/hbase/regionserver/ScanInfo.java | 4 +- .../hbase/regionserver/ScannerContext.java | 32 +--- .../regionserver/SecureBulkLoadManager.java | 4 +- .../hbase/regionserver/SegmentFactory.java | 2 +- .../hbase/regionserver/ShipperListener.java | 2 +- .../hbase/regionserver/ShutdownHook.java | 6 +- .../hadoop/hbase/regionserver/Store.java | 2 +- .../hbase/regionserver/StoreFileInfo.java | 4 +- .../hbase/regionserver/StoreFileManager.java | 4 +- .../hbase/regionserver/StoreFileReader.java | 6 +- .../hbase/regionserver/StoreFileScanner.java | 4 +- .../hbase/regionserver/StoreFlushContext.java | 6 +- .../hbase/regionserver/StoreFlusher.java | 4 +- .../hbase/regionserver/StoreScanner.java | 19 +- .../hbase/regionserver/TimeRangeTracker.java | 2 +- .../compactions/CompactionProgress.java | 2 +- .../compactions/DefaultCompactor.java | 2 +- .../ExploringCompactionPolicy.java | 8 +- .../compactions/SortedCompactionPolicy.java | 4 +- .../querymatcher/ColumnTracker.java | 7 +- .../querymatcher/ScanDeleteTracker.java | 2 +- .../querymatcher/ScanQueryMatcher.java | 6 +- .../ScanWildcardColumnTracker.java | 2 +- .../snapshot/RegionServerSnapshotManager.java | 16 +- .../hbase/regionserver/wal/AbstractFSWAL.java | 4 +- .../regionserver/wal/ProtobufLogReader.java | 2 +- .../wal/SequenceIdAccounting.java | 7 +- .../hbase/regionserver/wal/SyncFuture.java | 2 +- .../regionserver/wal/WALActionsListener.java | 7 +- .../replication/HBaseReplicationEndpoint.java | 2 +- .../regionserver/DumpReplicationQueues.java | 2 +- .../replication/regionserver/MetricsSink.java | 10 +- .../regionserver/MetricsSource.java | 18 +- .../replication/regionserver/Replication.java | 1 - .../regionserver/ReplicationLoad.java | 2 +- .../regionserver/ReplicationSink.java | 10 +- .../regionserver/ReplicationSinkManager.java | 6 +- .../ReplicationSourceManager.java | 2 +- .../hbase/security/access/AccessChecker.java | 2 +- .../security/access/AccessController.java | 8 +- .../hbase/security/access/AuthManager.java | 2 +- .../security/access/ZKPermissionWatcher.java | 4 +- .../DefaultVisibilityLabelServiceImpl.java | 5 +- .../visibility/ScanLabelGenerator.java | 3 +- .../visibility/VisibilityController.java | 4 +- .../visibility/VisibilityLabelService.java | 43 +++-- .../VisibilityLabelServiceManager.java | 5 +- .../visibility/VisibilityLabelsCache.java | 6 +- .../security/visibility/VisibilityUtils.java | 27 +-- .../visibility/ZKVisibilityLabelWatcher.java | 4 +- .../hbase/snapshot/RestoreSnapshotHelper.java | 6 +- .../snapshot/SnapshotDescriptionUtils.java | 3 +- .../hadoop/hbase/util/BloomContext.java | 4 +- .../apache/hadoop/hbase/util/BloomFilter.java | 4 +- .../hadoop/hbase/util/BloomFilterChunk.java | 2 +- .../hadoop/hbase/util/BloomFilterFactory.java | 18 +- .../hadoop/hbase/util/BloomFilterUtil.java | 27 +-- .../hadoop/hbase/util/DirectMemoryUtils.java | 4 +- .../hadoop/hbase/util/EncryptionTest.java | 3 +- .../hadoop/hbase/util/FSTableDescriptors.java | 4 +- .../org/apache/hadoop/hbase/util/FSUtils.java | 56 +++--- .../apache/hadoop/hbase/util/HBaseFsck.java | 20 +-- .../hadoop/hbase/util/HBaseFsckRepair.java | 2 +- .../hadoop/hbase/util/JVMClusterUtil.java | 11 +- .../hadoop/hbase/util/ModifyRegionUtils.java | 8 +- .../hadoop/hbase/util/MunkresAssignment.java | 2 +- .../apache/hadoop/hbase/util/RegionMover.java | 6 +- .../hbase/util/RegionSplitCalculator.java | 2 +- .../hadoop/hbase/util/RegionSplitter.java | 28 ++- .../hbase/util/RollingStatCalculator.java | 10 +- .../hadoop/hbase/util/ZKDataMigrator.java | 3 +- .../util/hbck/HFileCorruptionChecker.java | 22 +-- .../java/org/apache/hadoop/hbase/wal/WAL.java | 10 +- .../apache/hadoop/hbase/wal/WALKeyImpl.java | 12 +- .../hadoop/hbase/wal/WALPrettyPrinter.java | 53 +++--- .../org/apache/hadoop/hbase/HBaseCluster.java | 2 +- .../apache/hadoop/hbase/HBaseTestCase.java | 21 +-- .../hadoop/hbase/HBaseTestingUtility.java | 166 ++++++++++-------- .../hbase/HFilePerformanceEvaluation.java | 16 +- .../apache/hadoop/hbase/MetaMockingUtil.java | 6 +- .../apache/hadoop/hbase/MiniHBaseCluster.java | 32 ++-- .../hadoop/hbase/TestGlobalMemStoreSize.java | 4 +- .../TestHColumnDescriptorDefaultVersions.java | 2 +- .../hadoop/hbase/TestMultiVersions.java | 2 +- .../TestPartialResultsFromClientSide.java | 28 +-- .../hadoop/hbase/TestRegionRebalancing.java | 2 +- .../hadoop/hbase/TestSerialization.java | 2 +- .../hadoop/hbase/TimestampTestBase.java | 11 +- .../hbase/backup/TestHFileArchiving.java | 6 +- .../hbase/client/FromClientSideBase.java | 8 +- .../client/HConnectionTestingUtility.java | 6 +- .../hadoop/hbase/client/TestAdmin2.java | 12 +- .../hbase/client/TestClientTimeouts.java | 2 +- .../client/TestConnectionImplementation.java | 6 +- .../hadoop/hbase/client/TestEnableTable.java | 2 +- .../hbase/client/TestFromClientSide3.java | 2 +- .../TestFromClientSideScanExcpetion.java | 2 +- .../hbase/client/TestIntraRowPagination.java | 2 +- .../hadoop/hbase/client/TestMetaCache.java | 2 +- .../hadoop/hbase/client/TestResult.java | 5 +- .../hbase/client/TestScannerTimeout.java | 6 +- .../client/TestScannersFromClientSide.java | 12 +- .../hadoop/hbase/client/TestSizeFailures.java | 2 +- .../client/TestSmallReversedScanner.java | 4 +- .../hbase/client/TestSnapshotFromClient.java | 5 +- .../hbase/client/TestSnapshotMetadata.java | 2 +- .../hbase/client/TestTimestampsFilter.java | 4 +- .../hbase/client/locking/TestEntityLocks.java | 2 +- .../replication/TestReplicationAdmin.java | 3 +- .../hbase/constraint/TestConstraint.java | 10 +- .../hbase/constraint/TestConstraints.java | 6 +- .../TestCoreMasterCoprocessor.java | 2 +- .../TestCoreRegionCoprocessor.java | 2 +- .../TestCoreRegionServerCoprocessor.java | 2 +- .../TestOpenTableInCoprocessor.java | 2 +- .../coprocessor/TestRegionObserverBypass.java | 4 +- ...verForAddingMutationsFromCoprocessors.java | 2 +- .../TestRegionObserverInterface.java | 2 +- .../filter/TestColumnPaginationFilter.java | 4 +- .../filter/TestDependentColumnFilter.java | 4 +- .../hadoop/hbase/filter/TestFilter.java | 8 +- .../hadoop/hbase/filter/TestFilterList.java | 14 +- .../TestFilterListOrOperatorWithBlkCnt.java | 6 +- ...FirstKeyValueMatchingQualifiersFilter.java | 2 +- .../hbase/filter/TestInclusiveStopFilter.java | 4 +- .../hbase/filter/TestMultiRowRangeFilter.java | 6 +- .../hadoop/hbase/filter/TestPageFilter.java | 4 +- .../hbase/filter/TestRandomRowFilter.java | 4 +- .../TestSingleColumnValueExcludeFilter.java | 2 +- .../filter/TestSingleColumnValueFilter.java | 4 +- .../hbase/io/TestHalfStoreFileReader.java | 2 +- .../apache/hadoop/hbase/io/TestHeapSize.java | 2 +- .../io/encoding/TestDataBlockEncoders.java | 6 +- .../hadoop/hbase/io/hfile/NanoTimer.java | 6 +- .../hbase/io/hfile/RandomDistribution.java | 15 +- .../hbase/io/hfile/RandomKeyValueUtil.java | 3 +- .../hadoop/hbase/io/hfile/TestHFile.java | 4 +- .../hbase/io/hfile/TestHFileBlockIndex.java | 3 +- .../io/hfile/TestHFileDataBlockEncoder.java | 4 +- .../io/hfile/bucket/TestBucketCache.java | 3 +- .../hfile/bucket/TestBucketCacheRefCnt.java | 2 - .../hfile/bucket/TestBucketWriterThread.java | 8 +- .../hadoop/hbase/master/MockRegionServer.java | 5 +- .../hbase/master/TestActiveMasterManager.java | 2 +- ...TestMasterFailoverBalancerPersistence.java | 6 +- .../hbase/master/TestMasterNoCluster.java | 6 +- .../hbase/master/TestMasterTransitions.java | 10 +- .../hbase/master/TestRegionPlacement.java | 10 +- .../master/balancer/BalancerTestBase.java | 4 +- .../master/balancer/TestBaseLoadBalancer.java | 7 +- .../balancer/TestSimpleLoadBalancer.java | 2 +- .../master/janitor/TestCatalogJanitor.java | 2 +- .../TestCatalogJanitorInMemoryStates.java | 4 +- .../MasterProcedureTestingUtility.java | 2 +- ...TableDescriptorModificationFromClient.java | 2 +- .../apache/hadoop/hbase/mob/MobTestUtil.java | 2 +- .../procedure/SimpleRSProcedureManager.java | 2 +- .../procedure/TestZKProcedureControllers.java | 4 +- .../hbase/protobuf/TestProtobufUtil.java | 12 +- .../protobuf/TestReplicationProtobuf.java | 2 +- .../regionserver/CreateRandomStoreFile.java | 2 +- .../regionserver/DataBlockEncodingTool.java | 4 +- .../regionserver/TestCompactingMemStore.java | 10 +- .../hbase/regionserver/TestCompaction.java | 4 +- .../regionserver/TestCompactionState.java | 5 +- .../TestDateTieredCompactionPolicy.java | 2 +- .../regionserver/TestDefaultMemStore.java | 20 +-- .../regionserver/TestDeleteMobTable.java | 2 +- .../TestGetClosestAtOrBefore.java | 4 +- .../hbase/regionserver/TestHMobStore.java | 16 +- .../hbase/regionserver/TestHRegion.java | 29 ++- .../regionserver/TestHRegionReplayEvents.java | 4 +- .../hadoop/hbase/regionserver/TestHStore.java | 2 +- .../hbase/regionserver/TestHStoreFile.java | 2 +- .../regionserver/TestJoinedScanners.java | 3 +- .../regionserver/TestMajorCompaction.java | 4 +- .../TestMasterAddressTracker.java | 2 +- .../TestPerColumnFamilyFlush.java | 2 +- .../TestRSKilledWhenInitializing.java | 2 +- .../regionserver/TestRegionIncrement.java | 4 +- .../TestRegionReplicaFailover.java | 2 +- .../TestRegionServerOnlineConfigChange.java | 4 +- .../TestRequestsPerSecondMetric.java | 2 +- .../hbase/regionserver/TestRowTooBig.java | 4 +- .../hbase/regionserver/TestScanner.java | 2 +- .../TestSplitTransactionOnCluster.java | 7 +- .../hbase/regionserver/TestStoreScanner.java | 4 +- .../TestUserScanQueryMatcher.java | 6 +- .../regionserver/wal/AbstractTestFSWAL.java | 8 +- .../wal/AbstractTestProtobufLog.java | 4 +- .../wal/AbstractTestWALReplay.java | 20 +-- .../regionserver/wal/TestLogRolling.java | 2 +- .../wal/TestLogRollingNoCluster.java | 2 +- .../TestReplicationDisableInactivePeer.java | 2 +- .../regionserver/TestReplicationSink.java | 10 +- .../TestReplicationSourceManager.java | 8 +- .../regionserver/TestWALEntrySinkFilter.java | 2 +- .../hadoop/hbase/security/TestSecureIPC.java | 6 +- .../TestUsersOperationsWithSecureHadoop.java | 2 +- .../snapshot/MobSnapshotTestingUtils.java | 3 +- .../hbase/snapshot/SnapshotTestingUtils.java | 2 +- ...estLoadIncrementalHFilesSplitRecovery.java | 4 +- .../hadoop/hbase/util/BaseTestHBaseFsck.java | 13 +- .../hbase/util/HFileArchiveTestingUtil.java | 4 +- .../apache/hadoop/hbase/util/MockServer.java | 2 +- .../util/ProcessBasedLocalHBaseCluster.java | 2 +- .../apache/hadoop/hbase/util/TestFSUtils.java | 2 +- .../hbase/util/hbck/HbckTestingUtil.java | 2 +- .../util/test/LoadTestDataGenerator.java | 10 +- .../hadoop/hbase/wal/IOTestProvider.java | 2 +- .../hadoop/hbase/wal/TestFSHLogProvider.java | 7 +- .../hadoop/hbase/wal/TestWALFactory.java | 6 +- .../hadoop/hbase/wal/TestWALMethods.java | 2 +- .../wal/TestWALOpenAfterDNRollingStart.java | 2 +- .../apache/hadoop/hbase/wal/TestWALSplit.java | 4 +- .../hbase/wal/WALPerformanceEvaluation.java | 5 +- .../hbase/thrift/HBaseServiceHandler.java | 2 +- .../hbase/thrift/IncrementCoalescer.java | 2 +- .../thrift/ThriftHBaseServiceHandler.java | 2 +- .../hadoop/hbase/thrift/ThriftUtilities.java | 20 ++- .../hadoop/hbase/thrift/TestThriftServer.java | 20 +-- ...stThriftHBaseServiceHandlerWithLabels.java | 5 +- .../hbase/zookeeper/MetaTableLocator.java | 4 +- .../hbase/zookeeper/RecoverableZooKeeper.java | 5 +- .../apache/hadoop/hbase/zookeeper/ZKUtil.java | 30 ++-- 612 files changed, 2991 insertions(+), 2886 deletions(-) diff --git a/hbase-asyncfs/src/main/java/org/apache/hadoop/hbase/io/asyncfs/FanOutOneBlockAsyncDFSOutputSaslHelper.java b/hbase-asyncfs/src/main/java/org/apache/hadoop/hbase/io/asyncfs/FanOutOneBlockAsyncDFSOutputSaslHelper.java index ee02d42d2d3..469fc38ad19 100644 --- a/hbase-asyncfs/src/main/java/org/apache/hadoop/hbase/io/asyncfs/FanOutOneBlockAsyncDFSOutputSaslHelper.java +++ b/hbase-asyncfs/src/main/java/org/apache/hadoop/hbase/io/asyncfs/FanOutOneBlockAsyncDFSOutputSaslHelper.java @@ -367,7 +367,7 @@ public final class FanOutOneBlockAsyncDFSOutputSaslHelper { * Create a ByteString from byte array without copying (wrap), and then set it as the payload * for the builder. * @param builder builder for HDFS DataTransferEncryptorMessage. - * @param payload byte array of payload. n + * @param payload byte array of payload. */ static void wrapAndSetPayload(DataTransferEncryptorMessageProto.Builder builder, byte[] payload) throws IOException { diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/AsyncMetaTableAccessor.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/AsyncMetaTableAccessor.java index 414d4ee7b49..8029b0314cc 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/AsyncMetaTableAccessor.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/AsyncMetaTableAccessor.java @@ -102,8 +102,8 @@ public class AsyncMetaTableAccessor { } /** - * Returns the HRegionLocation from meta for the given region n * @param regionName region we're - * looking for + * Returns the HRegionLocation from meta for the given region + * @param regionName region we're looking for * @return HRegionLocation for the given region */ public static CompletableFuture> @@ -128,8 +128,8 @@ public class AsyncMetaTableAccessor { } /** - * Returns the HRegionLocation from meta for the given encoded region name n * @param - * encodedRegionName region we're looking for + * Returns the HRegionLocation from meta for the given encoded region name + * @param encodedRegionName region we're looking for * @return HRegionLocation for the given region */ public static CompletableFuture> @@ -176,8 +176,8 @@ public class AsyncMetaTableAccessor { } /** - * Used to get all region locations for the specific table. n * @param tableName table we're - * looking for, can be null for getting all regions + * Used to get all region locations for the specific table. + * @param tableName table we're looking for, can be null for getting all regions * @return the list of region locations. The return value will be wrapped by a * {@link CompletableFuture}. */ @@ -200,8 +200,8 @@ public class AsyncMetaTableAccessor { } /** - * Used to get table regions' info and server. n * @param tableName table we're looking for, can - * be null for getting all regions + * Used to get table regions' info and server. + * @param tableName table we're looking for, can be null for getting all regions * @param excludeOfflinedSplitParents don't return split parents * @return the list of regioninfos and server. The return value will be wrapped by a * {@link CompletableFuture}. @@ -259,9 +259,10 @@ public class AsyncMetaTableAccessor { } /** - * Performs a scan of META table for given table. n * @param tableName table withing we scan - * @param type scanned part of meta - * @param visitor Visitor invoked against each row + * Performs a scan of META table for given table. + * @param tableName table withing we scan + * @param type scanned part of meta + * @param visitor Visitor invoked against each row */ private static CompletableFuture scanMeta(AsyncTable metaTable, TableName tableName, QueryType type, final Visitor visitor) { @@ -270,11 +271,12 @@ public class AsyncMetaTableAccessor { } /** - * Performs a scan of META table for given table. n * @param startRow Where to start the scan - * @param stopRow Where to stop the scan - * @param type scanned part of meta - * @param maxRows maximum rows to return - * @param visitor Visitor invoked against each row + * Performs a scan of META table for given table. + * @param startRow Where to start the scan + * @param stopRow Where to stop the scan + * @param type scanned part of meta + * @param maxRows maximum rows to return + * @param visitor Visitor invoked against each row */ private static CompletableFuture scanMeta(AsyncTable metaTable, byte[] startRow, byte[] stopRow, QueryType type, int maxRows, final Visitor visitor) { diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/ClusterId.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/ClusterId.java index 9b7a5de19bd..3b29e286561 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/ClusterId.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/ClusterId.java @@ -52,7 +52,8 @@ public class ClusterId { /** * @param bytes A pb serialized {@link ClusterId} instance with pb magic prefix - * @return An instance of {@link ClusterId} made from bytes n * @see #toByteArray() + * @return An instance of {@link ClusterId} made from bytes + * @see #toByteArray() */ public static ClusterId parseFrom(final byte[] bytes) throws DeserializationException { if (ProtobufUtil.isPBMagicPrefix(bytes)) { @@ -78,9 +79,7 @@ public class ClusterId { return builder.setClusterId(this.id).build(); } - /** - * n * @return A {@link ClusterId} made from the passed in cid - */ + /** Returns A {@link ClusterId} made from the passed in cid */ public static ClusterId convert(final ClusterIdProtos.ClusterId cid) { return new ClusterId(cid.getClusterId()); } diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/ClusterStatus.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/ClusterStatus.java index f21ed0e837b..d3a0c64f4fb 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/ClusterStatus.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/ClusterStatus.java @@ -269,7 +269,7 @@ public class ClusterStatus implements ClusterMetrics { } /** - * n * @return Server's load or null if not found. + * @return Server's load or null if not found. * @deprecated As of release 2.0.0, this will be removed in HBase 3.0.0 Use * {@link #getLiveServerMetrics} instead. */ diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java index 1ed87a38a4d..7b222e868bd 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java @@ -358,8 +358,8 @@ public class HColumnDescriptor implements ColumnFamilyDescriptor, Comparablebytes n * @see - * #toByteArray() + * @return An instance of {@link HColumnDescriptor} made from bytes + * @see #toByteArray() */ public static HColumnDescriptor parseFrom(final byte[] bytes) throws DeserializationException { ColumnFamilyDescriptor desc = ColumnFamilyDescriptorBuilder.parseFrom(bytes); @@ -713,7 +713,7 @@ public class HColumnDescriptor implements ColumnFamilyDescriptor, Comparable