I am creating a MR and I need a global variable. Like some thing will keep on changing with each 'reduce' run. but it should be accessible there. Any suggestions. The normal declaration doesn't work. Like taking a variable above getInputData() and then assigning it in get input data and then use it it reduce function. In reduce the variable is null.