accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Drob <mad...@cloudera.com>
Subject Re: Accumulo version at runtime?
Date Thu, 23 Oct 2014 22:47:31 GMT
Unfortunately, I don't think we have a way to do this. Are you trying to
check for the existence of a particular feature, or what is your goal?

On Thu, Oct 23, 2014 at 6:44 PM, Dylan Hutchison <dhutchis@stevens.edu>
wrote:

> Easy question Accumulators:
>
> Is there an easy way to grab the version of a running Accumulo instance
> programmatically from Java code in a class that connects to the instance?
>
> Something like:
>
> Instance instance = new
> ZooKeeperInstance("instanceName","zookeeper_address");
> String version = instance.getInstanceVersion();
>
>
> Thanks, Dylan
>
> --
> www.cs.stevens.edu/~dhutchis
>

Mime
View raw message