accumulo

Accumulo-monitor experiencing a Java RuntimeException when creating GeoMesa instance

前提是你 提交于 2019-12-11 05:28:53
问题 In order to setup a local GeoMesa-Accumulo stack, I've cloned a git repository (https://github.com/geodocker/geodocker-geomesa). Next, to create an instance, I executed the following commands. $ cd geodocker-geomesa/geodocker-accumulo-geomesa/ $ docker-compose up However, there seems to be a problem with the accumulo-monitor as I keep getting the following message. accumulo-monitor_1 | java.lang.RuntimeException: org.apache.accumulo.core.client.impl.ThriftScanner$ScanTimedOutException

How to remove instance of accumulo?

允我心安 提交于 2019-12-10 14:30:48
问题 I have created a instance while initializing accumulo by calling accumulo init But now i want to remove that instance and as well i want to create a new instance. Can any one help to do this? 回答1: Remove the directory specified by the instance.dfs.dir property in $ACCUMULO_HOME/conf/accumulo-site.xml from HDFS. If you did not specify an instance.dfs.dir in accumulo-site.xml, the default is "/accumulo". You should then be able to call accumulo init with success. 回答2: I don't have enough rep to

Connecting from C# to Accumulo

独自空忆成欢 提交于 2019-12-10 12:20:47
问题 I am new to working with Accumulo. I need to read/write data from a remote Accumulo through C#. The only code sample/documentation for C#, I have found is - Accumulo createBatchScanner range not working as expected I attempted to compile the code in Xamarin Studio, on a Mac. The issue I am encountering is with this line: AccumuloProxy.Client client = new AccumuloProxy.Client(protocol); Error CS0246: The type or namespace name AccumuloProxy' could not be found. Are you missing org.apache

I am looking at writing an Accumulo iterator to return a random sample of a percentile of a table

感情迁移 提交于 2019-12-08 01:56:37
问题 I am looking at writing an Accumulo iterator to return a random sample of a percentile of a table. I would appreciate any suggestions. Thnaks, Chris 回答1: You can extend org.apache.accumulo.core.iterators.Filter and randomly accept x% of the entries. The following iterator would randomly return 5 percent of the entries. import java.util.Random; import org.apache.accumulo.core.data.Key; import org.apache.accumulo.core.data.Value; import org.apache.accumulo.core.iterators.Filter; public class

I am looking at writing an Accumulo iterator to return a random sample of a percentile of a table

蹲街弑〆低调 提交于 2019-12-06 11:35:59
I am looking at writing an Accumulo iterator to return a random sample of a percentile of a table. I would appreciate any suggestions. Thnaks, Chris You can extend org.apache.accumulo.core.iterators.Filter and randomly accept x% of the entries. The following iterator would randomly return 5 percent of the entries. import java.util.Random; import org.apache.accumulo.core.data.Key; import org.apache.accumulo.core.data.Value; import org.apache.accumulo.core.iterators.Filter; public class RandomAcceptFilter extends Filter { private Random rand = new Random(); @Override public boolean accept(Key k,

Connecting an external Accumulo instance and java

孤街浪徒 提交于 2019-12-05 06:14:42
问题 I am trying to connect to a VM with Accumulo. The problem is, I can't get it hooked up in Java. I can see the webpage Apache throws up, but I can't get it to work with code. I think this is a lack of knowledge issue rather than a real problem, but I can't find documentation on it. All the examples use localhost as the zooServer name, this obviously doesn't work for me. So, here is my code: String instanceName = "accumulo-02" String zooServers = "192.168.56.5, accumulo-02.localdomain:9997"

Connecting an external Accumulo instance and java

僤鯓⒐⒋嵵緔 提交于 2019-12-03 20:28:50
I am trying to connect to a VM with Accumulo. The problem is, I can't get it hooked up in Java. I can see the webpage Apache throws up, but I can't get it to work with code. I think this is a lack of knowledge issue rather than a real problem, but I can't find documentation on it. All the examples use localhost as the zooServer name, this obviously doesn't work for me. So, here is my code: String instanceName = "accumulo-02" String zooServers = "192.168.56.5, accumulo-02.localdomain:9997" ZooKeeperInstance inst = new ZooKeeperInstance(instanceName, zooServers) .... The rest isn't important

How do I set an environment variable in a YARN Spark job?

…衆ロ難τιáo~ 提交于 2019-11-29 08:03:33
I'm attempting to access Accumulo 1.6 from an Apache Spark job (written in Java) by using an AccumuloInputFormat with newAPIHadoopRDD . In order to do this, I have to tell the AccumuloInputFormat where to locate ZooKeeper by calling the setZooKeeperInstance method. This method takes a ClientConfiguration object which specifies various relevant properties. I'm creating my ClientConfiguration object by calling the static loadDefault method. This method is supposed to look in various places for a client.conf file to load its defaults from. One of the places it's supposed to look is $ACCUMULO_CONF

How do I set an environment variable in a YARN Spark job?

ε祈祈猫儿з 提交于 2019-11-28 02:03:35
问题 I'm attempting to access Accumulo 1.6 from an Apache Spark job (written in Java) by using an AccumuloInputFormat with newAPIHadoopRDD . In order to do this, I have to tell the AccumuloInputFormat where to locate ZooKeeper by calling the setZooKeeperInstance method. This method takes a ClientConfiguration object which specifies various relevant properties. I'm creating my ClientConfiguration object by calling the static loadDefault method. This method is supposed to look in various places for