Hi team , I am trying to add a REALTIME table usin...
# troubleshooting
e
Hi team , I am trying to add a REALTIME table using the REST API’s in controller .
/tables
I am getting the response as ,
Copy code
{
  "status": "Table test_demo_REALTIME succesfully added"
}
The table set to ingest from kafka . But the Controller UI doesn’t show the table name . There is not error trace as well in controller / broker logs . Any help on debugging this ? PS : I have added the schema for
test_demo
previously ( this in shown in Controller UI )
m
What does the get api on /tables return
e
Copy code
{
  "tables": []
}
m
Hmm then table likely not created. It doesn’t make sense that the creation returned successful. Can you check PropertyStore inside of ZK browser, if there’s an entry for table?
Are there other operations you did, like perhaps try to delete the table and recreate?
e
property->config->table has the config which I used to create table .
m
Is there ideal state and external view for the table
e
There’s one entry in segments as well
Copy code
{
  "id": "test_demo__0__0__20221004T0950Z",
  "simpleFields": {
    "segment.creation.time": "1664877005873",
    "segment.flush.threshold.size": "6250",
    "segment.name": "test_demo__0__0__20221004T0950Z",
    "segment.realtime.numReplicas": "2",
    "segment.realtime.startOffset": "394942362",
    "segment.realtime.status": "IN_PROGRESS",
    "segment.table.name": "test_demo",
    "segment.type": "REALTIME"
  },
  "mapFields": {},
  "listFields": {}
}
Is there ideal state and external view for the table
No
m
Not sure what is happening here. Are you sure that the only thing you did was to create a table and you ended up in this state?
e
Yes @Mayank
m
Let me sync up with you offline