Skip to content

Conversation

@YaYun-Wang
Copy link
Contributor

@YaYun-Wang YaYun-Wang commented Oct 10, 2020

HDFS-15025 adds a new storage Type NVDIMM, changes the ordinal() of the enum of StorageType. And, setting the quota by storageType depends on the ordinal(), therefore, it may cause the setting of quota to be invalid after upgrade.
This fix the function of setting quota by storage type bug in hadoop/trunk.

@YaYun-Wang YaYun-Wang changed the title fix the function of setting quota by storage type HDFS-15624. fix the function of setting quota by storage type Oct 10, 2020
@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 32m 34s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 0m 0s test4tests The patch appears to include 2 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 6m 7s Maven dependency ordering for branch
+1 💚 mvninstall 26m 28s trunk passed
+1 💚 compile 21m 4s trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 compile 17m 44s trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 checkstyle 2m 57s trunk passed
+1 💚 mvnsite 3m 33s trunk passed
+1 💚 shadedclient 22m 45s branch has no errors when building and testing our client artifacts.
+1 💚 javadoc 2m 8s trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javadoc 3m 53s trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+0 🆗 spotbugs 1m 18s Used deprecated FindBugs config; considering switching to SpotBugs.
+1 💚 findbugs 6m 41s trunk passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 22s Maven dependency ordering for patch
+1 💚 mvninstall 2m 30s the patch passed
+1 💚 compile 20m 19s the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javac 20m 19s the patch passed
+1 💚 compile 17m 38s the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 javac 17m 38s the patch passed
-0 ⚠️ checkstyle 2m 54s /diff-checkstyle-root.txt root: The patch generated 1 new + 213 unchanged - 1 fixed = 214 total (was 214)
+1 💚 mvnsite 3m 30s the patch passed
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 shadedclient 15m 49s patch has no errors when building and testing our client artifacts.
+1 💚 javadoc 2m 6s the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javadoc 3m 56s the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 findbugs 7m 7s the patch passed
_ Other Tests _
-1 ❌ unit 10m 2s /patch-unit-hadoop-common-project_hadoop-common.txt hadoop-common in the patch passed.
-1 ❌ unit 109m 57s /patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt hadoop-hdfs in the patch passed.
-1 ❌ unit 9m 7s /patch-unit-hadoop-hdfs-project_hadoop-hdfs-rbf.txt hadoop-hdfs-rbf in the patch passed.
+1 💚 asflicense 0m 55s The patch does not generate ASF License warnings.
350m 33s
Reason Tests
Failed junit tests hadoop.fs.shell.TestCount
hadoop.hdfs.web.TestWebHDFS
hadoop.hdfs.TestFileChecksum
hadoop.hdfs.server.blockmanagement.TestBlockTokenWithDFSStriped
hadoop.hdfs.TestFileChecksumCompositeCrc
hadoop.hdfs.TestBlockStoragePolicy
hadoop.hdfs.TestRollingUpgrade
hadoop.hdfs.server.federation.router.TestRouterRpcMultiDestination
hadoop.fs.contract.router.TestRouterHDFSContractRootDirectorySecure
hadoop.fs.contract.router.TestRouterHDFSContractRootDirectory
hadoop.fs.contract.router.TestRouterHDFSContractGetFileStatusSecure
hadoop.fs.contract.router.TestRouterHDFSContractGetFileStatus
hadoop.fs.contract.router.web.TestRouterWebHDFSContractRootDirectory
Subsystem Report/Notes
Docker ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/1/artifact/out/Dockerfile
GITHUB PR #2377
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux 76feead48d61 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 2de7240
Default Java Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/1/testReport/
Max. process+thread count 3233 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-rbf U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/1/console
versions git=2.17.1 maven=3.6.0 findbugs=4.1.3
Powered by Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 1m 5s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 0m 0s test4tests The patch appears to include 3 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 6m 9s Maven dependency ordering for branch
+1 💚 mvninstall 27m 36s trunk passed
+1 💚 compile 24m 7s trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 compile 20m 47s trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 checkstyle 3m 10s trunk passed
+1 💚 mvnsite 3m 47s trunk passed
+1 💚 shadedclient 23m 16s branch has no errors when building and testing our client artifacts.
+1 💚 javadoc 2m 6s trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javadoc 4m 1s trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+0 🆗 spotbugs 1m 30s Used deprecated FindBugs config; considering switching to SpotBugs.
+1 💚 findbugs 7m 34s trunk passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 27s Maven dependency ordering for patch
+1 💚 mvninstall 2m 50s the patch passed
+1 💚 compile 23m 58s the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javac 23m 58s the patch passed
+1 💚 compile 20m 37s the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 javac 20m 37s the patch passed
-0 ⚠️ checkstyle 3m 8s /diff-checkstyle-root.txt root: The patch generated 2 new + 223 unchanged - 1 fixed = 225 total (was 224)
+1 💚 mvnsite 3m 40s the patch passed
-1 ❌ whitespace 0m 0s /whitespace-tabs.txt The patch 2 line(s) with tabs.
+1 💚 shadedclient 15m 50s patch has no errors when building and testing our client artifacts.
+1 💚 javadoc 2m 6s the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javadoc 4m 3s the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 findbugs 8m 3s the patch passed
_ Other Tests _
+1 💚 unit 11m 6s hadoop-common in the patch passed.
-1 ❌ unit 133m 23s /patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt hadoop-hdfs in the patch passed.
+1 💚 unit 11m 1s hadoop-hdfs-rbf in the patch passed.
+1 💚 asflicense 1m 26s The patch does not generate ASF License warnings.
363m 7s
Reason Tests
Failed junit tests hadoop.hdfs.server.balancer.TestBalancerWithHANameNodes
hadoop.hdfs.server.namenode.TestProcessCorruptBlocks
hadoop.hdfs.web.TestWebHDFS
hadoop.hdfs.TestFileChecksum
hadoop.hdfs.TestFileChecksumCompositeCrc
hadoop.hdfs.TestDFSClientRetries
hadoop.hdfs.server.namenode.ha.TestBootstrapAliasmap
Subsystem Report/Notes
Docker ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/2/artifact/out/Dockerfile
GITHUB PR #2377
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux f0bd81b5ba3d 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 69ef9b1
Default Java Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/2/testReport/
Max. process+thread count 3070 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-rbf U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/2/console
versions git=2.17.1 maven=3.6.0 findbugs=4.1.3
Powered by Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 1m 15s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 0m 0s test4tests The patch appears to include 3 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 6m 3s Maven dependency ordering for branch
+1 💚 mvninstall 27m 33s trunk passed
+1 💚 compile 25m 4s trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 compile 19m 45s trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 checkstyle 3m 8s trunk passed
+1 💚 mvnsite 3m 34s trunk passed
+1 💚 shadedclient 22m 37s branch has no errors when building and testing our client artifacts.
+1 💚 javadoc 2m 14s trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javadoc 4m 11s trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+0 🆗 spotbugs 1m 35s Used deprecated FindBugs config; considering switching to SpotBugs.
+1 💚 findbugs 7m 30s trunk passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 25s Maven dependency ordering for patch
+1 💚 mvninstall 3m 0s the patch passed
+1 💚 compile 24m 3s the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javac 24m 3s the patch passed
+1 💚 compile 19m 58s the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 javac 19m 58s the patch passed
+1 💚 checkstyle 3m 5s root: The patch generated 0 new + 223 unchanged - 1 fixed = 223 total (was 224)
+1 💚 mvnsite 3m 36s the patch passed
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 shadedclient 15m 37s patch has no errors when building and testing our client artifacts.
+1 💚 javadoc 2m 10s the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javadoc 4m 7s the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 findbugs 8m 14s the patch passed
_ Other Tests _
+1 💚 unit 11m 6s hadoop-common in the patch passed.
-1 ❌ unit 132m 3s /patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt hadoop-hdfs in the patch passed.
-1 ❌ unit 10m 58s /patch-unit-hadoop-hdfs-project_hadoop-hdfs-rbf.txt hadoop-hdfs-rbf in the patch passed.
+1 💚 asflicense 1m 6s The patch does not generate ASF License warnings.
360m 40s
Reason Tests
Failed junit tests hadoop.hdfs.server.namenode.TestAddOverReplicatedStripedBlocks
hadoop.hdfs.server.datanode.TestBPOfferService
hadoop.hdfs.TestGetFileChecksum
hadoop.hdfs.web.TestWebHDFS
hadoop.hdfs.server.namenode.ha.TestPipelinesFailover
hadoop.hdfs.TestFileChecksum
hadoop.hdfs.server.blockmanagement.TestBlockTokenWithDFSStriped
hadoop.hdfs.TestFileChecksumCompositeCrc
hadoop.hdfs.web.TestWebHdfsWithMultipleNameNodes
hadoop.hdfs.server.datanode.TestDataNodeVolumeFailureReporting
hadoop.hdfs.server.federation.router.TestRouterRpcMultiDestination
Subsystem Report/Notes
Docker ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/3/artifact/out/Dockerfile
GITHUB PR #2377
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux ece0b63456d0 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 69ef9b1
Default Java Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/3/testReport/
Max. process+thread count 2901 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-rbf U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/3/console
versions git=2.17.1 maven=3.6.0 findbugs=4.1.3
Powered by Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 1m 23s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 0m 0s test4tests The patch appears to include 4 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 6m 3s Maven dependency ordering for branch
+1 💚 mvninstall 27m 21s trunk passed
+1 💚 compile 24m 43s trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 compile 19m 29s trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 checkstyle 3m 4s trunk passed
+1 💚 mvnsite 3m 30s trunk passed
+1 💚 shadedclient 22m 51s branch has no errors when building and testing our client artifacts.
+1 💚 javadoc 2m 11s trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javadoc 4m 17s trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+0 🆗 spotbugs 1m 45s Used deprecated FindBugs config; considering switching to SpotBugs.
+1 💚 findbugs 8m 7s trunk passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 28s Maven dependency ordering for patch
+1 💚 mvninstall 2m 56s the patch passed
+1 💚 compile 24m 7s the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javac 24m 7s the patch passed
+1 💚 compile 19m 24s the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 javac 19m 24s the patch passed
-0 ⚠️ checkstyle 3m 0s /diff-checkstyle-root.txt root: The patch generated 6 new + 734 unchanged - 1 fixed = 740 total (was 735)
+1 💚 mvnsite 3m 30s the patch passed
-1 ❌ whitespace 0m 0s /whitespace-eol.txt The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
+1 💚 shadedclient 16m 5s patch has no errors when building and testing our client artifacts.
+1 💚 javadoc 2m 13s the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javadoc 4m 14s the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 findbugs 8m 27s the patch passed
_ Other Tests _
+1 💚 unit 11m 25s hadoop-common in the patch passed.
-1 ❌ unit 153m 45s /patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt hadoop-hdfs in the patch passed.
-1 ❌ unit 11m 44s /patch-unit-hadoop-hdfs-project_hadoop-hdfs-rbf.txt hadoop-hdfs-rbf in the patch passed.
-1 ❌ asflicense 1m 37s /patch-asflicense-problems.txt The patch generated 8 ASF License warnings.
384m 29s
Reason Tests
Failed junit tests hadoop.hdfs.server.namenode.TestFSImage
hadoop.hdfs.TestViewDistributedFileSystem
hadoop.hdfs.TestModTime
hadoop.hdfs.server.namenode.ha.TestNNHealthCheck
hadoop.hdfs.server.namenode.TestAddOverReplicatedStripedBlocks
hadoop.hdfs.server.namenode.TestNameNodeMXBean
hadoop.hdfs.server.namenode.TestQuotaByStorageType
hadoop.hdfs.server.namenode.TestDiskspaceQuotaUpdate
hadoop.hdfs.TestDecommissionWithBackoffMonitor
hadoop.hdfs.TestErasureCodingMultipleRacks
hadoop.hdfs.server.namenode.TestFileTruncate
hadoop.hdfs.server.namenode.snapshot.TestSnapshot
hadoop.hdfs.server.namenode.TestAddBlock
hadoop.hdfs.server.blockmanagement.TestSequentialBlockGroupId
hadoop.hdfs.server.balancer.TestBalancerService
hadoop.hdfs.server.datanode.TestBlockReplacement
hadoop.hdfs.server.namenode.TestQuotaWithStripedBlocksWithRandomECPolicy
hadoop.hdfs.server.mover.TestMover
hadoop.hdfs.server.namenode.ha.TestDFSUpgradeWithHA
hadoop.hdfs.server.namenode.metrics.TestNameNodeMetrics
hadoop.hdfs.TestEncryptedTransfer
hadoop.hdfs.server.namenode.TestQuotaWithStripedBlocks
hadoop.hdfs.server.namenode.TestCommitBlockWithInvalidGenStamp
hadoop.hdfs.TestFileStatusWithRandomECPolicy
hadoop.hdfs.server.blockmanagement.TestPendingDataNodeMessages
hadoop.hdfs.TestTrashWithSecureEncryptionZones
hadoop.hdfs.server.datanode.TestBPOfferService
hadoop.hdfs.server.namenode.TestAddBlockRetry
hadoop.hdfs.TestFileLengthOnClusterRestart
hadoop.hdfs.server.namenode.TestFileContextXAttr
hadoop.hdfs.TestSetrepIncreasing
hadoop.hdfs.server.namenode.ha.TestHAStateTransitions
hadoop.hdfs.server.namenode.TestReconstructStripedBlocks
hadoop.hdfs.TestDFSInotifyEventInputStream
hadoop.hdfs.TestMaintenanceState
hadoop.hdfs.TestErasureCodingAddConfig
hadoop.hdfs.server.namenode.TestCacheDirectivesWithViewDFS
hadoop.hdfs.TestRenameWhileOpen
hadoop.hdfs.server.aliasmap.TestSecureAliasMap
hadoop.hdfs.TestDFSClientFailover
hadoop.hdfs.TestDFSStripedOutputStreamUpdatePipeline
hadoop.hdfs.server.namenode.TestReencryptionWithKMS
hadoop.hdfs.server.namenode.snapshot.TestRenameWithSnapshots
hadoop.hdfs.server.namenode.TestStartup
hadoop.hdfs.TestDecommission
hadoop.hdfs.server.balancer.TestBalancerWithHANameNodes
hadoop.hdfs.tools.TestDFSAdmin
hadoop.hdfs.TestErasureCodingPolicyWithSnapshotWithRandomECPolicy
hadoop.hdfs.server.blockmanagement.TestComputeInvalidateWork
hadoop.hdfs.server.namenode.TestFsck
hadoop.hdfs.TestUnsetAndChangeDirectoryEcPolicy
hadoop.hdfs.server.namenode.snapshot.TestUpdatePipelineWithSnapshots
hadoop.hdfs.TestMiniDFSCluster
hadoop.fs.viewfs.TestViewFsLinkFallback
hadoop.hdfs.TestDFSRename
hadoop.hdfs.TestRestartDFS
hadoop.hdfs.TestSafeModeWithStripedFileWithRandomECPolicy
hadoop.hdfs.TestAclsEndToEnd
hadoop.hdfs.TestInjectionForSimulatedStorage
hadoop.hdfs.server.blockmanagement.TestBlockManager
hadoop.hdfs.TestWriteReadStripedFile
hadoop.hdfs.TestDFSStripedOutputStreamWithFailure
hadoop.hdfs.server.namenode.ha.TestEditLogTailer
hadoop.hdfs.server.namenode.TestReencryption
hadoop.hdfs.TestReadStripedFileWithDecoding
hadoop.hdfs.server.namenode.TestFSImageWithSnapshot
hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer
hadoop.hdfs.server.namenode.TestNameEditsConfigs
hadoop.hdfs.TestFileAppendRestart
hadoop.hdfs.client.impl.TestBlockReaderLocal
hadoop.hdfs.shortcircuit.TestShortCircuitLocalRead
hadoop.hdfs.server.namenode.TestHDFSConcat
hadoop.fs.viewfs.TestViewFileSystemHdfs
hadoop.hdfs.TestFileAppend
hadoop.hdfs.TestDFSFinalize
hadoop.hdfs.server.blockmanagement.TestCorruptionWithFailover
hadoop.hdfs.TestDFSStartupVersions
hadoop.hdfs.server.datanode.TestBlockRecovery
hadoop.hdfs.TestReplication
hadoop.hdfs.TestEncryptionZonesWithHA
hadoop.hdfs.TestLeaseRecovery2
hadoop.hdfs.TestReadStripedFileWithMissingBlocks
hadoop.hdfs.TestPersistBlocks
hadoop.hdfs.web.TestWebHDFS
hadoop.fs.TestHDFSFileContextMainOperations
hadoop.hdfs.server.namenode.TestNameNodeXAttr
hadoop.hdfs.server.namenode.sps.TestStoragePolicySatisfierWithStripedFile
hadoop.hdfs.server.namenode.TestParallelImageWrite
hadoop.hdfs.TestErasureCodingExerciseAPIs
hadoop.hdfs.TestAbandonBlock
hadoop.hdfs.server.blockmanagement.TestRBWBlockInvalidation
hadoop.hdfs.server.namenode.TestNameNodeMetadataConsistency
hadoop.hdfs.server.namenode.ha.TestQuotasWithHA
hadoop.hdfs.TestFileCreation
hadoop.hdfs.server.sps.TestExternalStoragePolicySatisfier
hadoop.hdfs.server.namenode.ha.TestRetryCacheWithHA
hadoop.hdfs.TestDFSShell
hadoop.hdfs.server.blockmanagement.TestPendingInvalidateBlock
hadoop.hdfs.tools.offlineEditsViewer.TestOfflineEditsViewer
hadoop.hdfs.server.namenode.TestCacheDirectives
hadoop.hdfs.server.namenode.ha.TestUpdateBlockTailing
hadoop.hdfs.TestErasureCodingPoliciesWithRandomECPolicy
hadoop.hdfs.TestSafeMode
hadoop.hdfs.server.namenode.TestINodeFile
hadoop.hdfs.TestFileChecksum
hadoop.hdfs.server.blockmanagement.TestBlockTokenWithDFSStriped
hadoop.hdfs.TestLeaseRecoveryStriped
hadoop.hdfs.TestDFSStripedOutputStreamWithRandomECPolicy
hadoop.hdfs.server.namenode.TestRefreshBlockPlacementPolicy
hadoop.hdfs.security.TestDelegationToken
hadoop.hdfs.server.datanode.TestDataNodeErasureCodingMetrics
hadoop.hdfs.TestErasureCodingPolicyWithSnapshot
hadoop.hdfs.TestFileChecksumCompositeCrc
hadoop.hdfs.TestBlockStoragePolicy
hadoop.hdfs.server.blockmanagement.TestReconstructStripedBlocksWithRackAwareness
hadoop.hdfs.TestDecommissionWithStriped
hadoop.hdfs.web.TestWebHDFSAcl
hadoop.hdfs.server.namenode.ha.TestDNFencing
hadoop.hdfs.TestDFSClientRetries
hadoop.hdfs.server.namenode.TestListCorruptFileBlocks
hadoop.hdfs.TestSetTimes
hadoop.hdfs.server.namenode.TestRedudantBlocks
hadoop.hdfs.TestErasureCodeBenchmarkThroughput
hadoop.hdfs.server.namenode.TestStripedINodeFile
hadoop.hdfs.server.namenode.snapshot.TestAclWithSnapshot
hadoop.hdfs.server.namenode.TestFileLimit
hadoop.hdfs.TestDecommissionWithStripedBackoffMonitor
hadoop.hdfs.TestDFSStripedOutputStreamWithFailureWithRandomECPolicy
hadoop.hdfs.server.namenode.TestAddStripedBlockInFBR
hadoop.hdfs.TestSafeModeWithStripedFile
hadoop.fs.permission.TestStickyBit
hadoop.hdfs.server.namenode.snapshot.TestSnapRootDescendantDiff
hadoop.hdfs.server.namenode.TestDeleteRace
hadoop.hdfs.TestDistributedFileSystem
hadoop.hdfs.server.blockmanagement.TestBlockInfoStriped
hadoop.hdfs.TestErasureCodingPolicies
hadoop.hdfs.TestReadStripedFileWithDecodingDeletedData
hadoop.hdfs.server.namenode.TestNameNodeAcl
hadoop.hdfs.TestDFSStripedInputStream
hadoop.hdfs.server.balancer.TestBalancerWithEncryptedTransfer
hadoop.hdfs.server.namenode.TestHostsFiles
hadoop.hdfs.TestReadStripedFileWithDecodingCorruptData
hadoop.hdfs.TestDistributedFileSystemWithECFileWithRandomECPolicy
hadoop.fs.viewfs.TestViewFileSystemLinkFallback
hadoop.hdfs.TestFileStatusWithDefaultECPolicy
hadoop.hdfs.TestReadStripedFileWithDNFailure
hadoop.hdfs.server.namenode.TestFSEditLogLoader
hadoop.hdfs.server.balancer.TestBalancer
hadoop.hdfs.TestDFSStripedOutputStream
hadoop.hdfs.tools.TestECAdmin
hadoop.hdfs.server.namenode.TestFileContextAcl
hadoop.hdfs.server.namenode.TestEditLog
hadoop.hdfs.server.namenode.TestPersistentStoragePolicySatisfier
hadoop.hdfs.server.balancer.TestBalancerWithMultipleNameNodes
hadoop.hdfs.server.namenode.TestNestedEncryptionZones
hadoop.hdfs.server.blockmanagement.TestBlockTokenWithDFS
hadoop.hdfs.server.namenode.snapshot.TestOpenFilesWithSnapshot
hadoop.hdfs.TestDFSStorageStateRecovery
hadoop.hdfs.TestStripedFileAppend
hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewerWithStripedBlocks
hadoop.hdfs.server.datanode.fsdataset.impl.TestLazyPersistPolicy
hadoop.cli.TestErasureCodingCLI
hadoop.hdfs.server.namenode.TestCreateEditsLog
hadoop.hdfs.TestDFSRollback
hadoop.hdfs.web.TestWebHDFSXAttr
hadoop.hdfs.server.namenode.TestFSImageWithXAttr
hadoop.hdfs.server.namenode.ha.TestHAMetrics
hadoop.hdfs.server.namenode.ha.TestPendingCorruptDnMessages
hadoop.hdfs.server.namenode.TestFSImageWithAcl
hadoop.hdfs.server.namenode.snapshot.TestSnapshotDeletion
hadoop.hdfs.TestDistributedFileSystemWithECFile
hadoop.hdfs.server.namenode.TestAddStripedBlocks
hadoop.hdfs.server.namenode.ha.TestXAttrsWithHA
hadoop.hdfs.TestReconstructStripedFileWithRandomECPolicy
hadoop.hdfs.server.namenode.snapshot.TestSnapshotDiffReport
hadoop.hdfs.server.namenode.TestAuditLoggerWithCommands
hadoop.hdfs.server.datanode.TestDataNodeVolumeFailureReporting
hadoop.hdfs.TestFileCreationDelete
hadoop.hdfs.server.namenode.TestNamenodeRetryCache
hadoop.hdfs.server.namenode.TestListOpenFiles
hadoop.hdfs.server.namenode.TestCheckpoint
hadoop.hdfs.TestDFSUpgrade
hadoop.hdfs.TestDFSStripedInputStreamWithRandomECPolicy
hadoop.hdfs.server.datanode.fsdataset.impl.TestLazyPersistFiles
hadoop.hdfs.TestReconstructStripedFile
hadoop.hdfs.server.namenode.ha.TestConsistentReadsObserver
hadoop.hdfs.server.federation.router.TestRouterRpcMultiDestination
hadoop.hdfs.server.federation.router.TestRouterMountTable
hadoop.hdfs.server.federation.router.TestRouterMultiRack
hadoop.hdfs.server.federation.router.TestRouterQuota
hadoop.hdfs.server.federation.router.TestRouterRpc
hadoop.hdfs.server.federation.router.TestRouterAllResolver
hadoop.hdfs.server.federation.router.TestRouterRPCMultipleDestinationMountTableResolver
Subsystem Report/Notes
Docker ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/5/artifact/out/Dockerfile
GITHUB PR #2377
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux 9020ec81fad9 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / b3786d6
Default Java Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/5/testReport/
Max. process+thread count 2940 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-rbf U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/5/console
versions git=2.17.1 maven=3.6.0 findbugs=4.1.3
Powered by Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 2m 3s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 0m 0s test4tests The patch appears to include 4 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 6m 21s Maven dependency ordering for branch
+1 💚 mvninstall 30m 1s trunk passed
+1 💚 compile 26m 30s trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 compile 23m 25s trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 checkstyle 3m 56s trunk passed
+1 💚 mvnsite 4m 32s trunk passed
+1 💚 shadedclient 27m 57s branch has no errors when building and testing our client artifacts.
+1 💚 javadoc 2m 42s trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javadoc 4m 56s trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+0 🆗 spotbugs 1m 32s Used deprecated FindBugs config; considering switching to SpotBugs.
+1 💚 findbugs 8m 25s trunk passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 27s Maven dependency ordering for patch
+1 💚 mvninstall 2m 39s the patch passed
-1 ❌ compile 9m 23s /patch-compile-root-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt root in the patch failed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.
-1 ❌ javac 9m 23s /patch-compile-root-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt root in the patch failed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.
-1 ❌ compile 0m 10s /patch-compile-root-jdkPrivateBuild-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01.txt root in the patch failed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01.
-1 ❌ javac 0m 10s /patch-compile-root-jdkPrivateBuild-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01.txt root in the patch failed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01.
+1 💚 checkstyle 3m 35s root: The patch generated 0 new + 734 unchanged - 1 fixed = 734 total (was 735)
+1 💚 mvnsite 3m 14s the patch passed
-1 ❌ whitespace 0m 0s /whitespace-eol.txt The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
+1 💚 shadedclient 15m 27s patch has no errors when building and testing our client artifacts.
+1 💚 javadoc 1m 36s the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javadoc 3m 25s the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 findbugs 6m 39s the patch passed
_ Other Tests _
+1 💚 unit 9m 55s hadoop-common in the patch passed.
-1 ❌ unit 128m 45s /patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt hadoop-hdfs in the patch passed.
-1 ❌ unit 10m 16s /patch-unit-hadoop-hdfs-project_hadoop-hdfs-rbf.txt hadoop-hdfs-rbf in the patch passed.
-1 ❌ asflicense 0m 38s /patch-asflicense-problems.txt The patch generated 1 ASF License warnings.
332m 30s
Reason Tests
Failed junit tests hadoop.hdfs.TestEncryptionZonesWithKMS
hadoop.hdfs.server.datanode.TestBPOfferService
hadoop.hdfs.tools.offlineEditsViewer.TestOfflineEditsViewer
hadoop.hdfs.TestFileChecksum
hadoop.hdfs.server.datanode.TestDataNodeErasureCodingMetrics
hadoop.hdfs.TestFileChecksumCompositeCrc
hadoop.hdfs.server.datanode.TestDataNodeUUID
hadoop.hdfs.server.namenode.TestEditLog
hadoop.hdfs.server.blockmanagement.TestBlockStatsMXBean
hadoop.hdfs.server.federation.router.TestRouterRpc
Subsystem Report/Notes
Docker ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/6/artifact/out/Dockerfile
GITHUB PR #2377
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux 06a4b46817ba 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / e454071
Default Java Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/6/testReport/
Max. process+thread count 2858 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-rbf U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/6/console
versions git=2.17.1 maven=3.6.0 findbugs=4.1.3
Powered by Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 1m 6s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 0m 0s test4tests The patch appears to include 4 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 10m 13s Maven dependency ordering for branch
+1 💚 mvninstall 22m 46s trunk passed
+1 💚 compile 23m 18s trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 compile 20m 5s trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 checkstyle 3m 20s trunk passed
+1 💚 mvnsite 4m 35s trunk passed
+1 💚 shadedclient 27m 58s branch has no errors when building and testing our client artifacts.
+1 💚 javadoc 2m 33s trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javadoc 4m 36s trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+0 🆗 spotbugs 1m 45s Used deprecated FindBugs config; considering switching to SpotBugs.
+1 💚 findbugs 8m 47s trunk passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 27s Maven dependency ordering for patch
+1 💚 mvninstall 3m 35s the patch passed
+1 💚 compile 26m 36s the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javac 26m 36s the patch passed
+1 💚 compile 22m 21s the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 javac 22m 21s the patch passed
+1 💚 checkstyle 3m 36s root: The patch generated 0 new + 734 unchanged - 1 fixed = 734 total (was 735)
+1 💚 mvnsite 4m 3s the patch passed
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 shadedclient 18m 24s patch has no errors when building and testing our client artifacts.
+1 💚 javadoc 2m 38s the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javadoc 4m 59s the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 findbugs 9m 10s the patch passed
_ Other Tests _
-1 ❌ unit 11m 9s /patch-unit-hadoop-common-project_hadoop-common.txt hadoop-common in the patch passed.
-1 ❌ unit 124m 29s /patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt hadoop-hdfs in the patch passed.
+1 💚 unit 11m 2s hadoop-hdfs-rbf in the patch passed.
+1 💚 asflicense 0m 53s The patch does not generate ASF License warnings.
370m 17s
Reason Tests
Failed junit tests hadoop.security.TestRaceWhenRelogin
hadoop.hdfs.server.blockmanagement.TestUnderReplicatedBlocks
hadoop.hdfs.server.datanode.fsdataset.impl.TestFsDatasetImpl
hadoop.hdfs.TestFileChecksumCompositeCrc
hadoop.hdfs.TestRollingUpgrade
hadoop.hdfs.TestFileChecksum
hadoop.hdfs.server.namenode.TestAddOverReplicatedStripedBlocks
Subsystem Report/Notes
Docker ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/7/artifact/out/Dockerfile
GITHUB PR #2377
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux cfee67e2edb0 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 88a9f42
Default Java Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/7/testReport/
Max. process+thread count 3154 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-rbf U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/7/console
versions git=2.17.1 maven=3.6.0 findbugs=4.1.3
Powered by Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@huangtianhua
Copy link
Contributor

