Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geowave-dev] Configuring geowave datastore on geoserver

Nivethika,

  Starting with the most recent (Preview) Hortonworks 2.3 Sandbox VM and after installing the Accumulo module we have a script that will mostly automate the installation and configuration of GeoWave and associated components on a single VM. If you'd just like to see a working example of some ingested data being served out using GeoWave and the GeoServer plugin you might find it useful. Given the recommended 8 or 9 GB of RAM I was able to see all the consoles (Ambari, Accumulo and GeoServer) and view some ingested shapefile data over an OpenLayers map.

https://github.com/ngageoint/geowave/wiki/Single-Node-Dev-VM 

  I tried coming up with a similar script for the Cloudera Quickstart VM but found that the default settings have so many things installed that despite turning off all but the needed services it seemed it was paging to disk despite several rounds of memory increases. For now if you'd just like to see a completely configured service with a bit of data I'd recommend the HDP 2.3 VM and the helper script. 

  In answer to your previous question about hardware recommendations any of these single node or several small development VMs are only going to be useful for development and really small tests. You'll start to see the performance benefits of the distributed data store and horizontal scalability at the point you've hit somewhere around 5 nodes.

Andy

On Wed, Jul 1, 2015 at 2:42 PM, Nivethika mahasivam <nivemaham@xxxxxxxxx> wrote:
Hi Scott,
I am running my setup on Cloudera Quick VM. 
Yes my geoserver and accumulo are running on same machine.
I checked host file and made sure 127.0.0.1 is mapped to localhost and accumulo's monitor, gc, tracer they are mentioned as localhost.
I was able to ping zookeeper on localhost 2181.
and my accumulo instance was running fine with monitor and other components.
However currently, i cannot start the monitor UI process so i am not sure whether accumulo is running perfectly or not.
Though all the status checks respond "running".
I have tried all the possibilities to restart the processes, but they are not getting fixed.

So it is currently hard for me to decide where the issue is. 
Thank you for you response.
I will keep them in mind 

Nivethika


On Wed, Jul 1, 2015 at 4:44 PM, Scott <sctevl@xxxxxxxxx> wrote:
Nivethika,

  Is your Accumulo instance on the same machine or a separate machine as GeoServer. I haven't seen this problem when I'm trying to connect to GeoWave when on the same machine. I have however, had this problem (stumped me for a while in fact), when the GeoServer and the Accumulo instance were on separate machines. GeoServer would connect fine on the local machine but not a separate GeoServer instance. I had the same problem with GeoMesa as well. 

  I finally sorted out the problem for my case. First, I eliminated potential problems like firewall and network issues by pinging the machine and port and checking with netstat. Then I finally realized that in my set up (using Hortonworks sandbox), the default config files for Accumulo were referencing localhost. So from what I can tell, GeoServer would connect to Zookeeper just fine on port 2181, and it's getting the answer that Accumulo is at localhost. 

  Look at the Accumulo Monitor page and see what it says for the Master and Tablet servers. Does it say localhost or a FQDN? In $ACCUMULO_HOME/config, there are files called masters, tracers, slaves, monitor, and gc. If these say localhost, make sure they have an IP address or fully qualified domain name (not localhost). If they have a FQDN (like sandbox.hortonworks.com), then you need to make sure the GeoServer machine has that FQDN mapped to an IP in the hosts file. In a sandbox they're all the same. In a cluster they can be different (and multiple) machines (and maybe they even get dynamically updated - I haven't gotten that far).

  Note, that if you're using a sandbox/eval VM, you'll want to make sure it's getting a static IP. 

  That's how I sorted my problems with connecting GeoServer to the ZooKeeper/Accumulo box. I'm not sure if your case is the same but hopefully this helps give some ideas how to troubleshoot. 

Scott

On Mon, Jun 29, 2015 at 11:16 PM, Nivethika mahasivam <nivemaham@xxxxxxxxx> wrote:
Hi all,
I am trying to configure geowave datastore on geoserver.
I can see Geowave data store under Store.
I tried creating a new data store with my configured values filled.

Inline image 1
When i save it runs forever.
It never gets created.
Am i missing something?
Can anybody help me to configure it?

Thanks ,
Nivethika


_______________________________________________
geowave-dev mailing list
geowave-dev@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.locationtech.org/mailman/listinfo/geowave-dev



_______________________________________________
geowave-dev mailing list
geowave-dev@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.locationtech.org/mailman/listinfo/geowave-dev




--
Miss.Nivethika Mahasivam
Dept of Computer Engineering
Univesity of Peradeniya
Peradeniya,Srilanka

_______________________________________________
geowave-dev mailing list
geowave-dev@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.locationtech.org/mailman/listinfo/geowave-dev



Back to the top