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" <[email protected]> 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
>
>

Reply via email to