When a dir is created concurrently, DefaultFileSystemMaster#createDirectory throws FileDoesNotExistException.

Description

[2018-11-06 12:14:30.828 GMT+0800][DefaultFileSystemMasterool-25-thread-60][Failed to Create directory: ]
alluxio.exception.FileDoesNotExistException: Path "/some/path" does not exist.
at alluxio.master.file.meta.LockedInodePath.getInode(LockedInodePath.java:88)
at alluxio.master.file.DefaultFileSystemMaster.createDirectoryInternal(DefaultFileSystemMaster.java:2047)
at alluxio.master.file.DefaultFileSystemMaster.createDirectoryAndJournal(DefaultFileSystemMaster.java:2025)
at alluxio.master.file.DefaultFileSystemMaster.createDirectory(DefaultFileSystemMaster.java:1995)
at alluxio.master.file.FileSystemMasterClientServiceHandler.lambda$createDirectory$2(FileSystemMasterClientServiceHandler.java:136)
at alluxio.RpcUtils.call(RpcUtils.java:217)
at alluxio.RpcUtils.call(RpcUtils.java:189)
at alluxio.master.file.FileSystemMasterClientServiceHandler.createDirectory(FileSystemMasterClientServiceHandler.java:135)
at alluxio.thrift.FileSystemMasterClientService$Processor$createDirectory.getResult(FileSystemMasterClientService.java:1453)
at alluxio.thrift.FileSystemMasterClientService$Processor$createDirectory.getResult(FileSystemMasterClientService.java:1437)
at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
at alluxio.master.file.FileSystemMasterClientServiceProcessor.process(FileSystemMasterClientServiceProcessor.java:78)
at org.apache.thrift.TMultiplexedProcessor.process(TMultiplexedProcessor.java:123)
at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

Environment

None

Status

Assignee

Gene Pang

Reporter

ligq

Labels

None

Components

Affects versions

Priority

Major
Configure