@liuml07 Hi, sorry to disturb you. Would you help to review this pr? It changes the ordinal of nvdimm as the last storage type. And we will propose another pr to bump up the NamenodeLayoutVersion. Thanks very much.

@liuml07 liuml07 requested review from ayushtkn and liuml07 October 22, 2020 06:59
@liuml07
Copy link
Member

liuml07 commented Oct 22, 2020

Thanks @YaYun-Wang for fixing this. It looks good to me overall, and I can have another look over the weekend, if it's not committed. I also added @ayushtkn as reviewer.

Copy link
Member

@ayushtkn ayushtkn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@YaYun-Wang I am not very convinced that we should get away with the half fix. Better we have the NamenodeLayout also fixed here and conclude the Nvdimm stuff.
That would literally not more than 10 lines, I guess you need to just increase it only once, and a check only in FsNamesystem should do.
I have talked with @vinayakumarb you can connect with him offline for details on that

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 1m 6s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 0m 0s test4tests The patch appears to include 4 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 11m 23s Maven dependency ordering for branch
+1 💚 mvninstall 23m 9s trunk passed
+1 💚 compile 21m 26s trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 compile 18m 5s trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 checkstyle 2m 55s trunk passed
+1 💚 mvnsite 3m 36s trunk passed
+1 💚 shadedclient 23m 42s branch has no errors when building and testing our client artifacts.
+1 💚 javadoc 2m 14s trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javadoc 3m 58s trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+0 🆗 spotbugs 1m 19s Used deprecated FindBugs config; considering switching to SpotBugs.
+1 💚 findbugs 6m 51s trunk passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 22s Maven dependency ordering for patch
+1 💚 mvninstall 2m 38s the patch passed
+1 💚 compile 20m 51s the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javac 20m 51s the patch passed
+1 💚 compile 18m 0s the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 javac 18m 0s the patch passed
+1 💚 checkstyle 2m 56s root: The patch generated 0 new + 734 unchanged - 1 fixed = 734 total (was 735)
+1 💚 mvnsite 3m 33s the patch passed
-1 ❌ whitespace 0m 0s /whitespace-eol.txt The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
+1 💚 shadedclient 16m 38s patch has no errors when building and testing our client artifacts.
+1 💚 javadoc 2m 13s the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javadoc 3m 58s the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 findbugs 7m 15s the patch passed
_ Other Tests _
+1 💚 unit 9m 34s hadoop-common in the patch passed.
-1 ❌ unit 128m 49s /patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt hadoop-hdfs in the patch passed.
+1 💚 unit 10m 20s hadoop-hdfs-rbf in the patch passed.
+1 💚 asflicense 0m 50s The patch does not generate ASF License warnings.
344m 43s
Reason Tests
Failed junit tests hadoop.hdfs.TestMiniDFSCluster
hadoop.hdfs.TestDFSStripedOutputStream
hadoop.hdfs.TestReadStripedFileWithDNFailure
hadoop.hdfs.TestFileChecksumCompositeCrc
hadoop.hdfs.TestFileChecksum
hadoop.hdfs.security.TestDelegationToken
Subsystem Report/Notes
Docker ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/8/artifact/out/Dockerfile
GITHUB PR #2377
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux d82bc2f669bd 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 7f8ef76
Default Java Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/8/testReport/
Max. process+thread count 3366 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-rbf U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/8/console
versions git=2.17.1 maven=3.6.0 findbugs=4.1.3
Powered by Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@YaYun-Wang
Copy link
Contributor Author

