Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geomesa-users] Kafka error

James,

Did you clone this project? https://github.com/geomesa/geomesa-osm

That needs some updating. The problem you are seeing looks like the scala library jars are not on the classpath.

We can update the osm project if that's the one you're using.

Andrew

On 03/25/2015 10:10 AM, Ngo, James T. wrote:

Hi,

 

I’ve been experimenting Geomesa-osm Tutorials. I’m able to build the project with Accumulo 1.6. However I’m running into an issue with Kakfa producer.

 

    java –cp geomesa-osm-accumulo1.5-1.0-SNAPSHOT.jar geomesa.osm.OSMingestProducer –ingestFile /tmp/data1 –topic OSM –brokers 0,1,2

 

 

Exception in thread "main" java.lang.NullPointerException

        at scala.Predef$.Integer2int(Predef.scala:392)

        at kafka.client.ClientUtils$$anonfun$parseBrokerList$1.apply(ClientUtils.scala:103)

        at kafka.client.ClientUtils$$anonfun$parseBrokerList$1.apply(ClientUtils.scala:102)

        at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)

        at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)

        at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)

        at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)

        at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)

        at scala.collection.AbstractTraversable.map(Traversable.scala:105)

        at kafka.client.ClientUtils$.parseBrokerList(ClientUtils.scala:102)

        at kafka.producer.BrokerPartitionInfo.<init>(BrokerPartitionInfo.scala:32)

        at kafka.producer.async.DefaultEventHandler.<init>(DefaultEventHandler.scala:41)

        at kafka.producer.Producer.<init>(Producer.scala:60)

        at kafka.javaapi.producer.Producer.<init>(Producer.scala:26)

        at geomesa.osm.OSMIngestProducer.main(OSMIngestProducer.java:60)

 

Anyone is having the same issue like this?

 

Thanks.

 

James



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


Back to the top