Search code examples
javaazurespring-boothadoop-yarnhadoop2

Spring Boot YARN override configuration, connect to Azure


I'm using this simple example to run Spring Yarn app against Hadoop on Azure.

The question is how can I set fs.azure.account.key.aaa.blob.core.windows.net property? Without it Spring YARN cannot deploy my jar file to cluster.

YarnConfiguration doesn't pick up my yarn-site.xml and core-site.xml files.


Solution

  • SOLVED

    In application.yml fsUri should be without any ports and other stuff:

    fsUri: wasb://[email protected]
    

    YarnConfiguration picks every config file in resources.