[
https://issues.apache.org/jira/browse/PIO-203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Takako Shimamoto updated PIO-203:
---------------------------------
Description:
* just after reindex
{code:sh}
bash-4.4$ curl -XGET 'http://localhost:9600/'
{
"name" : "SQ7XrzJ",
"cluster_name" : "predictionio6",
"cluster_uuid" : "aGsKCsBQS1SNOx_eQgF5xw",
"version" : {
"number" : "6.5.4",
"build_flavor" : "default",
"build_type" : "tar",
"build_hash" : "d2ef93d",
"build_date" : "2018-12-17T21:17:40.758843Z",
"build_snapshot" : false,
"lucene_version" : "7.5.0",
"minimum_wire_compatibility_version" : "5.6.0",
"minimum_index_compatibility_version" : "5.0.0"
},
"tagline" : "You Know, for Search"
}
bash-4.4$ curl -XGET 'http://localhost:9600/_cat/indices?v'
health status index uuid pri rep
docs.count docs.deleted store.size pri.store.size
yellow open pio_meta_accesskeys aGsGXbKoTRSmFlMVx-Pw_Q 5 1
1 0 5.1kb 5.1kb
yellow open pio_meta_sequences W2U5YMuAQLKBXpjF-cEh0A 5 1
1 0 4.3kb 4.3kb
yellow open pio_meta_apps GTzwXqe5T4SbR8StVjt7Lg 5 1
1 0 4.5kb 4.5kb
yellow open pio_event_1 onM3TD4HSJiEDESV6So7iQ 5 1
1501 0 297.5kb 297.5kb
yellow open pio_meta_engine_instances cv939Z13TJWz3LA6X-QjYQ 5 1
1 0 28.2kb 28.2kb
{code}
* check the status
{code:sh}
bash-4.4$ pio status
[INFO] [Management$] Inspecting PredictionIO...
[INFO] [Management$] PredictionIO 0.14.0-SNAPSHOT is installed at
/PredictionIO-0.14.0-SNAPSHOT
[INFO] [Management$] Inspecting Apache Spark...
[INFO] [Management$] Apache Spark is installed at
/PredictionIO-0.14.0-SNAPSHOT/vendors/spark-2.3.2-bin-hadoop2.7
[INFO] [Management$] Apache Spark 2.3.2 detected (meets minimum requirement of
2.0.2)
[INFO] [Management$] Inspecting storage backend connections...
[INFO] [Storage$] Verifying Meta Data Backend (Source: ELASTICSEARCH)...
[WARN] [RestClient] request [PUT http://localhost:9600/pio_meta] returned 1
warnings: [299 Elasticsearch-6.5.4-d2ef93d "the default number of shards will
change from [5] to [1] in 7.0.0; if you wish to continue using the default of
[5] shards, you must manage this on the create index request or with an index
template" "Tue, 15 Jan 2019 07:47:40 GMT"]
[WARN] [RestClient] request [PUT
http://localhost:9600/pio_meta/_mapping/engine_instances] returned 1 warnings:
[299 Elasticsearch-6.5.4-d2ef93d "[_all] is deprecated in 6.0+ and will be
removed in 7.0. As a replacement, you can use [copy_to] on mapping fields to
create your own catch all field." "Tue, 15 Jan 2019 07:47:40 GMT"]
[WARN] [RestClient] request [PUT http://localhost:9600/null_sequences] returned
1 warnings: [299 Elasticsearch-6.5.4-d2ef93d "the default number of shards will
change from [5] to [1] in 7.0.0; if you wish to continue using the default of
[5] shards, you must manage this on the create index request or with an index
template" "Tue, 15 Jan 2019 07:47:40 GMT"]
[WARN] [RestClient] request [PUT
http://localhost:9600/null_sequences/_mapping/sequences] returned 1 warnings:
[299 Elasticsearch-6.5.4-d2ef93d "[_all] is deprecated in 6.0+ and will be
removed in 7.0. As a replacement, you can use [copy_to] on mapping fields to
create your own catch all field." "Tue, 15 Jan 2019 07:47:41 GMT"]
[WARN] [RestClient] request [PUT
http://localhost:9600/pio_meta_evaluation_instances] returned 1 warnings: [299
Elasticsearch-6.5.4-d2ef93d "the default number of shards will change from [5]
to [1] in 7.0.0; if you wish to continue using the default of [5] shards, you
must manage this on the create index request or with an index template" "Tue,
15 Jan 2019 07:47:41 GMT"]
[WARN] [RestClient] request [PUT
http://localhost:9600/pio_meta_evaluation_instances/_mapping/evaluation_instances]
returned 1 warnings: [299 Elasticsearch-6.5.4-d2ef93d "[_all] is deprecated in
6.0+ and will be removed in 7.0. As a replacement, you can use [copy_to] on
mapping fields to create your own catch all field." "Tue, 15 Jan 2019 07:47:41
GMT"]
[WARN] [RestClient] request [PUT http://localhost:9600/pio_meta_apps_sequences]
returned 1 warnings: [299 Elasticsearch-6.5.4-d2ef93d "the default number of
shards will change from [5] to [1] in 7.0.0; if you wish to continue using the
default of [5] shards, you must manage this on the create index request or with
an index template" "Tue, 15 Jan 2019 07:47:41 GMT"]
[WARN] [RestClient] request [PUT
http://localhost:9600/pio_meta_apps_sequences/_mapping/sequences] returned 1
warnings: [299 Elasticsearch-6.5.4-d2ef93d "[_all] is deprecated in 6.0+ and
will be removed in 7.0. As a replacement, you can use [copy_to] on mapping
fields to create your own catch all field." "Tue, 15 Jan 2019 07:47:41 GMT"]
[INFO] [Storage$] Verifying Model Data Backend (Source: LOCALFS)...
[INFO] [Storage$] Verifying Event Data Backend (Source: ELASTICSEARCH)...
[INFO] [Storage$] Test writing to Event Store (App Id 0)...
[WARN] [RestClient] request [PUT http://localhost:9600/pio_event_0] returned 1
warnings: [299 Elasticsearch-6.5.4-d2ef93d "the default number of shards will
change from [5] to [1] in 7.0.0; if you wish to continue using the default of
[5] shards, you must manage this on the create index request or with an index
template" "Tue, 15 Jan 2019 07:47:41 GMT"]
[WARN] [RestClient] request [PUT http://localhost:9600/pio_event_0/_mapping/0]
returned 1 warnings: [299 Elasticsearch-6.5.4-d2ef93d "[_all] is deprecated in
6.0+ and will be removed in 7.0. As a replacement, you can use [copy_to] on
mapping fields to create your own catch all field." "Tue, 15 Jan 2019 07:47:42
GMT"]
[INFO] [Management$] Your system is all ready to go.
{code}
* after running 'pio status'
{code:sh}
bash-4.4$ curl -XGET 'http://localhost:9600/_cat/indices?v'
health status index uuid pri rep
docs.count docs.deleted store.size pri.store.size
yellow open pio_meta_evaluation_instances 6Awm5WiVTN2NUm0hRB2Eng 5 1
0 0 460b 460b
yellow open pio_meta_sequences W2U5YMuAQLKBXpjF-cEh0A 5 1
1 0 4.3kb 4.3kb
yellow open pio_meta_apps GTzwXqe5T4SbR8StVjt7Lg 5 1
1 0 4.5kb 4.5kb
yellow open pio_event_0 jD2YhR6RQHqnyn12DLp3Yg 5 1
0 0 631b 631b
yellow open pio_meta_apps_sequences 4DUDuugSQbyspwgg7BxpwQ 5 1
0 0 460b 460b
yellow open pio_meta_accesskeys aGsGXbKoTRSmFlMVx-Pw_Q 5 1
1 0 5.1kb 5.1kb
yellow open null_sequences q5BtFzyFTaOESJLESolc-g 5 1
0 0 460b 460b
yellow open pio_event_1 onM3TD4HSJiEDESV6So7iQ 5 1
1501 0 297.5kb 297.5kb
yellow open pio_meta 2U1XbikfQ9ue_HMPBK-B_A 5 1
0 0 460b 460b
yellow open pio_meta_engine_instances cv939Z13TJWz3LA6X-QjYQ 5 1
1 0 28.2kb 28.2kb
{code}
was:
{code:sh}
bash-4.4$ curl -XGET 'http://localhost:9600/'
{
"name" : "SQ7XrzJ",
"cluster_name" : "predictionio6",
"cluster_uuid" : "aGsKCsBQS1SNOx_eQgF5xw",
"version" : {
"number" : "6.5.4",
"build_flavor" : "default",
"build_type" : "tar",
"build_hash" : "d2ef93d",
"build_date" : "2018-12-17T21:17:40.758843Z",
"build_snapshot" : false,
"lucene_version" : "7.5.0",
"minimum_wire_compatibility_version" : "5.6.0",
"minimum_index_compatibility_version" : "5.0.0"
},
"tagline" : "You Know, for Search"
}
bash-4.4$ pio status
[INFO] [Management$] Inspecting PredictionIO...
[INFO] [Management$] PredictionIO 0.14.0-SNAPSHOT is installed at
/PredictionIO-0.14.0-SNAPSHOT
[INFO] [Management$] Inspecting Apache Spark...
[INFO] [Management$] Apache Spark is installed at
/PredictionIO-0.14.0-SNAPSHOT/vendors/spark-2.3.2-bin-hadoop2.7
[INFO] [Management$] Apache Spark 2.3.2 detected (meets minimum requirement of
2.0.2)
[INFO] [Management$] Inspecting storage backend connections...
[INFO] [Storage$] Verifying Meta Data Backend (Source: ELASTICSEARCH)...
[WARN] [RestClient] request [PUT http://localhost:9600/pio_meta] returned 1
warnings: [299 Elasticsearch-6.5.4-d2ef93d "the default number of shards will
change from [5] to [1] in 7.0.0; if you wish to continue using the default of
[5] shards, you must manage this on the create index request or with an index
template" "Tue, 15 Jan 2019 07:47:40 GMT"]
[WARN] [RestClient] request [PUT
http://localhost:9600/pio_meta/_mapping/engine_instances] returned 1 warnings:
[299 Elasticsearch-6.5.4-d2ef93d "[_all] is deprecated in 6.0+ and will be
removed in 7.0. As a replacement, you can use [copy_to] on mapping fields to
create your own catch all field." "Tue, 15 Jan 2019 07:47:40 GMT"]
[WARN] [RestClient] request [PUT http://localhost:9600/null_sequences] returned
1 warnings: [299 Elasticsearch-6.5.4-d2ef93d "the default number of shards will
change from [5] to [1] in 7.0.0; if you wish to continue using the default of
[5] shards, you must manage this on the create index request or with an index
template" "Tue, 15 Jan 2019 07:47:40 GMT"]
[WARN] [RestClient] request [PUT
http://localhost:9600/null_sequences/_mapping/sequences] returned 1 warnings:
[299 Elasticsearch-6.5.4-d2ef93d "[_all] is deprecated in 6.0+ and will be
removed in 7.0. As a replacement, you can use [copy_to] on mapping fields to
create your own catch all field." "Tue, 15 Jan 2019 07:47:41 GMT"]
[WARN] [RestClient] request [PUT
http://localhost:9600/pio_meta_evaluation_instances] returned 1 warnings: [299
Elasticsearch-6.5.4-d2ef93d "the default number of shards will change from [5]
to [1] in 7.0.0; if you wish to continue using the default of [5] shards, you
must manage this on the create index request or with an index template" "Tue,
15 Jan 2019 07:47:41 GMT"]
[WARN] [RestClient] request [PUT
http://localhost:9600/pio_meta_evaluation_instances/_mapping/evaluation_instances]
returned 1 warnings: [299 Elasticsearch-6.5.4-d2ef93d "[_all] is deprecated in
6.0+ and will be removed in 7.0. As a replacement, you can use [copy_to] on
mapping fields to create your own catch all field." "Tue, 15 Jan 2019 07:47:41
GMT"]
[WARN] [RestClient] request [PUT http://localhost:9600/pio_meta_apps_sequences]
returned 1 warnings: [299 Elasticsearch-6.5.4-d2ef93d "the default number of
shards will change from [5] to [1] in 7.0.0; if you wish to continue using the
default of [5] shards, you must manage this on the create index request or with
an index template" "Tue, 15 Jan 2019 07:47:41 GMT"]
[WARN] [RestClient] request [PUT
http://localhost:9600/pio_meta_apps_sequences/_mapping/sequences] returned 1
warnings: [299 Elasticsearch-6.5.4-d2ef93d "[_all] is deprecated in 6.0+ and
will be removed in 7.0. As a replacement, you can use [copy_to] on mapping
fields to create your own catch all field." "Tue, 15 Jan 2019 07:47:41 GMT"]
[INFO] [Storage$] Verifying Model Data Backend (Source: LOCALFS)...
[INFO] [Storage$] Verifying Event Data Backend (Source: ELASTICSEARCH)...
[INFO] [Storage$] Test writing to Event Store (App Id 0)...
[WARN] [RestClient] request [PUT http://localhost:9600/pio_event_0] returned 1
warnings: [299 Elasticsearch-6.5.4-d2ef93d "the default number of shards will
change from [5] to [1] in 7.0.0; if you wish to continue using the default of
[5] shards, you must manage this on the create index request or with an index
template" "Tue, 15 Jan 2019 07:47:41 GMT"]
[WARN] [RestClient] request [PUT http://localhost:9600/pio_event_0/_mapping/0]
returned 1 warnings: [299 Elasticsearch-6.5.4-d2ef93d "[_all] is deprecated in
6.0+ and will be removed in 7.0. As a replacement, you can use [copy_to] on
mapping fields to create your own catch all field." "Tue, 15 Jan 2019 07:47:42
GMT"]
[INFO] [Management$] Your system is all ready to go.
{code}
> pio status warnings
> -------------------
>
> Key: PIO-203
> URL: https://issues.apache.org/jira/browse/PIO-203
> Project: PredictionIO
> Issue Type: Sub-task
> Affects Versions: 0.14.0
> Reporter: Takako Shimamoto
> Priority: Major
>
> * just after reindex
> {code:sh}
> bash-4.4$ curl -XGET 'http://localhost:9600/'
> {
> "name" : "SQ7XrzJ",
> "cluster_name" : "predictionio6",
> "cluster_uuid" : "aGsKCsBQS1SNOx_eQgF5xw",
> "version" : {
> "number" : "6.5.4",
> "build_flavor" : "default",
> "build_type" : "tar",
> "build_hash" : "d2ef93d",
> "build_date" : "2018-12-17T21:17:40.758843Z",
> "build_snapshot" : false,
> "lucene_version" : "7.5.0",
> "minimum_wire_compatibility_version" : "5.6.0",
> "minimum_index_compatibility_version" : "5.0.0"
> },
> "tagline" : "You Know, for Search"
> }
> bash-4.4$ curl -XGET 'http://localhost:9600/_cat/indices?v'
> health status index uuid pri rep
> docs.count docs.deleted store.size pri.store.size
> yellow open pio_meta_accesskeys aGsGXbKoTRSmFlMVx-Pw_Q 5 1
> 1 0 5.1kb 5.1kb
> yellow open pio_meta_sequences W2U5YMuAQLKBXpjF-cEh0A 5 1
> 1 0 4.3kb 4.3kb
> yellow open pio_meta_apps GTzwXqe5T4SbR8StVjt7Lg 5 1
> 1 0 4.5kb 4.5kb
> yellow open pio_event_1 onM3TD4HSJiEDESV6So7iQ 5 1
> 1501 0 297.5kb 297.5kb
> yellow open pio_meta_engine_instances cv939Z13TJWz3LA6X-QjYQ 5 1
> 1 0 28.2kb 28.2kb
> {code}
> * check the status
> {code:sh}
> bash-4.4$ pio status
> [INFO] [Management$] Inspecting PredictionIO...
> [INFO] [Management$] PredictionIO 0.14.0-SNAPSHOT is installed at
> /PredictionIO-0.14.0-SNAPSHOT
> [INFO] [Management$] Inspecting Apache Spark...
> [INFO] [Management$] Apache Spark is installed at
> /PredictionIO-0.14.0-SNAPSHOT/vendors/spark-2.3.2-bin-hadoop2.7
> [INFO] [Management$] Apache Spark 2.3.2 detected (meets minimum requirement
> of 2.0.2)
> [INFO] [Management$] Inspecting storage backend connections...
> [INFO] [Storage$] Verifying Meta Data Backend (Source: ELASTICSEARCH)...
> [WARN] [RestClient] request [PUT http://localhost:9600/pio_meta] returned 1
> warnings: [299 Elasticsearch-6.5.4-d2ef93d "the default number of shards will
> change from [5] to [1] in 7.0.0; if you wish to continue using the default of
> [5] shards, you must manage this on the create index request or with an index
> template" "Tue, 15 Jan 2019 07:47:40 GMT"]
> [WARN] [RestClient] request [PUT
> http://localhost:9600/pio_meta/_mapping/engine_instances] returned 1
> warnings: [299 Elasticsearch-6.5.4-d2ef93d "[_all] is deprecated in 6.0+ and
> will be removed in 7.0. As a replacement, you can use [copy_to] on mapping
> fields to create your own catch all field." "Tue, 15 Jan 2019 07:47:40 GMT"]
> [WARN] [RestClient] request [PUT http://localhost:9600/null_sequences]
> returned 1 warnings: [299 Elasticsearch-6.5.4-d2ef93d "the default number of
> shards will change from [5] to [1] in 7.0.0; if you wish to continue using
> the default of [5] shards, you must manage this on the create index request
> or with an index template" "Tue, 15 Jan 2019 07:47:40 GMT"]
> [WARN] [RestClient] request [PUT
> http://localhost:9600/null_sequences/_mapping/sequences] returned 1 warnings:
> [299 Elasticsearch-6.5.4-d2ef93d "[_all] is deprecated in 6.0+ and will be
> removed in 7.0. As a replacement, you can use [copy_to] on mapping fields to
> create your own catch all field." "Tue, 15 Jan 2019 07:47:41 GMT"]
> [WARN] [RestClient] request [PUT
> http://localhost:9600/pio_meta_evaluation_instances] returned 1 warnings:
> [299 Elasticsearch-6.5.4-d2ef93d "the default number of shards will change
> from [5] to [1] in 7.0.0; if you wish to continue using the default of [5]
> shards, you must manage this on the create index request or with an index
> template" "Tue, 15 Jan 2019 07:47:41 GMT"]
> [WARN] [RestClient] request [PUT
> http://localhost:9600/pio_meta_evaluation_instances/_mapping/evaluation_instances]
> returned 1 warnings: [299 Elasticsearch-6.5.4-d2ef93d "[_all] is deprecated
> in 6.0+ and will be removed in 7.0. As a replacement, you can use [copy_to]
> on mapping fields to create your own catch all field." "Tue, 15 Jan 2019
> 07:47:41 GMT"]
> [WARN] [RestClient] request [PUT
> http://localhost:9600/pio_meta_apps_sequences] returned 1 warnings: [299
> Elasticsearch-6.5.4-d2ef93d "the default number of shards will change from
> [5] to [1] in 7.0.0; if you wish to continue using the default of [5] shards,
> you must manage this on the create index request or with an index template"
> "Tue, 15 Jan 2019 07:47:41 GMT"]
> [WARN] [RestClient] request [PUT
> http://localhost:9600/pio_meta_apps_sequences/_mapping/sequences] returned 1
> warnings: [299 Elasticsearch-6.5.4-d2ef93d "[_all] is deprecated in 6.0+ and
> will be removed in 7.0. As a replacement, you can use [copy_to] on mapping
> fields to create your own catch all field." "Tue, 15 Jan 2019 07:47:41 GMT"]
> [INFO] [Storage$] Verifying Model Data Backend (Source: LOCALFS)...
> [INFO] [Storage$] Verifying Event Data Backend (Source: ELASTICSEARCH)...
> [INFO] [Storage$] Test writing to Event Store (App Id 0)...
> [WARN] [RestClient] request [PUT http://localhost:9600/pio_event_0] returned
> 1 warnings: [299 Elasticsearch-6.5.4-d2ef93d "the default number of shards
> will change from [5] to [1] in 7.0.0; if you wish to continue using the
> default of [5] shards, you must manage this on the create index request or
> with an index template" "Tue, 15 Jan 2019 07:47:41 GMT"]
> [WARN] [RestClient] request [PUT
> http://localhost:9600/pio_event_0/_mapping/0] returned 1 warnings: [299
> Elasticsearch-6.5.4-d2ef93d "[_all] is deprecated in 6.0+ and will be removed
> in 7.0. As a replacement, you can use [copy_to] on mapping fields to create
> your own catch all field." "Tue, 15 Jan 2019 07:47:42 GMT"]
> [INFO] [Management$] Your system is all ready to go.
> {code}
> * after running 'pio status'
> {code:sh}
> bash-4.4$ curl -XGET 'http://localhost:9600/_cat/indices?v'
> health status index uuid pri rep
> docs.count docs.deleted store.size pri.store.size
> yellow open pio_meta_evaluation_instances 6Awm5WiVTN2NUm0hRB2Eng 5 1
> 0 0 460b 460b
> yellow open pio_meta_sequences W2U5YMuAQLKBXpjF-cEh0A 5 1
> 1 0 4.3kb 4.3kb
> yellow open pio_meta_apps GTzwXqe5T4SbR8StVjt7Lg 5 1
> 1 0 4.5kb 4.5kb
> yellow open pio_event_0 jD2YhR6RQHqnyn12DLp3Yg 5 1
> 0 0 631b 631b
> yellow open pio_meta_apps_sequences 4DUDuugSQbyspwgg7BxpwQ 5 1
> 0 0 460b 460b
> yellow open pio_meta_accesskeys aGsGXbKoTRSmFlMVx-Pw_Q 5 1
> 1 0 5.1kb 5.1kb
> yellow open null_sequences q5BtFzyFTaOESJLESolc-g 5 1
> 0 0 460b 460b
> yellow open pio_event_1 onM3TD4HSJiEDESV6So7iQ 5 1
> 1501 0 297.5kb 297.5kb
> yellow open pio_meta 2U1XbikfQ9ue_HMPBK-B_A 5 1
> 0 0 460b 460b
> yellow open pio_meta_engine_instances cv939Z13TJWz3LA6X-QjYQ 5 1
> 1 0 28.2kb 28.2kb
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)