REST api create does not actually create the file in the UFS

Description

When I call createFile rest API, it successfully creates a file in the Alluxio space, but does not create anything in hdfs space, eventhough I am using CACHE_THROUGH.

It seems like the create call only calls the Master-side `createPath` function and that function does not write to UFS at all.

Note this behavior is also inconsistent with the behavior of createDirectory

Environment

None

Status

Assignee

Unassigned

Reporter

David Zhu

Labels

None

Components

Affects versions

1.8.0

Priority

Major