Member since
03-21-2018
18
Posts
0
Kudos Received
0
Solutions
10-18-2018
11:33 AM
I'm using amazon Product API. I have used ItemSearch, BrowseNodeLookUp and ItemLookUp operations. But it gives me only 10 pages. when I tried to get ItemPage 11 it gives error message and says "Invalid input and range must be between 1 to 10". So, Is there any way to get more than 10 pages.?
... View more
10-12-2018
05:22 AM
delete.xml I have attached xml file in which I want to remove quotes from two tags and name of tag is <Department> and <LegalDisclaimer>.
... View more
10-06-2018
03:17 PM
<tag key="value">des1"</tag><tag >description desc "des1" dsc</tag> I want to replace quotes which are in tag <> " " </> used with des1. Here we know that des1 so we can easily replace quotes by specifying des1 but what if we don't know the name and we have to remove these quotes .? . I have tried many regEx with replaceText processor in nifi but it didn't work because it also replaces the quotes of value . I Just want to replace the quotes of des1. note: here I have specified des1 but I want regEx which are suitable for all kind of word
... View more
Labels:
08-28-2018
10:03 AM
A. Jolt Spec Tried: [{"operation":"shift","spec":{"children":{"*":{"id2":"&","name":"&","path":"&","@":"[&1]","@(2,id)":"[&1].parent_id","children":{"*":{"@":"[&1]","@(3,id2)":"[&1].parent_id2"}}}}}}] INPUT # {"categories":[{"id":"A","name":"firstName","path":"firstPath","children":[{"id":"A_B","name":"secondName","path":"secondPath","children":[{"id":"A_B_C","name":"thirdName","path":"thirdPath"}]}]}]} Required this OUTPUT # [{"id":"A","name":"firstName","path":"firstPath","parentId":"0"},{"id":"A_B","name":"secondName","path":"secondPath","parentId":"A"},{"id":"A_B_C","name":"thirdName","path":"thirdPath","parentId":"A_B"}]
... View more
07-07-2018
06:35 AM
@Matt Clarke it doesn't work. It directly goes to unmatched. Means condition is not worked. I have attached flow and configuration of RouteOnAttribute processor Configuration of RouteOnAttribute Processor
... View more
07-06-2018
11:42 AM
I have two flow file: 1) $.category = sport 2) $.temp_array = "music" , "sport" , "traveling" I just want to check $.category is exist in $.temp_array or not using in expression language. Ex. ${category:in(${temp_array})} But it doesn't work with array or (variable). I have used this login on RouteOnAttribute processor. Instead of above example if i write like this: ${category:in("music","sport","traveling")} then ii will give you perfect output But this is static data. Instead of this i want to use dynamic. Please help.
... View more
Labels:
06-14-2018
12:46 PM
I am getting a json object in flow file which I need to pass to a java method which takes json object as parameter. I am doing this calling through groovy script by supplying java method jar in Module Directory property of ExecuteScript Processor. It would be nice if somebody helps me with groovy script. I went through the cookbook by @Matt Burgess on execute script processor which explains almost everything, in any way if you can help @Matt Burgess Thanks in advance
... View more
04-21-2018
05:00 AM
@Shu In puthbasecell there are two flow files are reached one is row and another is column but when first flow is arrives means when it get row then hbasecell processor consider that flow file as a row as well as column and insert same value in row identifier and in columnFamily . And another second flow file is not get inserted into hbaseCell. Please give me suggestion that i can insert one flow as row identifier and another is for column.
... View more
Labels:
04-10-2018
12:11 PM
I have tried to load variable in PutHbaseCell but it will not take any value
... View more
- Tags:
- HBase
- nifi-processor
Labels:
04-06-2018
12:19 PM
I have tried replceText processor to remove first 5 letters but it doesn't work..Please suggest me the best way to remove first 5 letters in NiFi
... View more
Labels:
04-04-2018
04:52 AM
@Matt Burgess Thank you sir. But What should i do if i don't know the name of category or i don't want to write name of particular category and want to get category loop wise (like one by one)..? Actually i have many categories and want to store these categories into hbase one by one (for example store category1 in one row with it's unique row identifier. That's why i want to get categories one by one
... View more
04-03-2018
06:43 AM
I have tried SplitJson and EvaluateJson processor in NiFi but i cant get proper data exmple: {
"affiliate": {
"name": "affiliate",
"apiLists": {
"category1": {
"availableVariants": {
"v1.1.0": {
"resourceName": "category1",
"put": null,
"delete": null,
"post": null
},
"v0.1.0": {
"resourceName": "category1",
"put": null,
"delete": null
}
},
"apiName": "category1"
},
"category2": {
"availableVariants": {
"v1.1.0": {
"resourceName": "category2",
"put": null,
"delete": null,
"post": null
},
"v0.1.0": {
"resourceName": "category2",
"put": null,
"delete": null,
"post": null
}
},
"apiName": "category2"
}
}
}
} i want to get that "category1" which is come in apiLists and also want to get "category2" but i cant get it by using SplitJson and EvaluateJson
... View more
Labels:
03-22-2018
12:09 PM
i hve tried uuid() function but it repeat records like :-
... View more
03-22-2018
11:33 AM
I have tried this solution but it inserts only last record i.e record with "id":412
... View more
03-22-2018
09:57 AM
My input is like case 2 and want output should be I have used PutHbaseCell processor but it store two ids in one row.i want to store on different row
... View more
03-22-2018
09:19 AM
{"id":"412","name":"Apparel Fabric","path":"Arts, Crafts & Sewing/Fabric/Apparel Fabric"},{"id":"604","name":"Apparel Fabric","path":"Arts, Crafts & Sewing/Fabric/Apparel Fabric"} I'm expecting this type of output for above json data
... View more
03-22-2018
06:50 AM
Here is the sample json data @Shu {"id" : "1334134","name" : "Apparel Fabric","path" : "Arts, Crafts & Sewing/Fabric/Apparel Fabric"},
{"id" : "412","name" : "Apparel Fabric","path" : "Arts, Crafts & Sewing/Fabric/Apparel Fabric"}
... View more
03-21-2018
11:08 AM
Please tell me how to store json multiple line data in hbase from NiFi.
... View more
Labels: