This is an automated email from the ASF dual-hosted git repository. sammichen pushed a change to branch HDDS-1564 in repository https://gitbox.apache.org/repos/asf/hadoop-ozone.git.
omit c855528 HDDS-1572 Implement a Pipeline scrubber to clean up non-OPEN pipeline. (#237) omit 32af34f HDDS-1569 Support creating multiple pipelines with same datanode. Contributed by Li Cheng. omit 2b9ad2d HDDS-2089: Add createPipeline CLI. (#1418) omit d88e9bf HDDS-1571. Create an interface for pipeline placement policy to support network topologies. (#1395) omit 748cb01 HDDS-1577. Add default pipeline placement policy implementation. (#1366) add 52579a2 HDDS-2595. Update Ratis version to latest snapshot version (#251) add 4a91745 HDDS-2609. Move plain unit tests out of integration tests (#260) add 15b05fa HDDS-2626. Avoid hostname lookup for invalid local IP addresses (#267) add 728755e HDDS-2627. Skip sonar check in forks (#266) add 3de23cc Revert "HDDS-2595. Update Ratis version to latest snapshot version (#251)" (#269) add a637a27 HDDS-2477. TableCache cleanup issue for OM non-HA. (#159) add 4f36984 HDDS-2602 Make auto creation for RATIS ONE pipeline configurable. (#248) add fe7fccf HDDS-2372. Datanode pipeline is failing with NoSuchFileException (#166) add 045e3da HDDS-2635 Minor:Fix typo in HddsConfigKeys and ozone-default. (#274) add ba9db10 HDDS-2632. Fix TestContainerPersistence#testDeleteChunk (#273) add ac93176 HDDS-2633. Let findbugs.sh skip frontend plugin for Recon (#275) add 0ef75b0 HDDS-2528. Sonar : code smell category issues in CommitWatcher (#247) add a73c470 HDDS-2034. Async RATIS pipeline creation and destroy through heartbeat commands add cd892e0 HDDS-2640 Add leaderID information in pipeline list subcommand (#279) add b1ceedd Revert "HDDS-2640 Add leaderID information in pipeline list subcommand (#279)" (#280) add c91916d HDDS-2639. Turning off unit test until review of HDDS-2639 add 72ab0a1 HDDS-2648. Disabling flaky test unil the fix. add cd3f8c9 HDDS-2640 Add leaderID information in pipeline list subcommand (#281) add 33b3c16 HDDS-2628. Make AuditMessage parameters strongly typed (#277) new 44c783f HDDS-1577. Add default pipeline placement policy implementation. (#1366) new 4bd9c78 HDDS-1571. Create an interface for pipeline placement policy to support network topologies. (#1395) new 555f923 HDDS-2089: Add createPipeline CLI. (#1418) new 260018f HDDS-1569 Support creating multiple pipelines with same datanode. Contributed by Li Cheng. new 2a3638d HDDS-1572 Implement a Pipeline scrubber to clean up non-OPEN pipeline. (#237) new 03c93ec Rebase Fix This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (c855528) \ N -- N -- N refs/heads/HDDS-1564 (03c93ec) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 6 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .github/workflows/post-commit.yml | 1 + .../hadoop/hdds/scm/storage/CommitWatcher.java | 20 +- .../org/apache/hadoop/hdds/HddsConfigKeys.java | 10 +- .../org/apache/hadoop/hdds/scm/ScmConfigKeys.java | 8 +- .../apache/hadoop/hdds/scm/pipeline/Pipeline.java | 6 + .../org/apache/hadoop/hdds/utils/Scheduler.java | 7 +- .../org/apache/hadoop/hdds/utils/db/Table.java | 10 +- .../apache/hadoop/hdds/utils/db/TypedTable.java | 5 +- .../hadoop/hdds/utils/db/cache/EpochEntry.java | 2 +- .../hadoop/hdds/utils/db/cache/TableCache.java | 14 +- .../hadoop/hdds/utils/db/cache/TableCacheImpl.java | 57 +++- .../org/apache/hadoop/ozone/OzoneSecurityUtil.java | 53 ++-- .../apache/hadoop/ozone/audit/AuditMessage.java | 51 +--- .../common/src/main/resources/ozone-default.xml | 31 +- .../hdds/utils/db/TestTypedRDBTableStore.java | 7 +- .../hdds/utils/db/cache/TestTableCacheImpl.java | 250 +++++++++++++++- .../hadoop/ozone/audit/TestOzoneAuditLogger.java | 22 +- .../container/common/impl/HddsDispatcher.java | 11 +- .../common/statemachine/DatanodeStateMachine.java | 6 + .../CloseContainerCommandHandler.java | 11 +- .../ClosePipelineCommandHandler.java | 120 ++++++++ .../commandhandler/CommandHandler.java | 2 +- .../CreatePipelineCommandHandler.java | 135 +++++++++ .../states/endpoint/HeartbeatEndpointTask.java | 22 ++ .../common/transport/server/XceiverServerSpi.java | 18 ++ .../transport/server/ratis/XceiverServerRatis.java | 36 +++ .../container/keyvalue/helpers/ChunkUtils.java | 52 ++-- .../container/keyvalue/impl/ChunkManagerImpl.java | 43 ++- ...ainerCommand.java => ClosePipelineCommand.java} | 53 ++-- .../protocol/commands/CreatePipelineCommand.java | 100 +++++++ .../proto/StorageContainerDatanodeProtocol.proto | 23 ++ .../ozone/container/ContainerTestHelper.java | 325 ++------------------- .../container/common/helpers/TestBlockData.java | 0 .../impl/TestContainerDeletionChoosingPolicy.java | 0 .../common/impl/TestContainerPersistence.java | 2 +- .../container/keyvalue/TestChunkManagerImpl.java | 3 +- .../container/keyvalue/helpers/TestChunkUtils.java | 35 ++- .../org/apache/hadoop/hdds/server/ServerUtils.java | 7 + .../hadoop/hdds/scm/block/BlockManagerImpl.java | 4 + .../hdds/scm/container/ContainerStateManager.java | 1 + .../apache/hadoop/hdds/scm/events/SCMEvents.java | 12 +- .../scm/pipeline/BackgroundPipelineCreator.java | 24 +- .../hadoop/hdds/scm/pipeline/PipelineFactory.java | 13 +- .../hadoop/hdds/scm/pipeline/PipelineManager.java | 15 +- .../hadoop/hdds/scm/pipeline/PipelineProvider.java | 2 + .../hdds/scm/pipeline/PipelineReportHandler.java | 54 ++-- .../hdds/scm/pipeline/PipelineStateManager.java | 4 +- .../hdds/scm/pipeline/RatisPipelineProvider.java | 131 +++------ .../hdds/scm/pipeline/SCMPipelineManager.java | 82 +++++- .../hdds/scm/pipeline/SCMPipelineMetrics.java | 10 + .../hdds/scm/pipeline/SimplePipelineProvider.java | 5 + .../scm/safemode/HealthyPipelineSafeModeRule.java | 74 ++--- .../safemode/OneReplicaPipelineSafeModeRule.java | 65 ++--- .../hdds/scm/safemode/SCMSafeModeManager.java | 16 +- .../hadoop/hdds/scm/safemode/SafeModeHandler.java | 5 +- .../hdds/scm/server/SCMBlockProtocolServer.java | 26 +- .../hdds/scm/server/SCMClientProtocolServer.java | 30 +- .../scm/server/SCMDatanodeHeartbeatDispatcher.java | 1 + .../hdds/scm/server/SCMDatanodeProtocolServer.java | 46 ++- .../hdds/scm/server/StorageContainerManager.java | 3 +- .../java/org/apache/hadoop/hdds/scm/TestUtils.java | 12 + .../hadoop/hdds/scm/block/TestBlockManager.java | 44 ++- .../container/TestCloseContainerEventHandler.java | 11 +- .../scm/container/TestSCMContainerManager.java | 4 +- .../hdds/scm/node/TestContainerPlacement.java | 2 +- .../hadoop/hdds/scm/node/TestDeadNodeHandler.java | 11 +- .../hadoop/hdds/scm/node/TestSCMNodeManager.java | 9 +- .../scm/pipeline/MockRatisPipelineProvider.java | 16 +- .../scm/pipeline/TestPipelineStateManager.java | 0 .../scm/pipeline/TestRatisPipelineProvider.java | 27 +- .../hdds/scm/pipeline/TestSCMPipelineManager.java | 99 ++++++- .../scm/pipeline/TestSimplePipelineProvider.java | 0 .../hdds/scm/pipeline}/pipeline/package-info.java | 0 .../safemode/TestHealthyPipelineSafeModeRule.java | 44 +-- .../TestOneReplicaPipelineSafeModeRule.java | 36 +-- .../hdds/scm/safemode/TestSCMSafeModeManager.java | 50 ++-- hadoop-ozone/dev-support/checks/findbugs.sh | 8 +- hadoop-ozone/dist/src/main/compose/testlib.sh | 35 +++ .../dist/src/main/smoketest/__init__.robot | 3 +- .../TestContainerStateManagerIntegration.java | 6 +- .../metrics/TestSCMContainerManagerMetrics.java | 3 + .../hdds/scm/pipeline/TestPipelineClose.java | 5 +- .../TestRatisPipelineCreateAndDestroy.java | 29 ++ .../scm/pipeline/TestRatisPipelineProvider.java | 27 +- .../org/apache/hadoop/ozone/MiniOzoneCluster.java | 2 +- .../apache/hadoop/ozone/MiniOzoneClusterImpl.java | 43 +-- .../hadoop/ozone/TestContainerOperations.java | 2 +- .../TestContainerStateMachineIdempotency.java | 2 +- .../apache/hadoop/ozone/TestMiniOzoneCluster.java | 6 +- .../hadoop/ozone/TestStorageContainerManager.java | 18 +- .../apache/hadoop/ozone/client/rpc/TestBCSID.java | 3 + .../ozone/client/rpc/TestBlockOutputStream.java | 5 +- .../rpc/TestBlockOutputStreamWithFailures.java | 13 +- .../rpc/TestCloseContainerHandlingByClient.java | 7 +- .../rpc/TestContainerReplicationEndToEnd.java | 4 +- .../client/rpc/TestContainerStateMachine.java | 10 +- .../rpc/TestContainerStateMachineFailures.java | 18 +- .../client/rpc/TestFailureHandlingByClient.java | 7 +- .../ozone/client/rpc/TestKeyInputStream.java | 7 +- .../rpc/TestMultiBlockWritesWithDnFailures.java | 5 +- .../rpc/TestOzoneClientRetriesOnException.java | 9 +- .../ozone/client/rpc/TestWatchForCommit.java | 7 +- .../ozone/container/TestContainerReplication.java | 2 +- .../apache/hadoop/ozone/container/TestHelper.java | 305 +++++++++++++++++++ .../commandhandler/TestBlockDeletion.java | 6 +- .../commandhandler/TestCloseContainerHandler.java | 2 + .../commandhandler/TestDeleteContainerHandler.java | 2 + .../hadoop/ozone/dn/scrubber/TestDataScrubber.java | 2 + .../org/apache/hadoop/ozone/om/TestKeyPurging.java | 5 +- .../apache/hadoop/ozone/om/TestScmSafeMode.java | 2 +- .../hadoop/ozone/scm/TestContainerSmallFile.java | 2 +- .../scm/TestGetCommittedBlockLengthAndPutKey.java | 2 +- .../org/apache/hadoop/ozone/scm/TestSCMMXBean.java | 2 +- .../hadoop/ozone/scm/node/TestSCMNodeMetrics.java | 4 +- .../org/apache/hadoop/ozone/om/OzoneManager.java | 24 +- .../ozone/om/ratis/OzoneManagerDoubleBuffer.java | 16 +- .../hadoop/ozone/om/request/OMClientRequest.java | 6 +- .../ozone/om/ratis}/TestOMRatisSnapshotInfo.java | 3 +- ...TestOzoneManagerDoubleBufferWithOMResponse.java | 1 + .../security/acl/TestOzoneNativeAuthorizer.java | 20 +- .../hadoop/fs/ozone/TestOzoneFsRenameDir.java | 2 +- .../freon/TestFreonWithDatanodeFastRestart.java | 4 +- .../hadoop/ozone/fsck/TestContainerMapper.java | 2 +- 123 files changed, 2130 insertions(+), 1114 deletions(-) create mode 100644 hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/statemachine/commandhandler/ClosePipelineCommandHandler.java create mode 100644 hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/statemachine/commandhandler/CreatePipelineCommandHandler.java copy hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/protocol/commands/{CloseContainerCommand.java => ClosePipelineCommand.java} (53%) create mode 100644 hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/protocol/commands/CreatePipelineCommand.java rename {hadoop-ozone/integration-test => hadoop-hdds/container-service}/src/test/java/org/apache/hadoop/ozone/container/ContainerTestHelper.java (65%) rename {hadoop-ozone/integration-test => hadoop-hdds/container-service}/src/test/java/org/apache/hadoop/ozone/container/common/helpers/TestBlockData.java (100%) rename {hadoop-ozone/integration-test => hadoop-hdds/container-service}/src/test/java/org/apache/hadoop/ozone/container/common/impl/TestContainerDeletionChoosingPolicy.java (100%) rename {hadoop-ozone/integration-test => hadoop-hdds/container-service}/src/test/java/org/apache/hadoop/ozone/container/common/impl/TestContainerPersistence.java (99%) rename {hadoop-ozone/integration-test => hadoop-hdds/server-scm}/src/test/java/org/apache/hadoop/hdds/scm/pipeline/TestPipelineStateManager.java (100%) rename {hadoop-ozone/integration-test => hadoop-hdds/server-scm}/src/test/java/org/apache/hadoop/hdds/scm/pipeline/TestSCMPipelineManager.java (79%) rename {hadoop-ozone/integration-test => hadoop-hdds/server-scm}/src/test/java/org/apache/hadoop/hdds/scm/pipeline/TestSimplePipelineProvider.java (100%) copy {hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm => hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/hdds/scm/pipeline}/pipeline/package-info.java (100%) create mode 100644 hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/container/TestHelper.java rename hadoop-ozone/{integration-test/src/test/java/org/apache/hadoop/ozone/om/snapshot => ozone-manager/src/test/java/org/apache/hadoop/ozone/om/ratis}/TestOMRatisSnapshotInfo.java (95%) rename hadoop-ozone/{integration-test => ozone-manager}/src/test/java/org/apache/hadoop/ozone/security/acl/TestOzoneNativeAuthorizer.java (96%) --------------------------------------------------------------------- To unsubscribe, e-mail: ozone-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: ozone-commits-h...@hadoop.apache.org