We have a use case where we need to export data from HDFS to a RDBMS. I saw this example . Here they have store the username and password in the code. Is there any way to hi
As you run the application from console using spark-submit, you can access it through Java API:
Console console = System.console(); char passwordArray[] = console.readPassword("Enter your secret password: "); account.setPassword(passwordArray);