Hi Bryan,
Which version of GeoMesa are you using? There is a known issue with
GeoMesa 1.2.3 where a thread for pre-computed stats writing is not
shutdown. We believe we addressed this in 1.2.4.
In terms of helping diagnose the problem, can you run jstack on the
hanging JVM and look for anything notable in the output?
Thanks,
Jim
On 07/29/2016 11:15 AM, Bryan Moore
wrote:
I've written a program using GeoMesa with an Accumulo backed
DataStore that works fine but won't exit. Below is a minimal
program that illustrates the problem. It prints the "Start" and
"Finish" messages but doesn't exit.
Have I done something wrong, not done something I need to do, or
is this a bug?
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import org.apache.accumulo.core.client.AccumuloException;
import
org.apache.accumulo.core.client.AccumuloSecurityException;
import org.geotools.data.DataStoreFinder;
import org.locationtech.geomesa.accumulo.data.AccumuloDataStore;
public class Minimal {
public static void main(String[] args)
throws AccumuloException, AccumuloSecurityException,
IOException {
System.out.println("Start");
Map<String, String> dsConf = new
HashMap<>();
dsConf.put("instanceId", "myinstancename");
dsConf.put("zookeepers", "localhost:2181");
dsConf.put("user", "myuserid");
dsConf.put("password", "mypassword");
dsConf.put("tableName", "mysearchtable");
dsConf.put("auths", "");
AccumuloDataStore dataStore =
(AccumuloDataStore) DataStoreFinder.getDataStore(dsConf);
dataStore.dispose();
System.out.println("Finish");
}
}
_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.locationtech.org/mailman/listinfo/geomesa-users
|