Re: How to pass quoted string in the configuration

2015-03-19 Thread Bae, Jae Hyeon
Thanks Naveen On Thu, Mar 19, 2015 at 4:23 PM, Naveen Somasundaram < nsomasunda...@linkedin.com.invalid> wrote: > Hey Jae, > I verified passing Java properties with the property you specified > and it seems to be working fine. However, if I pass the same properties to > the hello-samza, it

Re: How to pass quoted string in the configuration

2015-03-19 Thread Naveen Somasundaram
Hey Jae, I verified passing Java properties with the property you specified and it seems to be working fine. However, if I pass the same properties to the hello-samza, it fails with same error you have. I have opened a bug to track this here: https://issues.apache.org/jira/browse/SAMZA-60

Re: How to pass quoted string in the configuration

2015-03-19 Thread Bae, Jae Hyeon
Double quote character is escaped as the following but the \\" cannot be correctly parsed as the string. It should be \". \"filter.map.filter1.property\":\"xpath(\\"name\\") in (\\"uiBrowseStartup.ended\\", \\"subscription.ended\\", \\"uiStartup.ended\\") or xpath(\\"category\\") = \\"uiIntent\\"\

Re: How to pass quoted string in the configuration

2015-03-19 Thread Bae, Jae Hyeon
The problem is json processing. I have to use the different expression format... hm... Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode) Exception in thread "main" org.codehaus.jackson.JsonParseException: Unrecognized character escape ')' (code 41) at [Source: java.io.StringReader@7

Re: How to pass quoted string in the configuration

2015-03-19 Thread Chris Riccomini
Hey Jae, If you're using the PropertiesConfigFactory (the default), then it's just a Java Properties object. You should be able to escape it. I'm actually not even sure if quotes are a problem in Java Properties objects. I would think that they wouldn't be. The second '=' sign might be, though. I

How to pass quoted string in the configuration

2015-03-19 Thread Bae, Jae Hyeon
Hi Samza Devs I want to pass the quoted string like filter.map.filter1.property=xpath("name") in ("uiBrowseStartup.ended", "subscription.ended", "uiStartup.ended") or xpath("category") = "uiIntent" through the configuration to the container but AM keeps failing Application application_142309072