@ayushtkn ,ok, we will fix that all in the pull request.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 33m 44s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 0m 0s test4tests The patch appears to include 4 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 11m 38s Maven dependency ordering for branch
+1 💚 mvninstall 20m 38s trunk passed
+1 💚 compile 20m 0s trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 compile 17m 11s trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 checkstyle 2m 52s trunk passed
+1 💚 mvnsite 3m 58s trunk passed
+1 💚 shadedclient 22m 13s branch has no errors when building and testing our client artifacts.
+1 💚 javadoc 2m 38s trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javadoc 4m 26s trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+0 🆗 spotbugs 1m 26s Used deprecated FindBugs config; considering switching to SpotBugs.
+1 💚 findbugs 6m 56s trunk passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 26s Maven dependency ordering for patch
+1 💚 mvninstall 2m 36s the patch passed
+1 💚 compile 19m 14s the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javac 19m 14s the patch passed
+1 💚 compile 17m 9s the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 javac 17m 9s the patch passed
+1 💚 checkstyle 2m 50s root: The patch generated 0 new + 734 unchanged - 1 fixed = 734 total (was 735)
+1 💚 mvnsite 3m 55s the patch passed
-1 ❌ whitespace 0m 0s /whitespace-eol.txt The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
+1 💚 shadedclient 15m 0s patch has no errors when building and testing our client artifacts.
+1 💚 javadoc 2m 35s the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javadoc 4m 23s the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 findbugs 7m 17s the patch passed
_ Other Tests _
+1 💚 unit 10m 10s hadoop-common in the patch passed.
-1 ❌ unit 124m 28s /patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt hadoop-hdfs in the patch passed.
-1 ❌ unit 9m 45s /patch-unit-hadoop-hdfs-project_hadoop-hdfs-rbf.txt hadoop-hdfs-rbf in the patch passed.
+1 💚 asflicense 1m 6s The patch does not generate ASF License warnings.
365m 57s
Reason Tests
Failed junit tests hadoop.hdfs.TestFileChecksum
hadoop.hdfs.TestFileChecksumCompositeCrc
hadoop.hdfs.server.namenode.ha.TestHAAppend
hadoop.hdfs.server.federation.router.TestRouterRpcMultiDestination
Subsystem Report/Notes
Docker ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/9/artifact/out/Dockerfile
GITHUB PR #2377
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux d6f94b366d20 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 7f8ef76
Default Java Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/9/testReport/
Max. process+thread count 3558 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-rbf U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/9/console
versions git=2.17.1 maven=3.6.0 findbugs=4.1.3
Powered by Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@liuml07
Copy link
Member

