public static void init(String batchId, BatchAction action) { try { EntityManager.setEntity(BatchEntityType.instance, batchId, action, false); } catch (EntityStorageAbsentException e) { throw new BuildException("There are no storage for HBase batch", e); } }