cluster cli in java