In the driver when running spark-submit with --master yarn-client On Fri, Jul 3, 2015 at 10:23 AM Akhil Das <ak...@sigmoidanalytics.com> wrote:
> Where does it returns null? Within the driver or in the executor? I just > tried System.console.readPassword in spark-shell and it worked. > > Thanks > Best Regards > > On Fri, Jul 3, 2015 at 2:32 PM, Jem Tucker <jem.tuc...@gmail.com> wrote: > >> Hi, >> >> We have an application that requires a username/password to be entered >> from the command line. To screen a password in java you need to use >> System.console.readPassword however when running with spark System.console >> returns null?? Any ideas on how to get the console from spark? >> >> Thanks, >> >> Jem >> > >