post spark commit method