In order to fix analytics spark isssue added environmental variables to the load-spark-env-vars.sh and wso2server.sh