You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "liunaijie (via GitHub)" <gi...@apache.org> on 2024/06/14 02:42:39 UTC

[I] [Bug] [Redis Sink] cluster mode has some issue [seatunnel]

liunaijie opened a new issue, #6984:
URL: https://github.com/apache/seatunnel/issues/6984

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
   
   
   ### What happened
   
   ![image](https://github.com/apache/seatunnel/assets/28497357/fb73b852-d062-4563-9c91-1c1b0fada767)
   
   
   In redis sink, we will build the redis client(using jedis)
   when build the client with cluster mode, it will wrapper the jediscluster to jedis.
   after that, something wrong.
   
   you can see the code above, when i use jediscluster it will be ok, but when i use jediswrapper, will got exception.
   
   
   
   
   
   ### SeaTunnel Version
   
   2.3.5
   
   ### SeaTunnel Config
   
   ```conf
   env {
     parallelism = 1
     job.mode = "BATCH"
   }
   
   source {
     Redis {
       mode = "cluster"
       nodes = ["127.0.0.1:7000"]
       host = "127.0.0.1"
       port = 7000
       keys = "aaa*"
       data_type = key
     }
   }
   
   sink {
     Console {
     }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   example module
   ```
   
   
   ### Error Exception
   
   ```log
   JedisConnectionException: Failed to connect to any host resolved for DNS name.
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [Redis Sink] cluster mode has some issue [seatunnel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #6984:
URL: https://github.com/apache/seatunnel/issues/6984#issuecomment-2244033843

   This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [Redis Sink] cluster mode has some issue [seatunnel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #6984:
URL: https://github.com/apache/seatunnel/issues/6984#issuecomment-2227539599

   This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [Redis Sink] cluster mode has some issue [seatunnel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #6984: [Bug] [Redis Sink] cluster mode has some issue
URL: https://github.com/apache/seatunnel/issues/6984


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [Redis Sink] cluster mode has some issue [seatunnel]

Posted by "liwenban (via GitHub)" <gi...@apache.org>.
liwenban commented on issue #6984:
URL: https://github.com/apache/seatunnel/issues/6984#issuecomment-2307493526

   I also encountered this problem. This is usually because the redis cluster you deployed is in sharding mode, jedis is not suitable, and you need to use lettuce to implement it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org