CompactionManager: Fix compaction manager API URLs

The URLs had "compaction_manager" twice in them...
This commit is contained in:
Pekka Enberg 2016-01-21 09:13:59 +02:00
parent b6d55f0623
commit eec251805a

View File

@ -165,8 +165,7 @@ public class CompactionManager implements CompactionManagerMBean {
log(" forceUserDefinedCompaction(String dataFiles)");
MultivaluedMap<String, String> queryParams = new MultivaluedHashMap<String, String>();
queryParams.add("dataFiles", dataFiles);
c.post("compaction_manager/compaction_manager/force_user_defined_compaction",
queryParams);
c.post("compaction_manager/force_user_defined_compaction", queryParams);
}
/**
@ -180,8 +179,7 @@ public class CompactionManager implements CompactionManagerMBean {
log(" stopCompaction(String type)");
MultivaluedMap<String, String> queryParams = new MultivaluedHashMap<String, String>();
queryParams.add("type", type);
c.post("compaction_manager/compaction_manager/stop_compaction",
queryParams);
c.post("compaction_manager/stop_compaction", queryParams);
}
/**