-
Jubatus サーバのタイムアウト機能を使用したくないユーザ (
--timeout 0
) の救済方法を検討する- 解決策: クライアントから close できるインタフェースを用意する (Jubatus クライアントを修正)
-
Jubatus サーバのタイムアウト機能を使用したいユーザの救済方法を検討する
- サーバから timeout で自動切断(サーバから TCP FIN パケット送信)された後に RPC メソッドを呼んだ際に RPC エラーが起きるのが不親切 (C++/Python/Ruby のみ)
-
解決策の案(松): サーバから受け取った FIN リクエストを正しくハンドリングするように修正 (msgpack-rpc ライブラリを修正)
This file contains 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のログ出力仕様 | |
glogについては | |
https://gist.github.com/3930022 | |
1. 出力形式 | |
以下の2つが選べること | |
- stderr | |
(LogToStderr) | |
- ファイル |
This file contains 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
public class ClassifierClient { | |
private static class TupleMessagePack extends MessagePack { | |
protected TupleMessagePack(TemplateRegistry registry) { | |
super(registry); | |
} | |
@SuppressWarnings({ "rawtypes", "unchecked" }) | |
public static MessagePack get() { | |
TemplateRegistry reg = new TemplateRegistry(null); | |
AnyTemplate any = new AnyTemplate(reg); |
差分: https://gist.github.com/kmaehashi/5947673/revisions
変更内容は以下の通り。
-
「ラベル」はissue作成時に設定し、「マイルストン」と「担当者」は打合せで設定することを明文化した。(これまで不明確だったため)
-
「「領域」ラベルは、原則として最適なものを 1 つだけ選ぶ」を追記 (「ラベル」の選択基準が人によって異なる問題への対応)
-
領域に対応するラベルとして「command」を追加。(otherラベルが肥大化することを防ぐため)
差分: https://gist.github.com/kmaehashi/5947820/revisions
変更内容は以下の通り。いずれも、過去のトラブルの反省(KPT)を元に見直し。
- configure バリエーションの確認を明記。
- コーディングスタイルの変更確認を明記。
- 「./waf install でインストールされるヘッダに Jubatus 独自のマクロが含まれていない」を追加。
差分: https://gist.github.com/kmaehashi/5947889/revisions
変更点は以下。
-
「リリース直前の打合せで、リリースの必要なリポジトリの洗い出しと、コードフリーズからリリースまでの作業分担の決定」を追加 (作業を明確にすることでリリース直前に慌てないようにする)
-
「リリース契機以外での master ブランチの変更」を追加 (masterブランチを変更してよい例外ケースの明文化)
This file contains 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
{ | |
"converter" : { | |
"string_filter_types" : {}, | |
"string_filter_rules" : [], | |
"num_filter_types" : {}, | |
"num_filter_rules" : [], | |
"string_types" : {}, | |
"string_rules" : [ | |
{ "key" : "*", "type" : "str", "sample_weight" : "bin", "global_weight" : "bin" } | |
], |
This file contains 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
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>Change Clear to Forward Delete</name> | |
<identifier>private.clear_to_forward_delete</identifier> | |
<autogen>__KeyToKey__ KeyCode::KEYPAD_CLEAR, KeyCode::FORWARD_DELETE</autogen> | |
</item> | |
</root> |
現状の Jubatus では、異常発生時の振る舞い、異常時に出力するログに統一感があるとは言いがたい。
OlderNewer