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

    Xiang Fu

    04/04/2020, 4:38 AM
    provided by pinot repo
  • x

    Xiang Fu

    04/04/2020, 4:39 AM
    https://docs.pinot.apache.org/integrations/presto
  • x

    Xiang Fu

    04/04/2020, 4:39 AM
    https://docs.pinot.apache.org/getting-started/kubernetes-quickstart#6-access-pinot-using-presto
  • x

    Xiang Fu

    04/04/2020, 4:40 AM
    the k8s yaml:
  • x

    Xiang Fu

    04/04/2020, 4:40 AM
    https://github.com/apache/incubator-pinot/blob/master/kubernetes/helm/presto-coordinator.yaml
  • d

    Dan Hill

    04/04/2020, 4:42 AM
    Oh cool, I'll look at that.
  • a

    Apoorva Moghey

    04/06/2020, 11:35 AM
    I have a schema with these fields
    {tenant_id, uidx, date, hour, steps}
    and
    {tenat_id, uidx, date, hour}
    is part of the
    primary key
    . So Source debezium Kafka connector will keep pushing updates on the above schema. So my question is: How can we maintain last view value in Pinot. In this case
    steps
  • d

    Dan Hill

    04/08/2020, 1:31 AM
    Are there any recommended monitoring solutions for Pinot? I see this gitbook page. I see JMX to Prometheus.
  • x

    Xiang Fu

    04/08/2020, 2:10 AM
    The Pinot metrics can be fetched from JMX, you could also query it.
  • x

    Xiang Fu

    04/08/2020, 2:11 AM
    Uber has wrote a wrapper on PinotStarter and inject a JmxQueryLayer to fetch and organize metrics, then use internal lib to publish to local metrics collector agent. This is usually how people hook up with existing monitoring system
  • x

    Xiang Fu

    04/08/2020, 2:12 AM
    Or if you have scrapper to fetch metrics, then you can try to expose an metrics endpoint for node_exporters to scrapper the metrics
  • x

    Xiang Fu

    04/08/2020, 2:13 AM
    either will work, based on how your monitoring system architecture
  • b

    Buchi Reddy

    04/08/2020, 2:30 AM
    @User Given the extensive adoption of Prometheus, maybe consider exposing the metrics in Prom compliant format (flag enabled) so that people can easily get these metrics into Prom?
  • d

    Dan Hill

    04/08/2020, 3:25 AM
    I'm building a system from scratch so I'd take any advice on monitoring systems that work well with it. Sounds like Prometheus is a good solution.
  • x

    Xiang Fu

    04/08/2020, 4:17 AM
    @User this is good idea, I bet there must be some MetricsReporter tooling we can use
    👍 1
  • x

    Xiang Fu

    04/08/2020, 4:33 AM
    just the metrics may still be old fashion dot format, not tag based
  • t

    Ting Chen

    04/08/2020, 7:04 PM
    Can I disable a server instance S in a tenant? I want to make sure segment resource no longer allocated to S and any resource in ERROR state on S becomes OFFLINE. I tried the controller api:
    Copy code
    /instances/{instanceName}/state
    but this API does not work for me.
    Copy code
    /instances/{instanceName}
    works fine. Deleting the instance does not work either because the instance is live.
  • k

    Kishore G

    04/08/2020, 7:13 PM
    New segments will not get assigned
    👍 1
  • s

    Shounak Kulkarni

    04/12/2020, 1:18 PM
    hey all, I am getting some warning logs on the server container in K8s
    Copy code
    The configuration '{stream config name}' was supplied but isn't a known config.
    Is it natural or am I missing something?
  • k

    Kishore G

    04/13/2020, 5:26 PM
    New blog post on using Apache Pinot to analyze GitHub Events https://medium.com/apache-pinot-developer-blog/using-apache-pinot-and-kafka-to-analyze-github-events-93cdcb57d5f7 Thanks @User for building the app and @User for the blog.
    👍 5
    👀 1
    🎉 2
    💯 2
  • s

    Shounak Kulkarni

    04/14/2020, 11:49 AM
    Where can I find the information about query caching strategy used by pinot and how to configure it if possible?
  • m

    Mayank

    04/14/2020, 2:49 PM
    Pinot does not cache query results, is there a doc that suggests otherwise?
  • s

    Shounak Kulkarni

    04/14/2020, 3:36 PM
    Ok... there's no doc suggesting so.
  • s

    Shounak Kulkarni

    04/14/2020, 3:42 PM
    Is there some reason behind not having query result caching?
  • m

    Mayank

    04/14/2020, 3:43 PM
    One issue is cache invalidation (data push, RT ingestion). We are in the process of discussing on adding a separate caching layer, though.
    👍 1
  • k

    Kishore G

    04/14/2020, 3:48 PM
    We also dint find a strong need to add it, queries were fast without caching. simple query based caching is easy to add but not sure about the effectiveness.
  • s

    Shounak Kulkarni

    04/14/2020, 3:50 PM
    yes sounds fair.
  • s

    Shounak Kulkarni

    04/14/2020, 6:25 PM
    Copy code
    2020/04/14 17:31:41.007 INFO [HelixBrokerStarter] [main] Starting Pinot broker
     2020/04/14 17:31:41.013 INFO [HelixBrokerStarter] [main] Connecting spectator Helix manager
     2020/04/14 17:31:41.353 INFO [HelixBrokerStarter] [main] Setting up broker server builder
     Apr 14, 2020 5:31:44 PM org.glassfish.grizzly.http.server.NetworkListener start
     INFO: Started listener bound to [0.0.0.0:8080]
     Apr 14, 2020 5:31:44 PM org.glassfish.grizzly.http.server.HttpServer start
     INFO: [HttpServer] Started.
     2020/04/14 17:31:48.485 INFO [HelixBrokerStarter] [main] Initializing cluster change mediator
     2020/04/14 17:31:48.541 INFO [HelixBrokerStarter] [main] Connecting participant Helix manager
     2020/04/14 17:31:48.623 WARN [ParticipantHealthReportTask] [main] ParticipantHealthReportTimerTask already stopped
     2020/04/14 17:31:49.278 WARN [ConfigAccessor] [main] No config found at /olap-data-2/CONFIGS/RESOURCE/brokerResource
     2020/04/14 17:31:49.408 WARN [CallbackHandler] [main] Callback handler received event in wrong order. Listener: org.apache.helix.messaging.handling.HelixTaskExecutor@1a89f5be, path: /olap-data-2/INSTANCES/Broker_pinot-broker-1.pinot-broker-headless.olap-data-2.svc.cluster.local_8080/MESSAGES, expected types: [CALLBACK, FINALIZE] but was INIT
     2020/04/14 17:31:49.542 INFO [HelixBrokerStarter] [main] Registering service status handler
     2020/04/14 17:31:49.557 INFO [HelixBrokerStarter] [main] Finish starting Pinot broker
     2020/04/14 17:33:58.838 INFO [HelixBrokerStarter] [Thread-1] Shutting down Pinot broker
     2020/04/14 17:33:58.838 INFO [HelixBrokerStarter] [Thread-1] Shutting down time boundary info refresh message handler
     2020/04/14 17:33:58.838 INFO [HelixBrokerStarter] [Thread-1] Disconnecting participant Helix manager
     2020/04/14 17:33:58.847 WARN [StateModel] [Thread-1] Default reset method invoked. Either because the process longer own this resource or session timedout
     2020/04/14 17:33:58.847 WARN [StateModel] [Thread-1] Default reset method invoked. Either because the process longer own this resource or session timedout
     2020/04/14 17:33:58.853 WARN [StateModel] [Thread-1] Default reset method invoked. Either because the process longer own this resource or session timedout
     2020/04/14 17:33:58.853 WARN [StateModel] [Thread-1] Default reset method invoked. Either because the process longer own this resource or session timedout
     2020/04/14 17:33:59.009 INFO [HelixBrokerStarter] [Thread-1] Stopping cluster change mediator
     2020/04/14 17:33:59.009 INFO [HelixBrokerStarter] [Thread-1] Stopping broker server builder
     2020/04/14 17:34:09.010 ERROR [DataTableHandler] [nioEventLoopGroup-2-1] Channel for server: pinot-server-2_R is now inactive, marking server down
     2020/04/14 17:34:09.010 ERROR [DataTableHandler] [nioEventLoopGroup-2-2] Channel for server: pinot-server-1_R is now inactive, marking server down
     2020/04/14 17:34:09.011 ERROR [DataTableHandler] [nioEventLoopGroup-2-1] Channel for server: pinot-server-0_R is now inactive, marking server down
     2020/04/14 17:34:09.024 INFO [HelixBrokerStarter] [Thread-1] Disconnecting spectator Helix manager
     2020/04/14 17:34:09.019 WARN [AbstractChannel] [grizzly-http-server-1] Force-closing a channel whose registration task was not accepted by an event loop: [id: 0x2fc9d452]
     java.util.concurrent.RejectedExecutionException: event executor terminated
            at io.netty.util.concurrent.SingleThreadEventExecutor.reject(SingleThreadEventExecutor.java:842) ~[pinot-all-0.3.0-SNAPSHOT-jar-with-dependencies.jar:0.3.0-SNAPSHOT-183d810494f0ac87f1ac14f85bb8e04dca3e99ec]
            at io.netty.util.concurrent.SingleThreadEventExecutor.offerTask(SingleThreadEventExecutor.java:328) ~[pinot-all-0.3.0-SNAPSHOT-jar-with-dependencies.jar:0.3.0-SNAPSHOT-183d810494f0ac87f1ac14f85bb8e04dca3e99ec]
      Not able to find the cause of this failure. Thanks!
  • k

    Kishore G

    04/14/2020, 6:28 PM
    what is the cpu/memory capacity for each container
  • s

    Shounak Kulkarni

    04/14/2020, 6:32 PM
    Haven't put a limit on the containers the resource utilization was as below
    Copy code
    NAME                 CPU(cores)   MEMORY(bytes)
    pinot-broker-0       59m          1564Mi
    pinot-broker-1       1207m        1475Mi
    pinot-broker-2       29m          1599Mi
    pinot-controller-0   4m           959Mi
    pinot-controller-1   26m          987Mi
    pinot-controller-2   4m           928Mi
    pinot-server-0       323m         2439Mi
    pinot-server-1       285m         5275Mi
    pinot-server-2       185m         2239Mi
    pinot-zookeeper-0    14m          377Mi
1...123124125...160Latest