Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geomesa-dev] Plan for feature updates

Hi Dale,

There seems to be an issue with your trusted certificates in java. What version of java are you using? Using oracle's 1.8.0_74, I can connect to the repo without issue. If you're using an older version,
it might not have the same trusted certificates installed. Java keeps this under $JDK_HOME/jre/lib/security/cacerts. You can try updating your java version, or just copying the cacerts file from
a newer java version into your existing install.

Hope that helps,

Thanks,

Emilio

On Wed, 2016-03-09 at 12:39 +0000, Dale F. McIntosh wrote:
I am  trying to build the GeoMesa Kafka example to wire up the notification for the Map Portrayal Service and I am getting the following MVN error:

mvn clean install -pl geomesa-quickstart-kafka


[WARNING] Could not transfer metadata org.locationtech.geomesa:geomesa-kafka-datastore:1.2.1-SNAPSHOT/maven-metadata.xml from/to locationtech-releases (https://repo.locationtech.org/content/repositories/releases): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[WARNING] Could not transfer metadata org.locationtech.geomesa:geomesa-kafka-datastore:1.2.1-SNAPSHOT/maven-metadata.xml from/to locationtech-snapshots (https://repo.locationtech.org/content/repositories/snapshots): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[WARNING] Failure to transfer org.locationtech.geomesa:geomesa-kafka-datastore:1.2.1-SNAPSHOT/maven-metadata.xml from https://repo.locationtech.org/content/repositories/releases was cached in the local repository, resolution will not be reattempted until the update interval of locationtech-releases has elapsed or updates are forced. Original error: Could not transfer metadata org.locationtech.geomesa:geomesa-kafka-datastore:1.2.1-SNAPSHOT/maven-metadata.xml from/to locationtech-releases (https://repo.locationtech.org/content/repositories/releases): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[WARNING] Failure to transfer org.locationtech.geomesa:geomesa-kafka-datastore:1.2.1-SNAPSHOT/maven-metadata.xml from https://repo.locationtech.org/content/repositories/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of locationtech-snapshots has elapsed or updates are forced. Original error: Could not transfer metadata org.locationtech.geomesa:geomesa-kafka-datastore:1.2.1-SNAPSHOT/maven-metadata.xml from/to locationtech-snapshots (https://repo.locationtech.org/content/repositories/snapshots): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Downloading: https://repo.locationtech.org/content/repositories/releases/org/locationtech/geomesa/geomesa-kafka-datastore/1.2.1-SNAPSHOT/geomesa-kafka-datastore-1.2.1-SNAPSHOT.pom
Downloading: https://repo.locationtech.org/content/repositories/snapshots/org/locationtech/geomesa/geomesa-kafka-datastore/1.2.1-SNAPSHOT/geomesa-kafka-datastore-1.2.1-SNAPSHOT.pom
Downloading: http://download.osgeo.org/webdav/geotools/org/locationtech/geomesa/geomesa-kafka-datastore/1.2.1-SNAPSHOT/geomesa-kafka-datastore-1.2.1-SNAPSHOT.pom
Downloading: http://repo.boundlessgeo.com/main/org/locationtech/geomesa/geomesa-kafka-datastore/1.2.1-SNAPSHOT/geomesa-kafka-datastore-1.2.1-SNAPSHOT.pom
Downloading: http://conjars.org/repo/org/locationtech/geomesa/geomesa-kafka-datastore/1.2.1-SNAPSHOT/geomesa-kafka-datastore-1.2.1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.975 s
[INFO] Finished at: 2016-03-09T04:25:51-08:00
[INFO] Final Memory: 9M/197M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project geomesa-quickstart-kafka: Could not resolve dependencies for project com.example.geomesa:geomesa-quickstart-kafka:jar:1.2.1-SNAPSHOT: Failed to collect dependencies at org.locationtech.geomesa:geomesa-kafka-datastore:jar:1.2.1-SNAPSHOT: Failed to read artifact descriptor for org.locationtech.geomesa:geomesa-kafka-datastore:jar:1.2.1-SNAPSHOT: Could not transfer artifact org.locationtech.geomesa:geomesa-kafka-datastore:pom:1.2.1-SNAPSHOT from/to locationtech-releases (https://repo.locationtech.org/content/repositories/releases): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1]
[
Suggestions?

  Thanks,
  Dale McIntosh
  Forward Slope
  619-302-7637

-----Original Message-----
From: Jim Hughes [mailto:jnh5y@xxxxxxxx] 

Subject: Re: Plan for feature updates

Hi Dale,

We've merged the NRT FeatureEventListener changes to master for GeoMesa.  To work against that immediately, you can get refresh off the Hudson 1.2.1 snapshot jars from LocationTech's Nexus.*

In terms of sample code, I updated our GeoMesa Kafka Quickstart here (1).

Under 'Prerequisites', specifically, you should 1. download Kafka 0.8.2.1 (2) 2. unzip and untar it 3. Start ZooKeeper (./bin/zookeeper-server-start.sh
config/zookeeper.properties)
4. Start Kafka (./bin/kafka-server-start.sh config/server.properties)

After completing the steps in 'Download and Build the Tutorial' and 'Run the Code', you can safely skip the all sections 'Register the Layer in GeoServer', and go to '(Optional) Listening for FeatureEvents'.  This section has you run a second jar (which you'll want to run first; either that or you can re-run the first jar which produces messages).

The 'KafkaListener' clas (3) demonstrates how to connect to an NRT cache, create and add a FeatureListener.  As a note about FeatureEvent types, only 'CHANGED' and 'REMOVED' are used.

Let me know what questions you have.  We are starting work on the backports to GeoMesa 1.1.0-rc.5.  We are planning on making those artifacts available on DI2E.  Chris or I will update you once we have those up on DI2E's Nexus.

Cheers,

Jim

* Details of how to that are all wrapped up in the GeoMesa-tutorials project's poms.

1. 
https://github.com/geomesa/geomesa-tutorials/tree/master/geomesa-quickstart-kafka

2. 
https://www.apache.org/dyn/closer.cgi?path=/kafka/0.9.0.0/kafka_2.10-0.8.2.1.tgz

3. 
https://github.com/geomesa/geomesa-tutorials/blob/master/geomesa-quickstart-kafka/src/main/java/com/example/geomesa/kafka/KafkaListener.java

_______________________________________________
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