hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Rosenstrauch <dar...@darose.net>
Subject Re: How do find the version of Hadoop inside a running Map or reduce task
Date Mon, 05 Nov 2012 21:02:49 GMT
On 11/05/2012 03:54 PM, Steve Lewis wrote:
> I need to determine what version of Hadoop is running - say under AWS - I
> really want to use an API or properties in the running code but do not know
> how - any ideas

Probably not the best way, but one possible way:  make a call to 
Runtime.exec() and call "hadoop -version".


View raw message