- Jubatus を運用する上で、以下の観点での情報が必要と考える。
- 学習リクエストが正しく到達したことを確認できる情報
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+----------+--------------+----------+----------+--------------+-------------------+-------------------------------------------+ | |
| /jubatus | /config | /type | /name | config の内容が書き込まれる | | |
+ +--------------+----------+----------+--------------+-------------------+-------------------------------------------+ | |
| | /actors | /type | /name | /config_lock | /rlock_0000000001 | jubaserver 起動時に作成される | | |
+ + + + + +-------------------+-------------------------------------------+ | |
| | | | | | /wlock_0000000001 | jubaconfig で config 書込み中に作成される | | |
+ + + + +--------------+-------------------+-------------------------------------------+ | |
| | | | | /nodes | /ip_port | jubaserver の IPアドレス と ポート番号 | | |
+ + + |
現状の Jubatus では、異常発生時の振る舞い、異常時に出力するログに統一感があるとは言いがたい。
- 0.5.0 で取得可能な情報は以下の wiki に記載の通り。
- これらの情報に加えて、現時点で必要だと思われる情報について、整理する。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import subprocess | |
from jubatus.common import Datum | |
from jubatus.recommender import client | |
NAME = "test"; | |
PORT = 9199 |