Hello,

I'm building a Kibana Dashboard in order to be able to trace the algorithm
(versioning). Is there a way to detect which engine is deployed in ES?.

This is what I'm seen from ES:

{
"_index": "pio_meta",
"_type": "sequences",
"_id": "apps",
"_score": 1,
"_source": {
"n": "apps"
}
}
,
{
"_index": "pio_meta",
"_type": "engine_instances",
"_id": "AWLPBJc-_qY9G11fK_iK",
"_score": 1,
"_source": {
"id": "AWLPBJc-_qY9G11fK_iK",
"status": "COMPLETED",
"startTime": "2018-04-16T15:13:26.680Z",
"endTime": "2018-04-16T15:13:42.399Z",
"engineId": "org.example.recommendation.RecommendationEngine",
"engineVersion": "27fa19c78a5a36e4d55d8f17ad964fe25f1e4601",
"engineVariant": "default",
"engineFactory": "org.example.recommendation.RecommendationEngine",
"batch": "",
"env": {
"PIO_STORAGE_SOURCES_HBASE_TYPE": "hbase",
"PIO_ENV_LOADED": "1",
"PIO_STORAGE_REPOSITORIES_METADATA_NAME": "pio_meta",
"PIO_FS_BASEDIR": "/root/.pio_store",
"PIO_STORAGE_SOURCES_HBASE_HOME": "/hbase",
"PIO_HOME": "/PredictionIO",
"PIO_FS_ENGINESDIR": "/root/.pio_store/engines",
"PIO_STORAGE_SOURCES_LOCALFS_PATH": "/root/.pio_store/models",
"PIO_STORAGE_SOURCES_ELASTICSEARCH_TYPE": "elasticsearch",
"PIO_STORAGE_REPOSITORIES_METADATA_SOURCE": "ELASTICSEARCH",
"PIO_STORAGE_REPOSITORIES_MODELDATA_SOURCE": "LOCALFS",
"PIO_STORAGE_REPOSITORIES_EVENTDATA_NAME": "pio_event",
"PIO_STORAGE_SOURCES_ELASTICSEARCH_HOME": "/elasticsearch",
"PIO_FS_TMPDIR": "/root/.pio_store/tmp",
"PIO_STORAGE_REPOSITORIES_MODELDATA_NAME": "pio_model",
"PIO_STORAGE_REPOSITORIES_EVENTDATA_SOURCE": "HBASE",
"PIO_CONF_DIR": "/PredictionIO/conf",
"PIO_STORAGE_SOURCES_LOCALFS_TYPE": "localfs"
},
"sparkConf": {
"spark.executor.extraClassPath": "."
},
"dataSourceParams": "{"":{"appName":"MyApp1"}}",
"preparatorParams": "{"":{}}",
"algorithmsParams":
"[{"als":{"rank":10,"numIterations":20,"lambda":0.01,"seed":3}}]",
"servingParams": "{"":{}}"
}
}
,
{
"_index": "pio_meta",
"_type": "apps",
"_id": "1",
"_score": 1,
"_source": {
"id": 1,
"name": "MyApp1"
}
}
,
{
"_index": "pio_meta",
"_type": "accesskeys",
"_id": "Rrt0jVcOydzkqqDztXtaJUwk5xzAJxoR5UVuDimphXuAESLZMOJ6vJXdGkBzW15U",
"_score": 1,
"_source": {
"key": "Rrt0jVcOydzkqqDztXtaJUwk5xzAJxoR5UVuDimphXuAESLZMOJ6vJXdGkBzW15U",
"appid": 1,
"events": [ ]
}
}

Regards,

Joaquín Silva

Reply via email to