Re: EvaluateXPath and xml namespace

2016-05-31 Thread Hong Li
Thanks, Matt. We upgraded to 0.6.1. Things have been fine so far. *Hong Li* *Centric Consulting* *In Balance* (888) 781-7567 office (614) 296-7644 mobile www.centricconsulting.com | @Centric <https://twitter.com/centric> On Sun, May 22, 2016 at 12:53 PM, Matt Burgess <mattyb...@

Re: EvaluateXPath and xml namespace

2016-05-22 Thread Hong Li
. It worked. How may I handle this error? By the way, I'm using Nifi 0.6.0 Thanks. Hong *Hong Li* *Centric Consulting* *In Balance* (888) 781-7567 office (614) 296-7644 mobile www.centricconsulting.com | @Centric <https://twitter.com/centric> On Sat, May 21, 2016 at 9:08 PM, Matt Burgess &

EvaluateXPath and xml namespace

2016-05-21 Thread Hong Li
The xml file I received comes with attribute xmlns such as http://cp.com/rules/client;> How may I use EvaluateXPath to process the xml file? Thanks. Hong *Hong Li* *Centric Consulting* *In Balance* (888) 781-7567 office (614) 296-7644 mobile www.centricconsulting.com | @Centric <

Re: Approaches to Array in Json with Nifi?

2016-04-06 Thread Hong Li
Sorry, Aldrin. I forgot to answer your question. My arrays do not share fixed number of values. Thanks. Hong *Hong Li* *Centric Consulting* *In Balance* (888) 781-7567 office (614) 296-7644 mobile www.centricconsulting.com | @Centric <https://twitter.com/centric> On Wed, Apr 6, 201

Re: Approaches to Array in Json with Nifi?

2016-04-06 Thread Hong Li
will fail if I do this under EvaluationJsonPath: rateValue = $.rate[*] Any further comment and suggestion? Thanks. Hong *Hong Li* *Centric Consulting* *In Balance* (888) 781-7567 office (614) 296-7644 mobile www.centricconsulting.com | @Centric <https://twitter.com/centric> On Wed, Apr 6

Approaches to Array in Json with Nifi?

2016-04-06 Thread Hong Li
recommend if I need to capture all of the three values of the rate? Thanks. Hong *Hong Li* *Centric Consulting* *In Balance* (888) 781-7567 office (614) 296-7644 mobile www.centricconsulting.com | @Centric <https://twitter.com/centric>

Re: EvaluateJsonPath and Json Field Name Starting with @ as the First Character

2016-04-04 Thread Hong Li
Thanks, Matt. We installed Nifi 0.6.0. Hong *Hong Li* *Centric Consulting* *In Balance* (888) 781-7567 office (614) 296-7644 mobile www.centricconsulting.com | @Centric <https://twitter.com/centric> On Sun, Apr 3, 2016 at 9:19 PM, Matt Burgess <mattyb...@gmail.com> wr

Re: GetHBase and "Connection Refused"

2016-03-27 Thread Hong Li
Thanks, Juan. It is working now. Hong *Hong Li* *Centric Consulting* *In Balance* (888) 781-7567 office (614) 296-7644 mobile www.centricconsulting.com | @Centric <https://twitter.com/centric> On Thu, Mar 24, 2016 at 7:46 PM, Juan Sequeiros <helloj...@gmail.com> wrote: > Ho

Re: GetHBase and "Connection Refused"

2016-03-24 Thread Hong Li
Hi Juan, Thanks for the message. When I activate the controller service, I have a Scope selection where I have two options, "Service only" and "Service and referencing components." How may I make the selection here? Thank you for your help. Hong [image: Inline image 1]

GetHBase and "Connection Refused"

2016-03-23 Thread Hong Li
lumns = (I tried both column family and column family:column name here) Filter Expression = (blank) Initial Time Range = None Character Set = UTF-8 Did I miss anything here? I'm using HDF 1.1.2.0. Thanks for your help. Hong *Hong Li* *Centric Consulting* *In Balance* (888) 781-7567 office (614

Re: Create row keys for HBase from Json messages

2016-03-22 Thread Hong Li
Hi Bryan, Thank you very much for tips. I tested during the day. They are working now. Hong *Hong Li* *Centric Consulting* *In Balance* (888) 781-7567 office (614) 296-7644 mobile www.centricconsulting.com | @Centric <https://twitter.com/centric> On Mon, Mar 21, 2016 at 8:33 PM,

Create row keys for HBase from Json messages

2016-03-21 Thread Hong Li
nnelOfOrigin": "PublicWebsite", ... ... For example, in processor EvaluateJsonPath, I could pull out individual values as shown below: $.effectiveTimestamp $.event.id $.event.applicant.id However, when I tried to create the HBase row key there such as ${allAttributes($.event.id, $event.applicant.id):join($.effectiveTimestamp:toDate('MMM d HH:mm:ss'):toString()}_${uuid} I could not make it work no matter how I modified or simplified the long string. I must have misunderstood something here. I don't know if this question has already been asked and answered. Thank you for your help. Hong *Hong Li* *Centric Consulting* *In Balance* (888) 781-7567 office (614) 296-7644 mobile www.centricconsulting.com | @Centric <https://twitter.com/centric>