@ SuppressWarnings ( "DefaultCharset" ) public static Properties loadAzkabanProps ( ) throws IOException { String propsFile = System . getenv ( ProcessJob . JOB_PROP_ENV ) ; Properties props = new Properties ( ) ; props . load ( new BufferedReader ( new FileReader ( propsFile ) ) ) ; return props ; }
Loading the properties file which is a combination of the jobProps file and sysProps file