liuml07 commented Oct 22, 2020

Better we have the NamenodeLayout also fixed and conclude the Nvdimm stuff.

Yes, I think I'm +1 on this.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 1m 5s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 0m 0s test4tests The patch appears to include 4 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 11m 18s Maven dependency ordering for branch
+1 💚 mvninstall 22m 56s trunk passed
+1 💚 compile 21m 28s trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 compile 18m 7s trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 checkstyle 2m 57s trunk passed
+1 💚 mvnsite 3m 35s trunk passed
+1 💚 shadedclient 23m 33s branch has no errors when building and testing our client artifacts.
+1 💚 javadoc 2m 13s trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javadoc 3m 59s trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+0 🆗 spotbugs 1m 19s Used deprecated FindBugs config; considering switching to SpotBugs.
+1 💚 findbugs 6m 49s trunk passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 22s Maven dependency ordering for patch
+1 💚 mvninstall 2m 36s the patch passed
+1 💚 compile 20m 53s the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javac 20m 53s the patch passed
+1 💚 compile 18m 9s the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 javac 18m 9s the patch passed
+1 💚 checkstyle 2m 52s root: The patch generated 0 new + 734 unchanged - 1 fixed = 734 total (was 735)
+1 💚 mvnsite 3m 34s the patch passed
-1 ❌ whitespace 0m 0s /whitespace-eol.txt The patch has 2 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
+1 💚 shadedclient 16m 37s patch has no errors when building and testing our client artifacts.
+1 💚 javadoc 2m 13s the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javadoc 4m 4s the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 findbugs 7m 17s the patch passed
_ Other Tests _
+1 💚 unit 9m 33s hadoop-common in the patch passed.
-1 ❌ unit 115m 15s /patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt hadoop-hdfs in the patch passed.
+1 💚 unit 10m 37s hadoop-hdfs-rbf in the patch passed.
+1 💚 asflicense 0m 55s The patch does not generate ASF License warnings.
331m 15s
Reason Tests
Failed junit tests hadoop.hdfs.web.TestWebHdfsWithMultipleNameNodes
hadoop.hdfs.server.namenode.TestDecommissioningStatusWithBackoffMonitor
hadoop.hdfs.TestFileChecksumCompositeCrc
hadoop.hdfs.server.balancer.TestBalancerWithMultipleNameNodes
hadoop.hdfs.TestFileChecksum
Subsystem Report/Notes
Docker ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/10/artifact/out/Dockerfile
GITHUB PR #2377
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux 60ae6905fd3e 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 7435604
Default Java Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/10/testReport/
Max. process+thread count 2911 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-rbf U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/10/console
versions git=2.17.1 maven=3.6.0 findbugs=4.1.3
Powered by Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Comment on lines 93 to 96
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since there is no release after this feature is committed, No need to increase layout version twice for same feature.
Usually one version increase is sufficient per release. But for clarity separate feature can be added.

