Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Accumulo >> mail # user >> Preferred method for a client to obtain a connector reference


Copy link to this message
-
RE: Preferred method for a client to obtain a connector reference
Ah, yes they are clearly in the javadoc - I was looking at the 1.4 docs (oops).

Thanks.
From: John Vines [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2013 1:06 PM
To: [EMAIL PROTECTED]
Subject: Re: Preferred method for a client to obtain a connector reference
There are other getConnector calls which you can pass in an authentication token. Unless you're running a different configuration, you should be using PasswordToken.

Sent from my phone, please pardon the typos and brevity.
On May 30, 2013 3:20 PM, "Newman, Elise" <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote:
Hello!

Stupid question: What is the preferred way for a client to get a connector reference? The SimpleClient example uses org.apache.accumulo.core.client.Instance.getConnector, but that method appears to be deprecated (I'm using a snapshot of Accumulo 1.6).

Thanks!
Elise

NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB