RE: Missing a change log offset for SystemStreamPartition

2015-08-12 Thread Jordi Blasi Uribarri
. Jordi -Mensaje original- De: Yi Pan [mailto:nickpa...@gmail.com] Enviado el: miércoles, 12 de agosto de 2015 1:50 Para: dev@samza.apache.org Asunto: Re: Missing a change log offset for SystemStreamPartition Hi, Jordi, I see your use case now. Essentially, you want to have an adjunct

Re: Missing a change log offset for SystemStreamPartition

2015-08-11 Thread Yi Pan
ly. > When > > I try to access the same storage from a different job I just get null > > results. > > > > How I am supposed to load the DB to be able to use it from the consuming > > job? Is RocksDB the tool to use or should I use any other technique? > > >

Re: Missing a change log offset for SystemStreamPartition

2015-08-11 Thread Jordi Blasi Uribarri
Asunto: Re: Missing a change log offset for SystemStreamPartition Hi, Jordi, The local KV-store is meant to be accessed by the Samza container locally on the machine. If you were referring to the use case that the local KV-store is accessed by a container from a different Samza job, it is not sup

Re: Missing a change log offset for SystemStreamPartition

2015-08-11 Thread Yi Pan
--- > De: Yi Pan [mailto:nickpa...@gmail.com] > Enviado el: martes, 11 de agosto de 2015 3:27 > Para: dev@samza.apache.org > Asunto: Re: Missing a change log offset for SystemStreamPartition > > Hi, Jordi, > > Agree with Yan. More specifically, your class definition should b

RE: Missing a change log offset for SystemStreamPartition

2015-08-11 Thread Jordi Blasi Uribarri
[mailto:nickpa...@gmail.com] Enviado el: martes, 11 de agosto de 2015 3:27 Para: dev@samza.apache.org Asunto: Re: Missing a change log offset for SystemStreamPartition Hi, Jordi, Agree with Yan. More specifically, your class definition should be something like: {code} public class testStore implements

Re: Missing a change log offset for SystemStreamPartition

2015-08-10 Thread Yi Pan
$$anonfun$startStores$2.apply(SamzaContainer.scala:607) > > at scala.collection.Iterator$class.foreach(Iterator.scala:727) > > at scala.collection.AbstractIterator.foreach(Iterator.scala:1157) > > at > > scala.collection.MapLike$DefaultValuesIterable.

Re: Missing a change log offset for SystemStreamPartition

2015-08-10 Thread Yan Fang
: > > java version "1.7.0_79" > OpenJDK Runtime Environment (IcedTea 2.5.6) (7u79-2.5.6-1~deb7u1) > OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode) > log4j:WARN No appenders could be found for logger > (org.apache.samza.metrics.JmxServer). > log4j:WARN Please ini

RE: Missing a change log offset for SystemStreamPartition

2015-08-10 Thread Jordi Blasi Uribarri
http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Exception in thread "main" org.apache.samza.SamzaException: Missing a change log offset for SystemStreamPartition [kafka, test11db-changelog, 2]. at org.apache.samza.storage.T

RE: Missing a change log offset for SystemStreamPartition

2015-08-10 Thread Jordi Blasi Uribarri
samza.SamzaException: Missing a change log offset for SystemStreamPartition [kafka, commdb-changelog, 2]. at org.apache.samza.storage.TaskStorageManager$$anonfun$startConsumers$3$$anonfun$1.apply(TaskStorageManager.scala:87) at org.apache.samza.storage.TaskStorageManager$$anonfun$startCo

Re: Missing a change log offset for SystemStreamPartition

2015-08-07 Thread Yan Fang
I also eliminated the second one. > I am getting the same exception. > > Exception in thread "main" org.apache.samza.SamzaException: Missing a > change log offset for SystemStreamPartition [kafka, testdb-changelog, 2]. > at > org.apache.samza.storage.TaskStorag

RE: Missing a change log offset for SystemStreamPartition

2015-08-06 Thread Jordi Blasi Uribarri
I changed the job name and the store name. I was defining two different stores and in case that was the problem, I also eliminated the second one. I am getting the same exception. Exception in thread "main" org.apache.samza.SamzaException: Missing a change log offset for SystemStrea

Re: Missing a change log offset for SystemStreamPartition

2015-08-05 Thread Yan Fang
String str = storestp.get(code) > … > } > > When I load it, it goes to running but, whe I send the messages through > Kafka stream It goes to Failed state. I have found this Exception: > Exception in thread "main" org.apache.samza.SamzaException: Mis

Missing a change log offset for SystemStreamPartition

2015-08-05 Thread Jordi Blasi Uribarri
p.get(code) … } When I load it, it goes to running but, whe I send the messages through Kafka stream It goes to Failed state. I have found this Exception: Exception in thread "main" org.apache.samza.SamzaException: Missing a change log offset for SystemStreamPartition [kafka, stepdb-chang