You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@griffin.apache.org by Preetam Shingavi <ps...@expediagroup.com.INVALID> on 2020/02/14 17:22:46 UTC

Running griffin in docker - ES complains with no index found

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

Re:Running griffin in docker - ES complains with no index found

Posted by 万昆 <wa...@163.com>.
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" <ps...@expediagroup.com.INVALID> 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