> > There is https://issues.apache.org/jira/browse/ACCUMULO-1826 which you > could follow and help get into 1.7.0 :) >
Thanks, I should remember to check JIRA first =) I'm working on a clean way to handle getting Accumulo monitor info for different versions of Accumulo, since I used methods to extract that information from Accumulo's internals which are version-dependent. As Sean wrote, these are not things one should do, but if it's a choice between getting the info or not... We're thinking of building separate JARs for each 1.x version. Seems that ACCUMULO-3005 <https://issues.apache.org/jira/browse/ACCUMULO-3005> will solve all these monitor-info-related issues. Too bad that doesn't help with 1.5 and 1.6 which we need to support. On Thu, Oct 23, 2014 at 11:26 PM, Sean Busbey <[email protected]> wrote: > 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 <[email protected]> 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 <[email protected] >>> <mailto:[email protected]>> 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 > -- www.cs.stevens.edu/~dhutchis
