https://pinot.apache.org/ logo
Join Slack
Powered by
# general
  • m

    Mayank

    04/04/2019, 12:47 AM
    The question is, when is this behavior not desirable?
  • k

    Kishore G

    04/04/2019, 4:08 AM
    +1 on enabling it by default
  • m

    Mayank

    04/04/2019, 4:14 AM
    +1 as well
  • s

    Seunghyun

    04/04/2019, 5:13 AM
    ^^ https://github.com/apache/incubator-pinot/pull/4074 correct pr
  • s

    Shireen Nagdive

    04/04/2019, 10:16 PM
    In Broker Response, There is a field : ** * Set the total time used in request handling, into the broker response. */ void setTimeUsedMs(long timeUsedMs); This is the latency of a query right?
  • s

    Shireen Nagdive

    04/04/2019, 10:18 PM
    // Set total query processing time. long totalTimeMs = TimeUnit.MILLISECONDS.convert(System.nanoTime() - compilationStartTime, TimeUnit.NANOSECONDS); brokerResponse.setTimeUsedMs(totalTimeMs); This is how it is set in the code
  • m

    Mayank

    04/04/2019, 10:19 PM
    Yes, that's the latency on Pinot side. Client side latency would be slightly larger (ie including network delay).
  • c

    Chinmay Soman

    04/04/2019, 11:14 PM
    Quick question, is there a way to add a specific server / broker instance to a given tenant ? We tried to look at Controller API but didn't really see anything - but maybe we missed it ?
  • k

    Kishore G

    04/04/2019, 11:15 PM
    use tagging
  • c

    Chinmay Soman

    04/04/2019, 11:16 PM
    Interesting. Is there any documentation on this ?
  • k

    Kishore G

    04/04/2019, 11:18 PM
    https://github.com/apache/incubator-pinot/wiki/Multitenancy
  • c

    Chinmay Soman

    04/04/2019, 11:18 PM
    ok thanks will go through that
  • k

    Kishore G

    04/04/2019, 11:19 PM
    this is written in 2015. you can get the idea from that wiki. Not sure if we have documentation on exact commands
  • c

    Chinmay Soman

    04/04/2019, 11:19 PM
    no worries , I can help update the wiki if needed
  • c

    Chinmay Soman

    04/04/2019, 11:47 PM
    I was able to tag a server/broker directly in Zookeeper and that worked. Haven't found the exact command to do that yet but for now we're unblocked
  • c

    Chinmay Soman

    04/04/2019, 11:47 PM
    thanks Kishore !
  • c

    Chinmay Soman

    04/04/2019, 11:48 PM
    might be useful to add this as an explicit API if it doesn't exist already
  • c

    Chinmay Soman

    04/04/2019, 11:50 PM
    lemme know and I can open an issue as required
  • k

    Kishore G

    04/04/2019, 11:51 PM
    i am sure there is some rest api
  • s

    Seunghyun

    04/05/2019, 12:04 AM
    I recently realized that we don’t have pinot api to update tag directly. We only expose
    POST /tenants
    that picks untagged servers and add tags based on the tenant config.
  • s

    Seunghyun

    04/05/2019, 12:05 AM
    We need to add the api to associate an instance to a specific tenant.
  • s

    Seunghyun

    04/05/2019, 12:05 AM
    we have used helix api or a python script to modify tags
  • c

    Chinmay Soman

    04/05/2019, 12:06 AM
    We also find out that manually tagging an instance with a tenant that doesn't exist also creates that particular tenant. Epic !
  • c

    Chinmay Soman

    04/05/2019, 12:06 AM
    that totally solved our problem
  • s

    Seunghyun

    04/05/2019, 12:06 AM
    🙂
  • s

    Seunghyun

    04/05/2019, 12:06 AM
    i will add the item to github issue
  • c

    Chinmay Soman

    04/05/2019, 12:07 AM
    🙂
  • s

    Shireen Nagdive

    04/12/2019, 8:24 PM
    Hi Team, A quick question - Will more of vCPU’s cause the latency to not decrease on increased QPS?
  • s

    Shireen Nagdive

    04/13/2019, 8:00 PM
    Hi team, This image is from one of the pinot presentations. Here, the latency almost remains some and increases when QPS > 1000. I am getting similar result where latency decreases a bit/almost remains same. The result is correct then right? Or should I still expect an increase in latency due to increased load?
  • m

    Mayank

    04/13/2019, 8:06 PM
    You should keep on increasing the QPS until you start seeing the latency degrade. If you are not seeing latency degrade, then increase QPS further. Assuming your test setup is correct, at some point the latency is bound to increase.
1...757677...160Latest