The code originated from Hadoop class so left java for get working.  I can convert.