accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Busbey <bus...@cloudera.com>
Subject Re: Accumulo version at runtime?
Date Fri, 24 Oct 2014 03:26:34 GMT
If you need something now and are willing to do some hackiness, there are a
couple of options depending on what kind of access to the cluster you have.

These are not things one should do, so drop me a note off list if you want
to pursue it.

On Thu, Oct 23, 2014 at 9:18 PM, Josh Elser <josh.elser@gmail.com> wrote:

> There is https://issues.apache.org/jira/browse/ACCUMULO-1826 which you
> could follow and help get into 1.7.0 :)
>
> Mike Drob wrote:
>
>> 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
>> <mailto: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 <http://www.cs.stevens.edu/~
>> dhutchis>
>>
>>
>>


-- 
Sean

Mime
View raw message