{"action":"created","issue":{"url":"https://api.github.com/repos/fluent-plugins-nursery/fluent-plugin-redis/issues/25","repository_url":"https://api.github.com/repos/fluent-plugins-nursery/fluent-plugin-redis","labels_url":"https://api.github.com/repos/fluent-plugins-nursery/fluent-plugin-redis/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/fluent-plugins-nursery/fluent-plugin-redis/issues/25/comments","events_url":"https://api.github.com/repos/fluent-plugins-nursery/fluent-plugin-redis/issues/25/events","html_url":"https://github.com/fluent-plugins-nursery/fluent-plugin-redis/issues/25","id":301241614,"number":25,"title":" failed to flush to Redis Cluster","user":{"login":"fabregas4you","id":4994734,"avatar_url":"https://avatars2.githubusercontent.com/u/4994734?v=4","gravatar_id":"","url":"https://api.github.com/users/fabregas4you","html_url":"https://github.com/fabregas4you","followers_url":"https://api.github.com/users/fabregas4you/followers","following_url":"https://api.github.com/users/fabregas4you/following{/other_user}","gists_url":"https://api.github.com/users/fabregas4you/gists{/gist_id}","starred_url":"https://api.github.com/users/fabregas4you/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabregas4you/subscriptions","organizations_url":"https://api.github.com/users/fabregas4you/orgs","repos_url":"https://api.github.com/users/fabregas4you/repos","events_url":"https://api.github.com/users/fabregas4you/events{/privacy}","received_events_url":"https://api.github.com/users/fabregas4you/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-01T01:01:49Z","updated_at":"2018-03-01T01:10:12Z","closed_at":null,"author_association":"NONE","body":"#### Problem\r\nSetUP Redis Cluster and try to use same as \"Stand-Alone redis server\", but  failed to flush. \r\n\r\n#### Steps to replicate\r\n- td-agent.log \r\n```\r\n  2018-02-28 07:07:40 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize'\r\n  2018-02-28 07:07:40 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/redis-3.3.5/lib/redis.rb:58:in `synchronize'\r\n  2018-02-28 07:07:40 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/redis-3.3.5/lib/redis.rb:2254:in `pipelined'\r\n  2018-02-28 07:07:40 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluent-plugin-redis-0.3.3/lib/fluent/plugin/out_redis.rb:78:in `write'\r\n  2018-02-28 07:07:40 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.0.2/lib/fluent/plugin/output.rb:1093:in `try_flush'\r\n  2018-02-28 07:07:40 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.0.2/lib/fluent/plugin/output.rb:1318:in `flush_thread_run'\r\n  2018-02-28 07:07:40 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.0.2/lib/fluent/plugin/output.rb:439:in `block (2 levels) in start'\r\n  2018-02-28 07:07:40 +0000 [warn]: #0 /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/fluentd-1.0.2/lib/fluent/plugin_helper/thread.rb:78:in `block in thread_create'\r\n2018-02-28 07:07:41 +0000 [warn]: #0 failed to flush the buffer. retry_time=0 next_retry_seconds=2018-02-28 07:07:41 +0000 chunk=\"566404c81a32ba03e1eed843ab440078\" error_class=Redis::CommandError error=\"MOVED 14935 127.0.0.1:7000\"\r\n```\r\n\r\n#### Expected Behavior\r\n- Use like \"redis-cli -c\" if I could. \r\n\r\n#### Your environment\r\n\r\n* OS version \r\n  * Linux 2.6.32-696.20.1.el6.x86_64 , CentOS-6.9\r\n* paste result of ``fluentd --version`` or ``td-agent --version``\r\n * fluentd 1.0.2\r\n * td-agent-3.1.1-0.el6.x86_64\r\n* plugin version\r\n  * paste result of ``fluent-gem list``, ``td-agent-gem list`` or your Gemfile.lock\r\n  * gem list \r\n  ```\r\n  $ td-agent-gem list\r\n  *** LOCAL GEMS ***\r\n  bigdecimal (default: 1.3.0)\r\n  bundler (1.16.0)\r\n  cool.io (1.5.3)\r\n  fluent-logger (0.7.1)\r\n  fluent-plugin-bigquery (1.2.0)\r\n  fluent-plugin-elasticsearch (2.4.0)\r\n  fluent-plugin-kafka (0.6.5)\r\n  fluent-plugin-redis (0.3.3)\r\n  fluent-plugin-rewrite-tag-filter (2.0.1)\r\n  fluent-plugin-s3 (1.1.0)\r\n  fluent-plugin-td (1.0.0)\r\n  fluent-plugin-td-monitoring (0.2.3)\r\n  fluent-plugin-webhdfs (1.2.2)\r\n  fluentd (1.0.2)\r\n  json (default: 2.0.4)\r\n  jwt (2.1.0)\r\n  little-plugger (1.1.4)\r\n  logging (2.2.2)\r\n  ltsv (0.1.0)\r\n  msgpack (1.2.0)\r\n  multi_json (1.12.2) \r\n  multipart-post (2.0.0)\r\n  nokogiri (1.8.1)\r\n  ohai (6.20.0)\r\n  oj (3.3.9)\r\n  openssl (default: 2.0.5) \r\n  os (0.9.6)\r\n  parallel (1.12.1)\r\n  power_assert (0.4.1)\r\n  psych (default: 2.2.2) \r\n  public_suffix (3.0.1)\r\n  rake (12.0.0)\r\n  rdoc (default: 5.0.0)\r\n  redis (3.3.5)\r\n  serverengine (2.0.5)\r\n  sigdump (0.2.4)\r\n  signet (0.8.1)\r\n  td (0.15.7)\r\n  td-client (1.0.4)\r\n  td-logger (0.3.27)\r\n  test-unit (3.2.3)\r\n  thread_safe (0.3.6)\r\n  tzinfo (1.2.4)\r\n  tzinfo-data (1.2017.3)\r\n  uber (0.1.0)\r\n  webhdfs (0.8.0)\r\n  xmlrpc (0.2.1)\r\n  yajl-ruby (1.3.1)\r\n  zip-zip (0.3)\r\n  ```"},"comment":{"url":"https://api.github.com/repos/fluent-plugins-nursery/fluent-plugin-redis/issues/comments/369440099","html_url":"https://github.com/fluent-plugins-nursery/fluent-plugin-redis/issues/25#issuecomment-369440099","issue_url":"https://api.github.com/repos/fluent-plugins-nursery/fluent-plugin-redis/issues/25","id":369440099,"user":{"login":"cosmo0920","id":700876,"avatar_url":"https://avatars1.githubusercontent.com/u/700876?v=4","gravatar_id":"","url":"https://api.github.com/users/cosmo0920","html_url":"https://github.com/cosmo0920","followers_url":"https://api.github.com/users/cosmo0920/followers","following_url":"https://api.github.com/users/cosmo0920/following{/other_user}","gists_url":"https://api.github.com/users/cosmo0920/gists{/gist_id}","starred_url":"https://api.github.com/users/cosmo0920/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cosmo0920/subscriptions","organizations_url":"https://api.github.com/users/cosmo0920/orgs","repos_url":"https://api.github.com/users/cosmo0920/repos","events_url":"https://api.github.com/users/cosmo0920/events{/privacy}","received_events_url":"https://api.github.com/users/cosmo0920/received_events","type":"User","site_admin":false},"created_at":"2018-03-01T01:10:12Z","updated_at":"2018-03-01T01:10:12Z","author_association":"OWNER","body":"This is expected behavior.\r\nCurrently, Redis Cluster does not support.\r\nref: https://github.com/redis/redis-rb/pull/716"}}
{"actor":{"display_login":"cosmo0920"}}