hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Ted...@emc.com>
Subject Re: Is there a way to get the version of a remote hadoop instance
Date Wed, 19 Oct 2011 03:12:10 GMT
Hi Tao,

I'm afraid there is no such API. A related JIRA ticket is
https://issues.apache.org/jira/browse/HADOOP-7719.

Regards,

---- 
Ted Xu








On 10/18/11 8:41 AM, "Zhang, Tao" <Tao.Zhang2@emc.com> wrote:

>Hi, 
>
>Is there a way to get the version of a remote hadoop instance through java
>API?
>
>Suppose there are two machines: A and B. I deploy the hadoop instance on
>machine A, while my application is deployed on machine B. Before starting
>my application, I want to check whether the hadoop instance version is
>compatible with my application, so I want to get the version of the hadoop
>instance on machine A from B.
>
>I go through all the API, only find there is a VersionInfo class which can
>get you the local Hadoop version, not the remote instance. Do you have any
>ideas about this?
>
>Thanks and regards!
>Tao
>
>


Mime
View raw message