In this case feature is only one. NVDIMM SUPPORT.

Comment on lines 39 to 42
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because of addition of new STORAGE TYPE,
during upgrade
calls from old clients, who doesnt have this storagetype, will experience failure.

Especially getQuotaUsage() call will experience failure. May be need to analyze more to avoid failures during upgrade.
Even though upgrade is finalized, old clients should continue to work.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We add check for setQuota() in FSNamesystem.java, I think it's ok, right?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

setQuota() check will only block during rollingupgrade. But once its finalized, still old clients experience failure.
Anyway thats the current problem, even before this feature. Can be handled in a separate Jira.

More details about failure: 2.10.1 client asking quota usage from 3.3.0 namenode.

$ bin/hdfs dfs -fs hdfs://namenode:8020/ -count -q -t -h /
count: Message missing required fields: usage.typeQuotaInfos.typeQuotaInfo[3].type

Above issue is coming, because 2.10.1 client doent know about PROVIDED StorageType.
Similar problem will occur for NVDIMM also from previous version clients.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure but will getStoragePolicies also land up in something similar issue? Due to unavailability of storage type? The quota stuff shall be there for PROVIDED also but in case this backward incompatibility is there with Storage Policy too, Then we need to find out some way.
@vinayakumarb do you have pointers or suggestions on this, how to tackle this?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have verified the getStoragePolicies() with older clients.
Older clients will get the storage policy but, unknown storage types will be ignored.
So in this case, ALLNVDIMM storage policy shows empty StorageTypes for older clients.

May be need to show DEFAULT StorageType instead of ignoring the unknown StorageTypes. This also can be fixed in a separate Jira. Right now, existing clients wont be broken on getStoragePolicies() call with this change.

