Repository: Alluxio/alluxio (language: java)

Issue:
Table Master should not dependent FileSystemMaster
**Summary**

The TableMaster does not have anything that needs to depend on the FileSystemMaster, therefore remove the dependency definition.


**Urgency**

Middle.



Discussion / hints:

Fix patch:
diff --git a/table/server/master/src/main/java/alluxio/master/table/DefaultTableMaster.java b/table/server/master/src/main/java/alluxio/master/table/DefaultTableMaster.java
index 7643c847d257..c0f025b69621 100644
--- a/table/server/master/src/main/java/alluxio/master/table/DefaultTableMaster.java
+++ b/table/server/master/src/main/java/alluxio/master/table/DefaultTableMaster.java
@@ -24,9 +24,8 @@
 import alluxio.grpc.table.Database;
 import alluxio.grpc.table.Partition;
 import alluxio.grpc.table.SyncStatus;
-import alluxio.master.CoreMaster;
-import alluxio.master.CoreMasterContext;
-import alluxio.master.file.FileSystemMaster;
+import alluxio.master.AbstractMaster;
+import alluxio.master.MasterContext;
 import alluxio.master.journal.DelegatingJournaled;
 import alluxio.master.journal.JournalContext;
 import alluxio.master.journal.Journaled;
@@ -52,10 +51,10 @@
 /**
  * This table master manages catalogs metadata information.
  */
-public class DefaultTableMaster extends CoreMaster
+public class DefaultTableMaster extends AbstractMaster
     implements TableMaster, DelegatingJournaled {
   private static final Logger LOG = LoggerFactory.getLogger(DefaultTableMaster.class);
-  private static final Set<Class<? extends Server>> DEPS = ImmutableSet.of(FileSystemMaster.class);
+  private static final Set<Class<? extends Server>> DEPS = ImmutableSet.of();
   public static final String DEFAULT_TRANSFORMATION = "file.count.max=100";
 
   private final AlluxioCatalog mCatalog;
@@ -68,7 +67,7 @@ public class DefaultTableMaster extends CoreMaster
    * @param context core master context
    * @param jobMasterClient the job master client for transformation
    */
-  public DefaultTableMaster(CoreMasterContext context, JobMasterClient jobMasterClient) {
+  public DefaultTableMaster(MasterContext context, JobMasterClient jobMasterClient) {
     super(context, new SystemClock(),
         ExecutorServiceFactories.cachedThreadPool(Constants.TABLE_MASTER_NAME));
     mCatalog = new AlluxioCatalog();


Test patch: