Thank you, for your response.

I was able to resolve the issue. I had to create the index separately. I 
initially thought this already have been created when ES was created. 
Documentation seem to be a bit out of date. I'll try to update as I get a 
chance.

~ Preetam

On 2/15/20, 7:21 AM, "万昆" <[email protected]> wrote:

    Hi, Preetam :
       It means there is no index named "griffin" in your ES which is needed.
    
    
      Maybe there is something wrong with your ES.
    
    
    
    
    
    
    
    
    
    At 2020-02-15 01:22:46, "Preetam Shingavi" 
<[email protected]> wrote:
    >Hello everyone,
    >
    >I am a first time user for apache griffin and I am trying to use the guide 
to get started: 
https://github.com/apache/griffin/blob/master/griffin-doc/docker/griffin-docker-guide.md
    >
    >I am following the steps and for #7 to curl and find the hits from 
elasticsearch, I see a error when I execute the curl command
    >
    >
    >curl -X GET 
'http://<MY_IP_ADDRESS>:39200/griffin/accuracy/_search?pretty&filter_path=hits.hits._source'
 -d '{"query":{"match_all":{}},  "sort": [{"tmst": {"order": "asc"}}]}'
    >
    >{
    >
    >  "error" : {
    >
    >    "root_cause" : [
    >
    >      {
    >
    >        "type" : "index_not_found_exception",
    >
    >        "reason" : "no such index",
    >
    >        "resource.type" : "index_or_alias",
    >
    >        "resource.id" : "griffin",
    >
    >        "index_uuid" : "_na_",
    >
    >        "index" : "griffin"
    >
    >      }
    >
    >    ],
    >
    >    "type" : "index_not_found_exception",
    >
    >    "reason" : "no such index",
    >
    >    "resource.type" : "index_or_alias",
    >
    >    "resource.id" : "griffin",
    >
    >    "index_uuid" : "_na_",
    >
    >    "index" : "griffin"
    >
    >  },
    >
    >  "status" : 404
    >
    >}
    >
    >Has anyone faced this before?
    >
    >I have added the measure and a job mentioned in the previous steps.
    >
    >Thanks in advance!
    >
    >~ Preetam
    

Reply via email to