So nothing special required for that in this PR.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for clarification and testing.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 1m 38s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 0m 0s test4tests The patch appears to include 4 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 10m 30s Maven dependency ordering for branch
+1 💚 mvninstall 27m 55s trunk passed
+1 💚 compile 27m 25s trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 compile 23m 22s trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 checkstyle 3m 25s trunk passed
+1 💚 mvnsite 4m 34s trunk passed
+1 💚 shadedclient 26m 39s branch has no errors when building and testing our client artifacts.
+1 💚 javadoc 3m 14s trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javadoc 4m 2s trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+0 🆗 spotbugs 1m 19s Used deprecated FindBugs config; considering switching to SpotBugs.
+1 💚 findbugs 6m 48s trunk passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 22s Maven dependency ordering for patch
+1 💚 mvninstall 2m 34s the patch passed
+1 💚 compile 20m 40s the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javac 20m 40s the patch passed
+1 💚 compile 17m 59s the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 javac 17m 59s the patch passed
+1 💚 checkstyle 3m 2s root: The patch generated 0 new + 734 unchanged - 1 fixed = 734 total (was 735)
+1 💚 mvnsite 3m 37s the patch passed
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 shadedclient 16m 40s patch has no errors when building and testing our client artifacts.
+1 💚 javadoc 2m 38s the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javadoc 4m 0s the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 findbugs 7m 17s the patch passed
_ Other Tests _
+1 💚 unit 10m 12s hadoop-common in the patch passed.
-1 ❌ unit 114m 25s /patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt hadoop-hdfs in the patch passed.
+1 💚 unit 9m 17s hadoop-hdfs-rbf in the patch passed.
+1 💚 asflicense 0m 54s The patch does not generate ASF License warnings.
350m 15s
Reason Tests
Failed junit tests hadoop.hdfs.TestViewDistributedFileSystem
hadoop.hdfs.TestGetFileChecksum
hadoop.hdfs.TestFileChecksum
hadoop.hdfs.TestFileChecksumCompositeCrc
hadoop.hdfs.tools.TestDFSZKFailoverController
Subsystem Report/Notes
Docker ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/11/artifact/out/Dockerfile
GITHUB PR #2377
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux 411ff1bcaf09 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / da1b6e3
Default Java Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/11/testReport/
Max. process+thread count 3233 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-rbf U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/11/console
versions git=2.17.1 maven=3.6.0 findbugs=4.1.3
Powered by Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 1m 16s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 0m 0s test4tests The patch appears to include 4 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 11m 23s Maven dependency ordering for branch
+1 💚 mvninstall 22m 48s trunk passed
+1 💚 compile 21m 22s trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 compile 18m 10s trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 checkstyle 3m 1s trunk passed
+1 💚 mvnsite 3m 34s trunk passed
+1 💚 shadedclient 23m 29s branch has no errors when building and testing our client artifacts.
+1 💚 javadoc 2m 37s trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javadoc 3m 57s trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+0 🆗 spotbugs 1m 19s Used deprecated FindBugs config; considering switching to SpotBugs.
+1 💚 findbugs 6m 48s trunk passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 22s Maven dependency ordering for patch
+1 💚 mvninstall 2m 33s the patch passed
+1 💚 compile 20m 43s the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javac 20m 43s the patch passed
+1 💚 compile 17m 57s the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 javac 17m 57s the patch passed
-0 ⚠️ checkstyle 2m 58s /diff-checkstyle-root.txt root: The patch generated 2 new + 734 unchanged - 1 fixed = 736 total (was 735)
+1 💚 mvnsite 3m 33s the patch passed
-1 ❌ whitespace 0m 0s /whitespace-tabs.txt The patch 3 line(s) with tabs.
+1 💚 shadedclient 16m 48s patch has no errors when building and testing our client artifacts.
+1 💚 javadoc 2m 41s the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javadoc 4m 2s the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 findbugs 7m 14s the patch passed
_ Other Tests _
+1 💚 unit 10m 7s hadoop-common in the patch passed.
-1 ❌ unit 113m 40s /patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt hadoop-hdfs in the patch passed.
-1 ❌ unit 9m 40s /patch-unit-hadoop-hdfs-project_hadoop-hdfs-rbf.txt hadoop-hdfs-rbf in the patch passed.
+1 💚 asflicense 0m 53s The patch does not generate ASF License warnings.
329m 39s
Reason Tests
Failed junit tests hadoop.hdfs.TestFileChecksum
hadoop.hdfs.TestFileChecksumCompositeCrc
hadoop.hdfs.server.federation.router.TestRouterRpc
Subsystem Report/Notes
Docker ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/13/artifact/out/Dockerfile
GITHUB PR #2377
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux 08cfbf3977f7 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 8724406
Default Java Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/13/testReport/
Max. process+thread count 3162 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-rbf U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/13/console
versions git=2.17.1 maven=3.6.0 findbugs=4.1.3
Powered by Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 1m 9s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 0m 0s test4tests The patch appears to include 4 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 11m 42s Maven dependency ordering for branch
+1 💚 mvninstall 23m 4s trunk passed
+1 💚 compile 21m 54s trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 compile 18m 13s trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 checkstyle 2m 57s trunk passed
+1 💚 mvnsite 3m 38s trunk passed
+1 💚 shadedclient 23m 34s branch has no errors when building and testing our client artifacts.
+1 💚 javadoc 2m 41s trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javadoc 3m 59s trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+0 🆗 spotbugs 1m 19s Used deprecated FindBugs config; considering switching to SpotBugs.
+1 💚 findbugs 6m 50s trunk passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 22s Maven dependency ordering for patch
+1 💚 mvninstall 2m 38s the patch passed
+1 💚 compile 20m 48s the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javac 20m 48s the patch passed
+1 💚 compile 18m 18s the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 javac 18m 18s the patch passed
-0 ⚠️ checkstyle 3m 0s /diff-checkstyle-root.txt root: The patch generated 1 new + 734 unchanged - 1 fixed = 735 total (was 735)
+1 💚 mvnsite 3m 35s the patch passed
-1 ❌ whitespace 0m 0s /whitespace-tabs.txt The patch 1 line(s) with tabs.
+1 💚 shadedclient 16m 45s patch has no errors when building and testing our client artifacts.
+1 💚 javadoc 2m 38s the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javadoc 4m 1s the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 findbugs 7m 22s the patch passed
_ Other Tests _
-1 ❌ unit 9m 49s /patch-unit-hadoop-common-project_hadoop-common.txt hadoop-common in the patch passed.
-1 ❌ unit 93m 52s /patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt hadoop-hdfs in the patch passed.
-1 ❌ unit 16m 6s /patch-unit-hadoop-hdfs-project_hadoop-hdfs-rbf.txt hadoop-hdfs-rbf in the patch passed.
+0 🆗 asflicense 0m 58s ASF License check generated no output?
318m 8s
Reason Tests
Failed junit tests hadoop.security.TestRaceWhenRelogin
hadoop.hdfs.server.namenode.snapshot.TestNestedSnapshots
hadoop.hdfs.server.namenode.TestINodeFile
hadoop.hdfs.server.namenode.TestCommitBlockWithInvalidGenStamp
hadoop.hdfs.server.namenode.snapshot.TestSnapshot
hadoop.hdfs.server.namenode.snapshot.TestSnapshottableDirListing
hadoop.hdfs.TestDFSUpgrade
hadoop.hdfs.server.namenode.TestAddStripedBlocks
hadoop.hdfs.server.namenode.snapshot.TestRenameWithSnapshots
hadoop.hdfs.server.namenode.snapshot.TestSnapshotDeletion
hadoop.hdfs.server.namenode.ha.TestUpdateBlockTailing
hadoop.hdfs.server.namenode.snapshot.TestSnapRootDescendantDiff
hadoop.hdfs.server.namenode.TestNamenodeRetryCache
hadoop.hdfs.server.blockmanagement.TestBlockStatsMXBean
hadoop.hdfs.TestBatchedListDirectories
hadoop.hdfs.server.namenode.TestAddStripedBlockInFBR
hadoop.hdfs.server.namenode.TestStripedINodeFile
hadoop.hdfs.server.namenode.snapshot.TestSnapshotDiffReport
hadoop.hdfs.TestDatanodeConfig
hadoop.fs.contract.router.TestRouterHDFSContractSeek
hadoop.fs.contract.router.TestRouterHDFSContractSetTimesSecure
hadoop.fs.contract.router.TestRouterHDFSContractCreate
hadoop.fs.contract.router.TestRouterHDFSContractDelegationToken
hadoop.fs.contract.router.TestRouterHDFSContractSetTimes
hadoop.fs.contract.router.TestRouterHDFSContractSeekSecure
hadoop.fs.contract.router.TestRouterHDFSContractConcat
hadoop.fs.contract.router.TestRouterHDFSContractRootDirectorySecure
Subsystem Report/Notes
Docker ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/14/artifact/out/Dockerfile
GITHUB PR #2377
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux 232d12a2b6ae 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 8724406
Default Java Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/14/testReport/
Max. process+thread count 2173 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-rbf U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/14/console
versions git=2.17.1 maven=3.6.0 findbugs=4.1.3
Powered by Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 1m 4s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 0m 0s test4tests The patch appears to include 4 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 11m 38s Maven dependency ordering for branch
+1 💚 mvninstall 20m 30s trunk passed
+1 💚 compile 19m 51s trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 compile 17m 7s trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 checkstyle 2m 55s trunk passed
+1 💚 mvnsite 3m 52s trunk passed
+1 💚 shadedclient 22m 23s branch has no errors when building and testing our client artifacts.
+1 💚 javadoc 3m 1s trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javadoc 4m 28s trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+0 🆗 spotbugs 1m 25s Used deprecated FindBugs config; considering switching to SpotBugs.
+1 💚 findbugs 6m 50s trunk passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 26s Maven dependency ordering for patch
+1 💚 mvninstall 2m 34s the patch passed
+1 💚 compile 19m 12s the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javac 19m 12s the patch passed
+1 💚 compile 17m 14s the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 javac 17m 14s the patch passed
-0 ⚠️ checkstyle 2m 56s /diff-checkstyle-root.txt root: The patch generated 1 new + 734 unchanged - 1 fixed = 735 total (was 735)
+1 💚 mvnsite 3m 52s the patch passed
-1 ❌ whitespace 0m 0s /whitespace-tabs.txt The patch 1 line(s) with tabs.
+1 💚 shadedclient 15m 1s patch has no errors when building and testing our client artifacts.
+1 💚 javadoc 3m 0s the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javadoc 4m 24s the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚 findbugs 7m 15s the patch passed
_ Other Tests _
+1 💚 unit 10m 14s hadoop-common in the patch passed.
-1 ❌ unit 121m 49s /patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt hadoop-hdfs in the patch passed.
-1 ❌ unit 9m 33s /patch-unit-hadoop-hdfs-project_hadoop-hdfs-rbf.txt hadoop-hdfs-rbf in the patch passed.
+1 💚 asflicense 1m 7s The patch does not generate ASF License warnings.
330m 57s
Reason Tests
Failed junit tests hadoop.hdfs.TestFileChecksum
hadoop.hdfs.TestFileChecksumCompositeCrc
hadoop.hdfs.server.blockmanagement.TestUnderReplicatedBlocks
hadoop.hdfs.server.namenode.ha.TestPipelinesFailover
hadoop.hdfs.server.balancer.TestBalancer
hadoop.hdfs.server.namenode.ha.TestHAAppend
hadoop.hdfs.server.federation.router.TestRouterRpcMultiDestination
Subsystem Report/Notes
Docker ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/15/artifact/out/Dockerfile
GITHUB PR #2377
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux 92f60d715a3f 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 8724406
Default Java Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/15/testReport/
Max. process+thread count 3528 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-rbf U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/15/console
versions git=2.17.1 maven=3.6.0 findbugs=4.1.3
Powered by Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any reason to change the minCompatLV to -66?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As the comment above said:
If the feature cannot satisfy compatibility with any prior version, then set its minimum compatible lqyout version to itself to indicate that downgrade is impossible.

