} else {
appId = "Unknown_"+UUID.randomUUID();
}
}
flowKey = new FlowKey(cluster, username, appId, System.currentTimeMillis());
// create a new flow queue entry
UUID uuid = UUID.randomUUID();
flowQueueKey = new FlowQueueKey(cluster, Flow.Status.RUNNING,
System.currentTimeMillis(), uuid.toString());