simple ambari client wrote by java