[
https://issues.apache.org/jira/browse/HDFS-13281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16476037#comment-16476037
]
Rushabh S Shah commented on HDFS-13281:
---------------------------------------
Test failures on the recent run.
{noformat}
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running
org.apache.hadoop.hdfs.server.datanode.TestDataNodeVolumeFailureReporting
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 97.262 s
- in org.apache.hadoop.hdfs.server.datanode.TestDataNodeVolumeFailureReporting
[INFO] Running
org.apache.hadoop.hdfs.server.namenode.metrics.TestNameNodeMetrics
[INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 88.916
s - in org.apache.hadoop.hdfs.server.namenode.metrics.TestNameNodeMetrics
[INFO] Running org.apache.hadoop.hdfs.server.namenode.TestReencryptionWithKMS
[ERROR] Tests run: 33, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
174.586 s <<< FAILURE! - in
org.apache.hadoop.hdfs.server.namenode.TestReencryptionWithKMS
[ERROR]
testReencryptionKMSDown(org.apache.hadoop.hdfs.server.namenode.TestReencryptionWithKMS)
Time elapsed: 1.921 s <<< FAILURE!
java.lang.AssertionError: expected:<5> but was:<0>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:555)
at org.junit.Assert.assertEquals(Assert.java:542)
at
org.apache.hadoop.hdfs.server.namenode.TestReencryption.testReencryptionKMSDown(TestReencryption.java:1777)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at
org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
[INFO] Running org.apache.hadoop.hdfs.server.namenode.ha.TestRetryCacheWithHA
[ERROR] Tests run: 22, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
214.029 s <<< FAILURE! - in
org.apache.hadoop.hdfs.server.namenode.ha.TestRetryCacheWithHA
[ERROR]
testUpdatePipeline(org.apache.hadoop.hdfs.server.namenode.ha.TestRetryCacheWithHA)
Time elapsed: 16.525 s <<< FAILURE!
java.lang.AssertionError: After waiting the operation updatePipeline still has
not taken effect on NN yet
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at
org.apache.hadoop.hdfs.server.namenode.ha.TestRetryCacheWithHA.testClientRetryWithFailover(TestRetryCacheWithHA.java:1324)
at
org.apache.hadoop.hdfs.server.namenode.ha.TestRetryCacheWithHA.testUpdatePipeline(TestRetryCacheWithHA.java:1222)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at
org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
[INFO] Running
org.apache.hadoop.hdfs.server.namenode.TestNameNodeMetadataConsistency
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.437 s
- in org.apache.hadoop.hdfs.server.namenode.TestNameNodeMetadataConsistency
[INFO] Running
org.apache.hadoop.hdfs.server.blockmanagement.TestBlockStatsMXBean
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.273 s
- in org.apache.hadoop.hdfs.server.blockmanagement.TestBlockStatsMXBean
[INFO] Running org.apache.hadoop.hdfs.TestDFSClientRetries
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 148.538
s - in org.apache.hadoop.hdfs.TestDFSClientRetries
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] TestReencryptionWithKMS>TestReencryption.testReencryptionKMSDown:1777
expected:<5> but was:<0>
[ERROR]
TestRetryCacheWithHA.testUpdatePipeline:1222->testClientRetryWithFailover:1324
After waiting the operation updatePipeline still has not taken effect on NN yet
[INFO]
[ERROR] Tests run: 98, Failures: 2, Errors: 0, Skipped: 0
{noformat}
For {{TestRetryCacheWithHA.testUpdatePipeline}}, reopened HDFS-7524
For {{TestReencryptionWithKMS}}, some other test is failing in local run. In
jenkins build, {{TestReencryptionWithKMS#testReencryptNestedZones}} failed and
in local run, {{TestReencryption#testReencryptionKMSDown}} failed.
Also on re-running, all tests passes.
{noformat}
INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.hadoop.hdfs.server.namenode.TestReencryptionWithKMS
[INFO] Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 171.625
s - in org.apache.hadoop.hdfs.server.namenode.TestReencryptionWithKMS
{noformat}
Seems like some flaky tests in {{TestReencryptionWithKMS}}.
[~xiaochen]: do you mind giving final pass.
Changed the tests according to your suggestions from last comment.
> Namenode#createFile should be /.reserved/raw/ aware.
> ----------------------------------------------------
>
> Key: HDFS-13281
> URL: https://issues.apache.org/jira/browse/HDFS-13281
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: encryption
> Affects Versions: 2.8.3
> Reporter: Rushabh S Shah
> Assignee: Rushabh S Shah
> Priority: Critical
> Attachments: HDFS-13281.001.patch, HDFS-13281.002.branch-2.patch,
> HDFS-13281.002.patch, HDFS-13281.003.patch
>
>
> If I want to write to /.reserved/raw/<dir> and if that directory happens to
> be in EZ, then namenode *should not* create edek and just copy the raw bytes
> from the source.
> Namenode#startFileInt should be /.reserved/raw/ aware.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]