using HttpServer2 of hadoop.