Connect to remote YARN cluster

2015-04-09 Thread Zoltán Zvara
I'm trying to debug Spark in yarn-client mode. On my local, single node
cluster everything works fine, but the remote YARN resource manager throws
away my request because of authentication error. I'm running IntelliJ 14 on
Ubuntu and the driver tries to connect to YARN with my local user name. How
can I force IntelliJ to run my code with a different user? Or how can I set
up the connection to YARN RM with auth data?

Thanks!

Zvara Zoltán



mail, hangout, skype: zoltan.zv...@gmail.com

mobile, viber: +36203129543

bank: 10918001-0021-50480008

address: Hungary, 2475 Kápolnásnyék, Kossuth 6/a

elte: HSKSJZ (ZVZOAAI.ELTE)


Re: Connect to remote YARN cluster

2015-04-09 Thread Steve Loughran

 On 9 Apr 2015, at 17:42, Marcelo Vanzin van...@cloudera.com wrote:
 
 If YARN is authenticating users it's probably running on kerberos, so
 you need to log in with your kerberos credentials (kinit) before
 submitting an application.

also: make sure that you have the full JCE and not the crippled crypto; every 
time you upgrade the JDK you are likely to have to re-install it. Java gives no 
useful error messages on this or any other Kerberos problem

-
To unsubscribe, e-mail: dev-unsubscr...@spark.apache.org
For additional commands, e-mail: dev-h...@spark.apache.org



Re: Connect to remote YARN cluster

2015-04-09 Thread Marcelo Vanzin
If YARN is authenticating users it's probably running on kerberos, so
you need to log in with your kerberos credentials (kinit) before
submitting an application.

On Thu, Apr 9, 2015 at 4:57 AM, Zoltán Zvara zoltan.zv...@gmail.com wrote:
 I'm trying to debug Spark in yarn-client mode. On my local, single node
 cluster everything works fine, but the remote YARN resource manager throws
 away my request because of authentication error. I'm running IntelliJ 14 on
 Ubuntu and the driver tries to connect to YARN with my local user name. How
 can I force IntelliJ to run my code with a different user? Or how can I set
 up the connection to YARN RM with auth data?

 Thanks!

 Zvara Zoltán



 mail, hangout, skype: zoltan.zv...@gmail.com

 mobile, viber: +36203129543

 bank: 10918001-0021-50480008

 address: Hungary, 2475 Kápolnásnyék, Kossuth 6/a

 elte: HSKSJZ (ZVZOAAI.ELTE)



-- 
Marcelo

-
To unsubscribe, e-mail: dev-unsubscr...@spark.apache.org
For additional commands, e-mail: dev-h...@spark.apache.org