Or maybe we missed something?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not very aware, but yes, if I am decoding the comment correct, This should be 66 both.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keep it -61 for minCompatLV itself.
More details here

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will change the miniCompatLV to -61, thanks for your clarification.

@brahmareddybattula
Copy link
Contributor

I think, you can hold on till HDFS-15660 addressed.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This check should be done in case of setStoragePolicy also, if the storage policy is ALLNVDIMM

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Please see code above. Thanks.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not very aware, but yes, if I am decoding the comment correct, This should be 66 both.

Comment on lines 39 to 42
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure but will getStoragePolicies also land up in something similar issue? Due to unavailability of storage type? The quota stuff shall be there for PROVIDED also but in case this backward incompatibility is there with Storage Policy too, Then we need to find out some way.
@vinayakumarb do you have pointers or suggestions on this, how to tackle this?

Copy link
Contributor

@vinayakumarb vinayakumarb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to make both as -66. Keep it as -61 itself, unless cant keep backward compatibility even with avoiding operations related to this feature. Second one is to indicate till which version downgrade is possible from the fsimage generated by this version’s generated fsimage during rolling upgrade.

You have to make sure that no NVDIMM related operations are allowed during rolling upgrade, so that fsimage/editlog generated during this period is compatible with pre-upgrade version incase user want to downgrade without loosing the latest data.

Comment on lines +3572 to +3580
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar check you need to add when user tries to use NVDIMM based storage policy..

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Please see code above. Thanks.

Comment on lines 39 to 42
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

setQuota() check will only block during rollingupgrade. But once its finalized, still old clients experience failure.
Anyway thats the current problem, even before this feature. Can be handled in a separate Jira.

More details about failure: 2.10.1 client asking quota usage from 3.3.0 namenode.

$ bin/hdfs dfs -fs hdfs://namenode:8020/ -count -q -t -h /
count: Message missing required fields: usage.typeQuotaInfos.typeQuotaInfo[3].type

Above issue is coming, because 2.10.1 client doent know about PROVIDED StorageType.
Similar problem will occur for NVDIMM also from previous version clients.

@vinayakumarb
Copy link
Contributor

I think, you can hold on till HDFS-15660 addressed.

I dont think need to hold this Jira, unless HDFS-15660 cant be solved in the same release as NVDIMM feature altogether.
Once all comments of this jira are handled, can push this in.
HDFS-15660 will support handling of both PROVIDED and NVDIMM storage types for older clients in a generic way.

So both can go independently but need to make sure both lands in same release.

@huangtianhua huangtianhua force-pushed the HDFS-15624 branch 2 times, most recently from 2321ba5 to 4d53da6 Compare October 31, 2020 01:33
kevinbrandon2020 and others added 3 commits November 4, 2020 09:37
This changes:
1. puts NVDIMM to the end of storage type enum
   to make sure compatibility.
2. adds check for setQuota() and setStoragePolicy()
   to make sure the software layout version is
   satisfied.
@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 1m 15s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 0m 0s test4tests The patch appears to include 4 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 14m 45s Maven dependency ordering for branch
+1 💚 mvninstall 23m 17s trunk passed
+1 💚 compile 21m 20s trunk passed with JDK Ubuntu-11.0.9+11-Ubuntu-0ubuntu1.18.04.1
+1 💚 compile 18m 6s trunk passed with JDK Private Build-1.8.0_272-8u272-b10-0ubuntu1~18.04-b10
+1 💚 checkstyle 3m 5s trunk passed
+1 💚 mvnsite 3m 38s trunk passed
+1 💚 shadedclient 23m 39s branch has no errors when building and testing our client artifacts.
+1 💚 javadoc 2m 41s trunk passed with JDK Ubuntu-11.0.9+11-Ubuntu-0ubuntu1.18.04.1
+1 💚 javadoc 4m 4s trunk passed with JDK Private Build-1.8.0_272-8u272-b10-0ubuntu1~18.04-b10
+0 🆗 spotbugs 1m 21s Used deprecated FindBugs config; considering switching to SpotBugs.
+1 💚 findbugs 6m 53s trunk passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 22s Maven dependency ordering for patch
+1 💚 mvninstall 2m 35s the patch passed
+1 💚 compile 20m 44s the patch passed with JDK Ubuntu-11.0.9+11-Ubuntu-0ubuntu1.18.04.1
+1 💚 javac 20m 44s the patch passed
+1 💚 compile 18m 6s the patch passed with JDK Private Build-1.8.0_272-8u272-b10-0ubuntu1~18.04-b10
+1 💚 javac 18m 6s the patch passed
+1 💚 checkstyle 3m 0s root: The patch generated 0 new + 734 unchanged - 1 fixed = 734 total (was 735)
+1 💚 mvnsite 3m 33s the patch passed
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 shadedclient 16m 31s patch has no errors when building and testing our client artifacts.
+1 💚 javadoc 2m 39s the patch passed with JDK Ubuntu-11.0.9+11-Ubuntu-0ubuntu1.18.04.1
+1 💚 javadoc 4m 4s the patch passed with JDK Private Build-1.8.0_272-8u272-b10-0ubuntu1~18.04-b10
+1 💚 findbugs 7m 12s the patch passed
_ Other Tests _
-1 ❌ unit 10m 17s /patch-unit-hadoop-common-project_hadoop-common.txt hadoop-common in the patch passed.
-1 ❌ unit 111m 14s /patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt hadoop-hdfs in the patch passed.
+1 💚 unit 9m 31s hadoop-hdfs-rbf in the patch passed.
+1 💚 asflicense 0m 54s The patch does not generate ASF License warnings.
331m 35s
Reason Tests
Failed junit tests hadoop.security.TestLdapGroupsMapping
hadoop.crypto.key.TestKeyProviderFactory
hadoop.hdfs.server.balancer.TestBalancerWithHANameNodes
hadoop.hdfs.TestFileChecksum
hadoop.hdfs.TestFileChecksumCompositeCrc
hadoop.hdfs.server.namenode.TestNamenodeCapacityReport
Subsystem Report/Notes
Docker ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/20/artifact/out/Dockerfile
GITHUB PR #2377
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux 759092337d3e 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / d07dc7a
Default Java Private Build-1.8.0_272-8u272-b10-0ubuntu1~18.04-b10
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.9+11-Ubuntu-0ubuntu1.18.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_272-8u272-b10-0ubuntu1~18.04-b10
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/20/testReport/
Max. process+thread count 3233 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-rbf U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/20/console
versions git=2.17.1 maven=3.6.0 findbugs=4.1.3
Powered by Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@huangtianhua
Copy link
Contributor

