https://pinot.apache.org/ logo
Join Slack
Powered by
# troubleshooting
  • k

    Kenny Bastani

    05/18/2020, 11:36 PM
    Sure.
  • j

    Jackie

    05/18/2020, 11:36 PM
    @srisudha If possible, can you share the table config for your table?
  • s

    srisudha

    05/18/2020, 11:37 PM
    Sure just a moment
  • j

    Jackie

    05/18/2020, 11:38 PM
    Actually I think I know the problem
  • k

    Kenny Bastani

    05/18/2020, 11:38 PM
    https://docs.pinot.apache.org/basics/getting-started/frequent-questions
  • j

    Jackie

    05/18/2020, 11:38 PM
    You have 20 partitions and 2 replicas, so there is no way to evenly spread the partitions
  • s

    srisudha

    05/18/2020, 11:39 PM
    2020-05-19
  • k

    Kenny Bastani

    05/18/2020, 11:39 PM
    (Neha has answered the sole question on the frequent questions page, WRT replica groups)
  • s

    srisudha

    05/18/2020, 11:42 PM
    @Jackie so we tried with same test with 5 servers, 6 cores each, and also parallel ingestion .. The servers query time went upto 40 ms.. Querying at 10 k rps and ingestion at 5k rps
  • s

    srisudha

    05/18/2020, 11:43 PM
    So this time each server got about 8 consuming threads
  • s

    srisudha

    05/18/2020, 11:44 PM
    And only querying at 10k rps all three servers responded in less than 3 ms
  • j

    Jackie

    05/18/2020, 11:46 PM
    @srisudha Did you enable the replica group routing?
  • j

    Jackie

    05/18/2020, 11:47 PM
    I don't think with either 3 or 5 servers you will have segments correctly aligned because you have 2 replicas
  • s

    srisudha

    05/18/2020, 11:47 PM
    Thanks @Kenny Bastani
    🙂 1
  • s

    srisudha

    05/18/2020, 11:47 PM
    No, we just added that code yes to test it out.
  • j

    Jackie

    05/18/2020, 11:48 PM
    I would recommend testing with even number of servers
  • s

    srisudha

    05/18/2020, 11:48 PM
    So are u saying the servers to be a multiple of replicas
  • s

    srisudha

    05/18/2020, 11:48 PM
    Okay will give it a try
  • s

    srisudha

    05/18/2020, 11:49 PM
    And is there any correlation on number of brokers and servers?
  • j

    Jackie

    05/18/2020, 11:49 PM
    Yes, and that will give you correct replica-groups
  • j

    Jackie

    05/18/2020, 11:49 PM
    They are independent
  • s

    srisudha

    05/18/2020, 11:49 PM
    I was thinking 40 consuming threads evenly spread across servers would do
  • j

    Jackie

    05/18/2020, 11:50 PM
    In order to use replica-group, you should put servers as multiple of replicas
  • s

    srisudha

    05/18/2020, 11:51 PM
    Sorry replica group routing we did not add. What we added was partition aware routing from kafkaa producer
  • s

    srisudha

    05/18/2020, 11:51 PM
    Got that..
  • j

    Jackie

    05/18/2020, 11:51 PM
    Are you using the latest Pinot version?
  • j

    Jackie

    05/18/2020, 11:52 PM
    From the log you should be able to find how many segments queried
  • s

    srisudha

    05/18/2020, 11:52 PM
    V created an image from master git and using it because v wanted a recent fix that you made
  • j

    Jackie

    05/18/2020, 11:52 PM
    Cool, that should be the latest
  • j

    Jackie

    05/18/2020, 11:53 PM
    If you configured the partition correctly, you should see only a subset of segments getting queried
1...103104105...166Latest