Re: Queryable state when key is UUID - getting Kyro Exception

2018-11-14 Thread Jayant Ameta
gt;> at >>> java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:736) >>> at >>> java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) >>> at >>> java.util.concurrent.Th

Re: Queryable state when key is UUID - getting Kyro Exception

2018-11-13 Thread Till Rohrmann
add flink-avro >> as a dependency and try again. >> >> >> Best, >> >> Jiayi Liao >> >> Original Message >> *Sender:* Jayant Ameta >> *Recipient:* bupt_ljy >> *Cc:* trohrmann; Tzu-Li (Gordon) Tai< >> tzuli...@apache.org>; user &

Re: Queryable state when key is UUID - getting Kyro Exception

2018-11-13 Thread Jayant Ameta
you specified in getKvState function should be the key of the >> keyed stream instead of the key of the map. From what I’ve seen on >> https://ci.apache.org/projects/flink/flink-docs-stable/dev/stream/state/queryable_state.html, >> this feature only supports managed keyed state. >&

Re: Queryable state when key is UUID - getting Kyro Exception

2018-11-13 Thread bupt_ljy
...@163.com Cc:trohrmanntrohrm...@apache.org; Tzu-Li (Gordon) taitzuli...@apache.org; useru...@flink.apache.org Date:Tuesday, Nov 13, 2018 16:15 Subject:Re: Queryable state when key is UUID - getting Kyro Exception Thanks Jiayi, I updated the client code to use keyed stream key. The key is a Tuple2UUID

Re: Queryable state when key is UUID - getting Kyro Exception

2018-11-13 Thread Jayant Ameta
ializer. >>> >>> Jayant Ameta >>> >>> >>> On Wed, Nov 7, 2018 at 9:57 PM Till Rohrmann >>> wrote: >>> >>>> Hi Jayant, could you check that the UUID key on the TM is actually >>>> serialized using a Kryo serializ

Re: Queryable state when key is UUID - getting Kyro Exception

2018-11-12 Thread bupt_ljy
Date:Tuesday, Nov 13, 2018 13:39 Subject:Re: Queryable state when key is UUID - getting Kyro Exception Hi Till, Here is the client snippet. Here Rule is a custom POJO that I use. public static void main(String[] args) throws IOException, InterruptedException, ExecutionException { UUID uuid

Re: Queryable state when key is UUID - getting Kyro Exception

2018-11-12 Thread Jayant Ameta
ll looks okay. >>>> >>>> I’m not very sure about this problem. Maybe you can write a very >>>> simple demo to try if it works. >>>> >>>> >>>> Jiayi Liao, Best >>>> >>>> Original Message >>>> *

Re: Queryable state when key is UUID - getting Kyro Exception

2018-11-09 Thread Till Rohrmann
rite a very >>> simple demo to try if it works. >>> >>> >>> Jiayi Liao, Best >>> >>> Original Message >>> *Sender:* Jayant Ameta >>> *Recipient:* bupt_ljy >>> *Cc:* Tzu-Li (Gordon) Tai; user< >>> user@flink.a

Re: Queryable state when key is UUID - getting Kyro Exception

2018-11-08 Thread Jayant Ameta
;), "rule", >>>> >>>> UUID.fromString("3b3f17a0-d81a-11e8-bb91-7fd1412de84d"), >>>>> TypeInformation.of(new TypeHint() {}), descriptor); >>>>> >>>>> >>>> Jiayi Liao, Best >>>> >&g

Re: Queryable state when key is UUID - getting Kyro Exception

2018-11-07 Thread Till Rohrmann
:* Jayant Ameta > *Recipient:* bupt_ljy > *Cc:* Tzu-Li (Gordon) Tai; user > > *Date:* Monday, Oct 29, 2018 11:53 > *Subject:* Re: Queryable state when key is UUID - getting Kyro Exception > > Hi Jiayi, > Any further help on this? > > Jayant Ameta > > > On Fri, O

Re: Queryable state when key is UUID - getting Kyro Exception

2018-10-30 Thread bupt_ljy
...@gmail.com Recipient:bupt_ljybupt_...@163.com Cc:Tzu-Li (Gordon) taitzuli...@apache.org; useru...@flink.apache.org Date:Monday, Oct 29, 2018 11:53 Subject:Re: Queryable state when key is UUID - getting Kyro Exception Hi Jiayi, Any further help on this? Jayant Ameta On Fri, Oct 26, 2018 at 9:22 AM

