Ivan Veselovsky created IGNITE-3312:
---------------------------------------
Summary: [Test]
HadoopMapReduceEmbeddedSelfTest.testMultiReducerWholeMapReduceExecution flakily
fails.
Key: IGNITE-3312
URL: https://issues.apache.org/jira/browse/IGNITE-3312
Project: Ignite
Issue Type: Bug
Reporter: Ivan Veselovsky
Assignee: Ivan Veselovsky
HadoopMapReduceEmbeddedSelfTest.testMultiReducerWholeMapReduceExecution fails
with ~20% probability .
Failure cause is either the 1st or 2nd marked line in the following code
(org.apache.ignite.internal.processors.igfs.IgfsMetaManager#create) :
{code}
// Check: can we overwrite it?
if (!overwrite)
throw new
IgfsPathAlreadyExistsException("Failed to create a file: " + path); // ***** #1
// Check if file already opened for write.
if (oldInfo.lockId() != null)
throw new IgfsException("File is already opened
for write: " + path); // ***** #2
{code}
Diagnostic shows that the same file really attempted to be created several
times on one thread.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)