Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geomesa-dev] geomesa and Geoserver on HBase

Alberto --

Would you please try copying /usr/lib/hadoop/client/htrace-core4.jar to $GEOSERVER_HOME/webapps/geoserver/WEB-INF/lib and restarting GeoServer?

-- Matt

On 06/01/2016 01:32 PM, Alberto Ramón wrote:
I installed Oracle Java 1.8:
    sudo tar xvzf jdk-8u91-linux-x64.tar.gz
    export JAVA_HOME=/usr/java/jdk1.8.0_91
    export JAVA_PATH="$JAVA_HOME"
    export PATH="$JAVA_HOME:$PATH"
    sudo alternatives --install /usr/bin/java java /usr/java/jdk1.8.0_91/bin/java 1
    sudo alternatives --install /usr/bin/javac javac /usr/java/jdk1.8.0_91/bin/javac 1
    sudo alternatives --config java
    sudo alternatives --config javac
    java -version
    javac -version



2016-06-01 19:31 GMT+02:00 Matt Zimmerman <mzimmerman@xxxxxxxx>:
Also, the Cloudera 5.7 VM that I downloaded runs Java 7. Did you modify the HBase tutorial POM to target Java 7 or did you set up Java 8 on the VM?


On 06/01/2016 11:43 AM, Matt Zimmerman wrote:
Alberto --

I'm setting up GeoMesa HBase on Cloudera 5.7 to see if I can replicate your issue. I had set up Hadoop + HBase "by hand" rather than using Cloudera when I prepared and tested the HBase tutorial, and I probably made some assumptions in configuration that are not valid for your setup.

In the meantime, one issue that you might want to check is this-- unfortunately, the HBase GeoServer bundle (geomesa-hbase-gs-plugin-1.2.2-install.tar.gz) included in GeoMesa 1.2.2 is broken due to a missing dependency. This was fixed shortly after release (https://github.com/locationtech/geomesa/commit/65d9b1c2e3b25a19d086863faf4ad04718d039f5), so you might want to try building the master branch of GeoMesa (1.2.3-SNAPSNOT) or and installing the plugin bundle instead. I am not sure if that's your issue, because you would get a lengthy stack trace in the GeoServer log, but it's worth checking.

-- Matt

On 06/01/2016 10:38 AM, Alberto Ramón wrote:
GeoServer + Geomesa is installed in Cloudera VM 5.7
vGeoServer= 2.9 RC1
vGeoMesa=1.2.2


2016-06-01 15:21 GMT+02:00 Matt Zimmerman <mzimmerman@xxxxxxxx>:
Alberto --

So GeoServer is installed on the Cloudera VM? Which version of GeoServer are you using? GeoMesa currently requires GeoServer 2.8.1, which was not made clear in the HBase tutorial (apologies for that).

Re: the SSH github link: The link is correct, but your are absolutely right that using the SSH link with Github requires some additional steps, which can be avoided by using the HTTPS link instead. We will update our tutorial documentation to use those links instead. Thank you!

-- Matt


On 06/01/2016 06:43 AM, Alberto Ramón wrote:
We are testing Geoserver/Geomesa in a Virtual Machine of Cloudera (Cloudera CHD Oficial Image) ('all in one node'), in a previous step to production System (Cloudera Also)

Cloudera v5 do NOT use HADOOP_HOME or HADOOP_FREFIX  (I chequed it in Dev & Production System) (IF you are using Parcels)
Only Exits: HADOOP_CLASSPATH=/opt/cloudera/parcels/CDH/lib/hive/lib/*:/etc/hive/conf/
From document, I have a doubt "git clone git@github.com:geomesa/geomesa-tutorials.git
  ¿Link direction Its correct? ERROR: Permission denied (publickey)

BR, Alberto

2016-06-01 0:10 GMT+02:00 Jim Hughes <jnh5y@xxxxxxxx>:
Hi Alberto,

Do you have Hadoop configured on the GeoServer node?  If so, are the HADOOP_* environment variables set for the user running Tomcat?

I'll try and work with Matt tomorrow or the next day to document a few more details. 

Thanks,

Jim


On 05/31/2016 09:48 AM, Alberto Ramón wrote:

- Use GeoServer from Binary Distribution
- Use Cloudera QuickStart 5.7:
    HBase 1.2.0
    hbase.rootdir=hdfs://quickstart.cloudera:8020/hbase
    zookeeper.znode.parent=/hbase
    zookeeper.znode.rootserver=root-region-server
    root-region-server=root-region-server

Thanks, Alb

2016-05-31 15:16 GMT+02:00 Matt Zimmerman <mzimmerman@xxxxxxxx>:
Alberto --

Are you using the embedded Jetty in the GeoServer binary distribution, or are you running the GeoServer WAR in another server (Tomcat, JBoss/Wildfly, etc.)?

Also, how is your HBase configured? Can you show us the contents of your hbase-site.xml?

-- Matt

On 05/31/2016 07:35 AM, Alberto Ramón wrote:
Run the tutorial, OK (I see two tables in HBase 'geosmesa', and 'QuickStart_z3' )
Instal GeoServer, OK
Load JAR into geoserver, OK

But: I cant connect with HBase Store:
  "New Data Sources" > HBase (GeoMesa) > bigTable.table.name=geomesa
  "Error message: java.lang.reflect.InvocationTargetException"

I think the problem, is connection to HBase / Can't find "hbase-site.xml"
Then, I copied it to (and restart):

./resources/hbase-site.xml
./webapps/geoserver/WEB-INF/classes/hbase-site.xml
./webapps/geoserver/WEB-INF/hbase-site.xml
./webapps/geoserver/hbase-site.xml
./webapps/hbase-site.xml
./hbase-site.xml


In the log: "WARN [data.store] - Error obtaining new data store"


Why cant find hbase-site.xml?? Is this my problem?


BR, Alberto





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


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



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


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



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


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



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



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


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



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


Back to the top