Member since
04-22-2016
5
Posts
0
Kudos Received
0
Solutions
06-06-2016
04:02 PM
Can you please let me know the link that you used to resolve this issue? Wanted to understand what configurations need to be changed?
... View more
04-29-2016
04:19 PM
I have tried the the curl for the file that i am using and it works fine curl -XPOST http://127.0.0.1:9200/bankman/accountman/1 -d @account1_rec.json
{"_index":"bankman","_type":"accountman","_id":"1","_version":1,"_shards":{"total":2,"successful":1,"failed":0},"created":true}
... View more
04-29-2016
03:07 PM
I tried to change the flow but still get the same two errors Auto refresh started
10:07:10 CDT
ERROR
d3887b11-5c51-4ab3-b520-1c52a6fb6204
PutElasticsearch[id=d3887b11-5c51-4ab3-b520-1c52a6fb6204] No value in identifier attribute account1_rec.json for StandardFlowFileRecord[uuid=47d795d9-1aa0-4aad-a197-a5811708685b,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1461936514797-1, container=default, section=1], offset=1442, length=206],offset=0,name=account1_rec.json,size=206], transferring to failure
10:07:10 CDT
ERROR
d3887b11-5c51-4ab3-b520-1c52a6fb6204
PutElasticsearch[id=d3887b11-5c51-4ab3-b520-1c52a6fb6204] Failed to insert into Elasticsearch due to None of the configured nodes are available: [{#transport#-1}{127.0.0.1}{localhost/127.0.0.1:9200}]. More detailed information may be available in the NiFi logs.: NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{127.0.0.1}{localhost/127.0.0.1:9200}]]
... View more
04-29-2016
02:53 PM
I have a simple JSON file that i am trying to index using elastic search. Here is my JSON file: {"account_number":1,"balance":39225,"firstname":"Amber","lastname":"Duke","age":32,"gender":"M","address":"880 Holmes Lane","employer":"Pyrami","email":"amberduke@pyrami.com","city":"Brogan","state":"IL"} I have elastic search running on my local machine. Localhost:9200 {
"name" : "node-01",
"cluster_name" : "lol_es",
"version" : {
"number" : "2.3.1",
"build_hash" : "bd980929010aef404e7cb0843e61d0665269fc39",
"build_timestamp" : "2016-04-04T12:25:05Z",
"build_snapshot" : false,
"lucene_version" : "5.5.0"
},
"tagline" : "You Know, for Search"
}
I am using two Nifi processor GetFile (getting the json file) and PutElastic (trying to index it to elastic search) I get the following error in Nifi 09:41:57 CDT
ERROR
d3887b11-5c51-4ab3-b520-1c52a6fb6204
PutElasticsearch[id=d3887b11-5c51-4ab3-b520-1c52a6fb6204] No value in identifier attribute ${filename} for StandardFlowFileRecord[uuid=0ced3305-469b-4474-aa26-d14190f2fb2b,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1461936514797-1, container=default, section=1], offset=1236, length=206],offset=0,name=account1_rec.json,size=206], transferring to failure
09:41:57 CDT
ERROR
d3887b11-5c51-4ab3-b520-1c52a6fb6204
PutElasticsearch[id=d3887b11-5c51-4ab3-b520-1c52a6fb6204] Failed to insert into Elasticsearch due to None of the configured nodes are available: [{#transport#-1}{127.0.0.1}{localhost/127.0.0.1:9200}]. More detailed information may be available in the NiFi logs.: NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{127.0.0.1}{localhost/127.0.0.1:9200}]] Here is my configuration for PutElastic processor ElasticSearchHost : localhost:9200 IdentifierAttribute: ${filename} Please let me know what i am missing. Appreciate your help.
... View more
Labels:
- Labels:
-
Apache NiFi
-
Cloudera DataFlow (CDF)