You don't connect to spark exactly. The spark client (running on your remote machine) submits jobs to the YARN cluster running on HDP. What you probably need is yarn-cluster or yarn-client with the yarn client configs as downloaded from the Ambari actions menu.
Simon > On 10 Aug 2015, at 12:44, Zsombor Egyed <egye...@starschema.net> wrote: > > Hi! > > I want to know how can I connect to hortonworks spark from an other machine. > > So there is a HDP 2.2 and I want to connect to this, from remotely via java > api. > Do you have any suggestion? > > Thanks! > Regards, > > -- > > > Egyed Zsombor > Junior Big Data Engineer > > > Mobile: +36 70 320 65 81 | Twitter:@starschemaltd > Email: egye...@starschema.net | Web: www.starschema.net