Marton Greber has uploaded this change for review. ( http://gerrit.cloudera.org:8080/23358
Change subject: Deflake testRandomBackupAndRestore ...................................................................... Deflake testRandomBackupAndRestore The backup/restore tests were intermittently failing. This wasn’t obvious at first because dist-test archives contained empty _ARCHIVE_TOO_BIG_-* files. Root cause was a Base64 dependency mismatch: java.lang.NoClassDefFoundError: org/apache/commons/net/util/Base64 Switching from org.apache.commons.net.util.Base64 to java.util.Base64 resolves the failure. The issue is reproduced by the new test testBinaryColumnBackupReproducesBase64Issue. During investigation I found another bug with BINARY range-partition boundaries causing: java.lang.ClassCastException: class java.nio.HeapByteBuffer cannot be cast to class [B This is fixed in the same valueToString switch; covered by testBinaryPartitionBoundariesBase64Issue. Before these fixes, running org.apache.kudu.backup.TestKuduBackup 100 times yielded 43 failures / 57 passes. After the fixes: 100/100 passes. This is not a full RCA I wanted to deflake with reasonable solution; I’ve opened KUDU-3694 to track root-cause follow-ups and additional action items. Change-Id: Ibbf05b23cb6c922ee880f4f1dda262be5e97452b --- M java/kudu-backup-common/src/main/scala/org/apache/kudu/backup/TableMetadata.scala M java/kudu-backup/src/test/scala/org/apache/kudu/backup/TestKuduBackup.scala 2 files changed, 150 insertions(+), 4 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/58/23358/1 -- To view, visit http://gerrit.cloudera.org:8080/23358 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ibbf05b23cb6c922ee880f4f1dda262be5e97452b Gerrit-Change-Number: 23358 Gerrit-PatchSet: 1 Gerrit-Owner: Marton Greber <[email protected]>