Re: Queryable state when key is UUID - getting Kyro Exception

2018-10-28 Thread Jayant Ameta
omString("3b3f17a0-d81a-11e8-bb91-7fd1412de84d"), >>> TypeInformation.of(new TypeHint() {}), descriptor); >>> >>> >> Jiayi Liao, Best >> >> >> Original Message >> *Sender:* Jayant Ameta >> *Recipient:* bupt_ljy >> *Cc:

Re: Queryable state when key is UUID - getting Kyro Exception

2018-10-25 Thread Jayant Ameta
Original Message > *Sender:* Jayant Ameta > *Recipient:* bupt_ljy > *Cc:* Tzu-Li (Gordon) Tai; user > > *Date:* Friday, Oct 26, 2018 02:26 > *Subject:* Re: Queryable state when key is UUID - getting Kyro Exception > > Also, I haven't provided any custom serializer in my flin

Re: Queryable state when key is UUID - getting Kyro Exception

2018-10-25 Thread bupt_ljy
iao, Best Original Message Sender:Jayant ametawittyam...@gmail.com Recipient:bupt_ljybupt_...@163.com Cc:Tzu-Li (Gordon) taitzuli...@apache.org; useru...@flink.apache.org Date:Friday, Oct 26, 2018 02:26 Subject:Re: Queryable state when key is UUID - getting Kyro Exception Also, I haven't p

Re: Queryable state when key is UUID - getting Kyro Exception

2018-10-25 Thread Jayant Ameta
ID]).createSerializer(env.getConfig) >> >> >> By the way, can you show us your kryo exception like what Gordon said? >> >> >> Jiayi Liao, Best >> >> >> >> Original Message >> *Sender:* Tzu-Li (Gordon) Tai >> *Recipient:* Jayant Am

Re: Queryable state when key is UUID - getting Kyro Exception

2018-10-25 Thread Jayant Ameta
essage > *Sender:* Tzu-Li (Gordon) Tai > *Recipient:* Jayant Ameta; bupt_ljy > > *Cc:* user > *Date:* Thursday, Oct 25, 2018 17:18 > *Subject:* Re: Queryable state when key is UUID - getting Kyro Exception > > Hi Jayant, > > What is the Kryo exception message that you

Re: Queryable state when key is UUID - getting Kyro Exception

2018-10-25 Thread bupt_ljy
, Best Original Message Sender:Tzu-Li (Gordon) taitzuli...@apache.org Recipient:Jayant ametawittyam...@gmail.com; bupt_ljybupt_...@163.com Cc:useru...@flink.apache.org Date:Thursday, Oct 25, 2018 17:18 Subject:Re: Queryable state when key is UUID - getting Kyro Exception Hi Jayant, What is the

Re: Queryable state when key is UUID - getting Kyro Exception

2018-10-25 Thread Tzu-Li (Gordon) Tai
Ameta Recipient: user Date: Thursday, Oct 25, 2018 14:17 Subject: Queryable state when key is UUID - getting Kyro Exception I get Kyro exception when querying the state.   Key: UUID MapState Client code snippet: CompletableFuture> resultFuture = client.getKvState(JobID.fromH

Re: Queryable state when key is UUID - getting Kyro Exception

2018-10-25 Thread Jayant Ameta
ing the > same Serializer as the Flink program do? Could you show the serializer in > descriptor? > > > > Jiayi Liao, Best > > Original Message > *Sender:* Jayant Ameta > *Recipient:* user > *Date:* Thursday, Oct 25, 2018 14:17 > *Subject:* Queryable state when k

Re: Queryable state when key is UUID - getting Kyro Exception

2018-10-25 Thread bupt_ljy
Hi, It seems that your codes are right. Are you sure that you’re using the same Serializer as the Flink program do? Could you show the serializer in descriptor? Jiayi Liao, Best Original Message Sender:Jayant ametawittyam...@gmail.com Recipient:useru...@flink.apache.org Date:Thursday, Oct 2

Queryable state when key is UUID - getting Kyro Exception

2018-10-24 Thread Jayant Ameta
I get Kyro exception when querying the state. Key: UUID MapState Client code snippet: CompletableFuture> resultFuture = client.getKvState(JobID.fromHexString("c7b8af14b8afacf4fac16cdd0da7e997"), "rule", UUID.fromString("3b3f17a0-d81a-11e8-bb91-7fd1412de84d"), TypeInformation.