Member since
06-09-2016
125
Posts
9
Kudos Received
2
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
5425 | 07-21-2017 11:02 PM | |
9775 | 11-28-2016 07:59 PM |
11-13-2017
06:18 AM
Hi Shu, Thanks for your advise. I think i missed one of the important step in your instruction. You are right, i want to flatten all the elements including elements of array. I decided to take two different options and for both i was not successful : 1- I tried to flattened all the attribute names which are not pert of array and so i used the attached Jolt Spec1.txt but then the result doesn't include gatewayMetaDataList and so i use EvaluateJsonPath for the array in the next step 2- I used "evaluateJsonPath" with destination of flowfile-attribute and then split json processor with JsonPathExpressionas $.gatewayMetaDataList" but i get the attached error. untitled.png Could you please advise which step i did wrong? Thanks, SJ
... View more
11-09-2017
06:58 AM
Hi , I need to flatten the following input,
... View more
Labels:
- Labels:
-
Apache NiFi
10-07-2017
01:53 PM
Hi, The issue is fixed. I had to delete the rest of the namenodes and just keep one. In HDFS config some of the parameters still pointing to the old servers. I have to replace them with the new server and stop/start all the services. slf4j-log4j error was misleading error and it was kinds of warning and not error.
... View more
10-04-2017
06:10 PM
Thanks Aditya, Didn't work. I also tried to add all of the following ones one by one but didn't work. slf4j-nop.jar slf4j-simple.jar slf4j-log4j12.jar slf4j-jdk14.jar logback-classic.jar
... View more
10-02-2017
08:30 PM
Hi, I tried to moved the App Timeline Server to another server. But i ran to an issue that i cannot start Namenode as it fails to load the "org.slf4j.impl.StaticLoggerBinder" ; the lib is exist when i use rpm -ql slf4j-1.7.4-3.el7.noarch command but looks like it cannot load it. Do I need to add it to class path ? and if yes, which class path. Any advice? Thanks, SJ
... View more
Labels:
09-27-2017
04:04 AM
Hi Shu, I followed your advice. Please find the screenshot. On the green arrow I can get the whole message which is not flattened.. On the red one I get only the array one that I split and not all. untitled.png I add the following in the "attrbuteToJson" processor. applicationID,applicationName,nodeName,devEUI,mac,time,rssi,loRaSNR,name,latitude,longitude,altitude,tI-frequency,dRmodulation,dRbandwidth,dRspreadFactor,tI-adr,tI-codeRate,fCnt,fPort,data Any thoughts please?
... View more
09-26-2017
10:27 PM
Hi Yash, That's really great help. I followed your instructions and could flattened the Json format. Just have a quick question, since we are evaluate the message in two steps (arrays and not array one) how can I merge them together to make sure the full falttened Json message is created.
... View more
09-25-2017
04:36 AM
json.txt Hi, I am trying to insert the following json format to SQL. Since they are not in the same level so it can be challenged. Any thoughts please? Thanks, SJ
... View more
Labels:
- Labels:
-
Apache NiFi
09-20-2017
07:12 PM
Hi Andrew, I've tried consumeMQTT too but the clientId was the issue. Thanks for your help. SJ
... View more
09-20-2017
04:46 AM
Hi, I installed mosquitto on hdf and it is running now. Now i am trying to call publishMQTT and receive the messages from broker but it gives me "upstream connections is invalid because processor requires an upstream connection but currently has none". Please note the i also open the firewall rules and can do telnet to the broker URL too. Please find the attached processor config. Thanks, SJuntitled.png
... View more
Labels:
- Labels:
-
Apache NiFi