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

    Shounak Kulkarni

    04/24/2020, 7:07 AM
    hey all, is there a pipeline to load the segments(purged from server due to exceeding retention period) from segment store to server?
  • x

    Xiang Fu

    04/24/2020, 7:42 AM
    if the data are locally accessible
    👍 1
  • x

    Xiang Fu

    04/24/2020, 7:42 AM
    you can follow https://docs.pinot.apache.org/misc/misc-1/advanced-pinot-setup#load-data-in-batch
  • x

    Xiang Fu

    04/24/2020, 7:42 AM
    to load them
  • x

    Xiang Fu

    04/24/2020, 7:43 AM
    https://docs.pinot.apache.org/how-to/batch-data-ingestion-in-practice#configuring-batch-ingestion-job
  • x

    Xiang Fu

    04/24/2020, 7:43 AM
    change
    jobType
    to
    SegmentTarPush
  • x

    Xiang Fu

    04/24/2020, 7:43 AM
    just ensure that you extend the retention period
  • s

    Shounak Kulkarni

    04/24/2020, 7:44 AM
    Thanks a lot @User, I'll go through the links and come back to you
  • p

    Praveen Patil

    04/24/2020, 9:39 PM
    Hi All, When I run the below command to start streaming my github events into the kafka topic , I get the below error. Command : bin/pinot-admin.sh StreamGitHubEvents -topic pullRequestMergedEvents -personalAccessToken <token> -kafkaBrokerList localhost:19092 -schemaFile examples/stream/githubEvents/pullRequestMergedEvents_schema.json Error : Error: “StreamGitHubEvents” is not a valid value for “<subCommand>” . Can anyone help me in identifying issue over here ? Thank you.
  • n

    Neha Pawar

    04/24/2020, 9:40 PM
    are you using the source code or the release @User?
  • n

    Neha Pawar

    04/24/2020, 9:41 PM
    this is not part of the release
  • p

    Praveen Patil

    04/24/2020, 9:41 PM
    I was following the steps mentioned in this link : https://docs.pinot.apache.org/getting-started/recipes/github-events-stream#add-pinot-table-and-schema-1
  • p

    Praveen Patil

    04/24/2020, 9:42 PM
    I am using the release code.
  • n

    Neha Pawar

    04/24/2020, 9:46 PM
    this recipe did not make it to the release. can you try building from source?
  • x

    Xiang Fu

    04/24/2020, 9:52 PM
    or you can use the latest docker image
  • x

    Xiang Fu

    04/24/2020, 9:52 PM
    docker pull apachepinot/pinot:latest
  • p

    Praveen Patil

    04/24/2020, 9:53 PM
    Sure. I will try both.
  • p

    Praveen Patil

    04/24/2020, 9:53 PM
    Thank you.
  • p

    Praveen Patil

    04/24/2020, 10:14 PM
    I was able to build and run it from the source code. It works fine now. Thank you so much for helping out @User and @User.
    👍 1
  • n

    Neha Pawar

    04/24/2020, 10:16 PM
    good to know!
  • d

    Dan Hill

    04/27/2020, 4:11 AM
    I'm hitting a bug with the Pinot Presto connector. I'll execute a query that joins a Pinot table with a MySQL table. Here's the query and the exception behind hit. I'm using the connector that is built into prestodb.
    Copy code
    with stats as (select customer_id as stats.customer_id, sum(cost) as cost from pinot.default.events where customer_id = 1 group by customer_id having (sum(cost) > 1000000)) select customer_id, costfrom mysql.mydb.customers left join stats on (customers.platform_id = stats.customer_id) group by customer_id, cost having cost > 100000;
    Copy code
    2020-04-26T21:04:28.305-0700	ERROR	SplitRunner-90-110	com.facebook.presto.execution.executor.TaskExecutor	Error processing Split 20200426_172458_02320_jaurt.3.0.0-0 PinotSplit{connectorId=pinot, splitType=BROKER, segmentPql=Optional.empty, brokerPql=Optional[GeneratedPql{pql=SELECT sum(cost) FROM events_testing WHERE (customer_id = 1) GROUP BY platform_id TOP 10000, table=events, expectedColumnIndices=[0, 1], groupByClauses=1, haveFilter=true, isQueryShort=true}], segments=[], segmentHost=Optional.empty} (start = 1.299608117031976E9, wall = 0 ms, cpu = 0 ms, wait = 0 ms, calls = 1)
    java.lang.ArrayIndexOutOfBoundsException: 1
    	at com.facebook.presto.spi.PageBuilder.getBlockBuilder(PageBuilder.java:109)
    	at com.facebook.presto.pinot.PinotBrokerPageSource.getNextPage(PinotBrokerPageSource.java:222)
    	at com.facebook.presto.operator.ScanFilterAndProjectOperator.processPageSource(ScanFilterAndProjectOperator.java:272)
    	at com.facebook.presto.operator.ScanFilterAndProjectOperator.getOutput(ScanFilterAndProjectOperator.java:237)
    	at com.facebook.presto.operator.Driver.processInternal(Driver.java:379)
    	at com.facebook.presto.operator.Driver.lambda$processFor$8(Driver.java:283)
    	at com.facebook.presto.operator.Driver.tryWithLock(Driver.java:675)
    	at com.facebook.presto.operator.Driver.processFor(Driver.java:276)
    	at com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:1077)
    	at com.facebook.presto.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:162)
    	at com.facebook.presto.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:545)
    	at com.facebook.presto.$gen.Presto_0_232_cc1019c____20200426_032927_1.run(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    	at java.lang.Thread.run(Thread.java:748)
  • k

    Kishore G

    04/27/2020, 4:14 AM
    Does the query work when run on Pinot directly
    Copy code
    SELECT sum(cost) FROM events_testing WHERE (customer_id = 1) GROUP BY platform_id TOP 10000
  • m

    Mayank

    04/27/2020, 4:50 PM
    https://engineering.linkedin.com/blog/2020/apache-pinot-030-update
    👏 5
    🎉 9
    💯 3
  • d

    Damiano

    04/28/2020, 8:47 AM
    i heavily use aggregations so i am trying to undersatand if pinot can work good for my needs..basically i slices my data to calculate cumulative sum for example, calculate the drawdown of the prices (i am working with financial timeseries right now)
  • d

    Damiano

    04/28/2020, 8:49 AM
    yeah i am thinking to start with docker to test it quickly
  • d

    Damiano

    04/28/2020, 9:19 PM
    hello everybody, someone is having problem with the doc?
  • d

    Damiano

    04/28/2020, 9:19 PM
    i cannot open https://docs.pinot.apache.org/plugins/plugin-architecture
  • d

    Damiano

    04/28/2020, 9:28 PM
    now yes, it is slow but i can see it
  • d

    Damiano

    04/28/2020, 9:28 PM
    thanks
  • d

    Dan Hill

    04/28/2020, 9:36 PM
    A brief update on the Pinot Presto
    TOP
    issue, switching to image
    apachepinot/pinot-presto:0.234.3
    fixed the issue.
    👍 1
1...126127128...160Latest