https://pinot.apache.org/ logo
#general
Title
# general
r

RK

06/09/2021, 4:06 PM
Is there any way to increase server memory while starting pinot server in cluster-mode. I have my server on 2 different nodes , whenever I am trying to refresh my superset dashboard it's firing some queries to pinot and fetching data from server. So one of my server automatically showing dead state when I checked the log so it's showing there is insufficient memory for the Java runtime environment to continue and server stopped working there. Is there any way to resolve this issue. @User @User @User
k

Ken Krugler

06/09/2021, 4:24 PM
If your data is replicated, then wouldn’t the other server still be able to respond to the query? Normally you’d do this by setting the
replication
value in your table json, something like:
Copy code
"segmentsConfig" : {
    "schemaName" : "blah",
    "timeColumnName": "date",
    "timeType": "DAYS",
    "replication" : "2",
    "segmentPushType": "APPEND"
  },
r

RK

06/09/2021, 4:29 PM
Ohh ok @User actually in my config file replication value is 1 so it's not replacating the segments
So thinking if is there any alternet way because if I set this property then I need to create table again and have to load all the offline and realtime data once again
j

Jackie

06/09/2021, 4:57 PM
You may add another server, change the replication to 2 and then run rebalance to replicate the segments to another server
2 Views