spark sample java