Alluxio-Mesos : Journal get formatted on every Alluxio restart

Description

If the Alluxio journal is configured to HDFS UFS system, journal file gets formatted whenever we restart Alluxio.
This happens because

is called from AlluxioMasterExecutor everytime.

Environment

Mesos 1.2.2

Activity

Show:
Andrew Audibert
September 11, 2018, 6:21 PM

Thanks for reporting this. I agree it shouldn’t automatically format - we should check if the journal has already been formatted first. I’ve created a PR to add the check - could you try it out and see if it solves the issue for you? https://github.com/Alluxio/alluxio/pull/7839

Bin Fan
October 2, 2018, 9:52 PM

hi , shall we cherry-pick your fix to 1.8 branch? (in case 1.8.2 is needed)

Andrew Audibert
October 2, 2018, 10:04 PM

Assignee

Unassigned

Reporter

Jais Sebastian

Labels

None

Components

Affects versions

Priority

Major
Configure