@liuml07 @vinayakumarb @brahmareddybattula Sorry to disturb, would you please help to review, thanks very much.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 1m 9s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 0m 0s test4tests The patch appears to include 4 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 13m 32s Maven dependency ordering for branch
+1 💚 mvninstall 23m 33s trunk passed
+1 💚 compile 21m 28s trunk passed with JDK Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04
+1 💚 compile 17m 59s trunk passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
+1 💚 checkstyle 2m 57s trunk passed
+1 💚 mvnsite 3m 33s trunk passed
+1 💚 shadedclient 23m 48s branch has no errors when building and testing our client artifacts.
+1 💚 javadoc 2m 39s trunk passed with JDK Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04
+1 💚 javadoc 4m 2s trunk passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
+0 🆗 spotbugs 1m 20s Used deprecated FindBugs config; considering switching to SpotBugs.
+1 💚 findbugs 6m 47s trunk passed
-0 ⚠️ patch 1m 39s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 22s Maven dependency ordering for patch
+1 💚 mvninstall 2m 37s the patch passed
+1 💚 compile 20m 41s the patch passed with JDK Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04
+1 💚 javac 20m 41s the patch passed
+1 💚 compile 18m 0s the patch passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
+1 💚 javac 18m 0s the patch passed
+1 💚 checkstyle 2m 53s root: The patch generated 0 new + 405 unchanged - 1 fixed = 405 total (was 406)
+1 💚 mvnsite 3m 34s the patch passed
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 shadedclient 16m 58s patch has no errors when building and testing our client artifacts.
+1 💚 javadoc 2m 38s the patch passed with JDK Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04
+1 💚 javadoc 3m 58s the patch passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
+1 💚 findbugs 7m 18s the patch passed
_ Other Tests _
+1 💚 unit 10m 6s hadoop-common in the patch passed.
-1 ❌ unit 114m 13s /patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt hadoop-hdfs in the patch passed.
+1 💚 unit 9m 36s hadoop-hdfs-rbf in the patch passed.
+1 💚 asflicense 0m 54s The patch does not generate ASF License warnings.
333m 42s
Reason Tests
Failed junit tests hadoop.hdfs.server.balancer.TestBalancer
Subsystem Report/Notes
Docker ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/21/artifact/out/Dockerfile
GITHUB PR #2377
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux 6a28d82dc32c 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 7d3c8ef
Default Java Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/21/testReport/
Max. process+thread count 3286 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-rbf U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2377/21/console
versions git=2.17.1 maven=3.6.0 findbugs=4.0.6
Powered by Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@huangtianhua
Copy link
Contributor

@liuml07 @linyiqun Sorry to disturb you again :) the jira https://issues.apache.org/jira/browse/HDFS-15660 was fixed, and I think we can review this patch? Thanks very much.

@huangtianhua
Copy link
Contributor

@ayushtkn Hi, maybe you can help to review this :)? Thanks very much

@huangtianhua
Copy link
Contributor

@tangzhankun would you please have a look for this, thanks very much.

Copy link
Member

@liuml07 liuml07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@ayushtkn
Copy link
Member

ayushtkn commented Jan 4, 2021

Thanx @huangtianhua for the work here, Sorry I couldn't revert back to your emails & pings.

@brahmareddybattula has objections on the jira with the approach itself. Quoting him from the jira

I dn't think bumping the namelayout is best solution, need to check other way. ( may be like checking the client version during the upgrade.)

There is no code change post HDFS-15660? It was asserted the generic solution shall solve this problem or will change something

So, We might need changes here post HDFS-15660. should wait for him, unless he is convinced.

@huangtianhua
Copy link
Contributor

huangtianhua commented Jan 5, 2021

@ayushtkn, thanks for review it. HDFS-15660 supports handling storage types for older clients in a generic way, and it has been merged, or I missed it?

@ayushtkn
Copy link
Member

ayushtkn commented Jan 5, 2021

@huangtianhua nopes you didn't. I know that is merged. That is what I said, but there were assertions earlier on jira that we should hold this code in Jira, for HDFS-15660. That would fix something or change our code here. So, we held this jira because of that only. So, just want to wait, so that can be clarified what needs to be done here post HDFS-15660.

And secondly the NamenodeLayout version approach had objection too as I quoted above. We need to get an agreement over there.

For me the code is good enough, once we have clarifications regarding these things, can conclude this

@huangtianhua
Copy link
Contributor

@ayushtkn , in fact we don't have to hold this for HDFS-15660 as vinay said, the codes here is to fix the specific issues of NVDIMM, to avoid operations which related with storage type during rollingupgrade, to keep the orinal of storage type to make sure the editLog/fsimage works after restart namenode. IIUC, the miniCompatLV of namenodelayout version is introduced to make sure to refuse operations while rollingupgrade, so I think the approach is appropriate for the situation.

@huangtianhua
Copy link
Contributor

@liuml07 @vinayakumarb , would you please to merge this, we wait so long and seems there is no other opinion, thanks very much.

Copy link
Member

@liuml07 liuml07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 again as HDFS-15660 is already committed.

I will hold on a week so @vinayakumarb can post his comments before we merge this.

Copy link
Member

@ayushtkn ayushtkn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@huangtianhua
Copy link
Contributor

@liuml07 @ayushtkn Thanks all:)

@huangtianhua
Copy link
Contributor

@liuml07 could you approve this? Thanks very much.

@liuml07 liuml07 merged commit 394b9f7 into apache:trunk Feb 3, 2021
@liuml07
Copy link
Member

liuml07 commented Feb 3, 2021

Merged and resolved the JIRA. Thank you all!

asfgit pushed a commit that referenced this pull request Apr 26, 2021
…#2377)"

This reverts commit 394b9f7.

Ref: HDFS-15995.
Had to revert this commit, so we can commit HDFS-15566 (a critical bug preventing rolling upgrade to Hadoop 3.3)
Will re-work this fix again later.
jojochuang added a commit to jojochuang/hadoop that referenced this pull request Apr 26, 2021
…#2377)

    1. puts NVDIMM to the end of storage type enum to make sure compatibility.
    2. adds check to make sure the software layout version is satisfied

    Co-authored-by: su xu <[email protected]>
    Co-authored-by: huangtianhua <[email protected]>
    Co-authored-by: YaYun-Wang <[email protected]>

    Signed-off-by: Mingliang Liu <[email protected]>
    Signed-off-by: Ayush Saxena <[email protected]>
    Signed-off-by: Vinayakumar B <[email protected]>

Change-Id: I3c58beef50730827a09b3c968e9ad637baa57d44
jojochuang added a commit that referenced this pull request Apr 29, 2021
…#2955)

1. puts NVDIMM to the end of storage type enum to make sure compatibility.
2. adds check to make sure the software layout version is satisfied

Co-authored-by: su xu <[email protected]>
Co-authored-by: huangtianhua <[email protected]>
Co-authored-by: YaYun-Wang <[email protected]>

Signed-off-by: Mingliang Liu <[email protected]>
Signed-off-by: Ayush Saxena <[email protected]>
Signed-off-by: Vinayakumar B <[email protected]>

Change-Id: I3c58beef50730827a09b3c968e9ad637baa57d44
kiran-maturi pushed a commit to kiran-maturi/hadoop that referenced this pull request Nov 24, 2021
…apache#2377)"

This reverts commit 394b9f7.

Ref: HDFS-15995.
Had to revert this commit, so we can commit HDFS-15566 (a critical bug preventing rolling upgrade to Hadoop 3.3)
Will re-work this fix again later.
kiran-maturi pushed a commit to kiran-maturi/hadoop that referenced this pull request Nov 24, 2021
…#2377) (apache#2955)

1. puts NVDIMM to the end of storage type enum to make sure compatibility.
2. adds check to make sure the software layout version is satisfied

Co-authored-by: su xu <[email protected]>
Co-authored-by: huangtianhua <[email protected]>
Co-authored-by: YaYun-Wang <[email protected]>

Signed-off-by: Mingliang Liu <[email protected]>
Signed-off-by: Ayush Saxena <[email protected]>
Signed-off-by: Vinayakumar B <[email protected]>

Change-Id: I3c58beef50730827a09b3c968e9ad637baa57d44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants