How come when you alter a table in Hbase to delete a column family, it says "all regions updated" and "done" but you still have to wait for a while for it to reflect?

I tried many times to delete a column family and re-create it. When I scan it again, the records are still there. I'm not impatient or anything, I'm just curious what it means when it says "done". Done what? Done flagging the objects for deletion? What do you mean?

Is this a big data thing? A NoSQL thing? Or is it because it was written in Java? (joke) *wink* *wink*

It's not a big problem for me, I just have to wait but I'm genuinely curious and want to understand.

  • 2
    Also curious
  • 1
    My guess would be flagging, but I have no clue, so I'll wait for someone else more knowledgeable to reply.
  • 2
    I suppose it triggers hadoop job on cluster so you probably can list jobs and see if it finishes.
    If there are many jobs running it might be that your alter is in queue.

    But I didn’t touched hadoop for a while.
  • 2
    Same with all these “eventual consistency” systems I suppose. 🤷‍♂️

    I honestly find it all a bit silly, but maybe that’s just my own bias / lack of understanding, but I fail to see how eventually consistent is better than immediately consistent. :/
  • 0
    @Brolls Me too. I don't see the point of saying "done" when it's not. I think I'll do more research on this. I cannot find similar questions on the internet. I'll update here if I get any answers.
  • 1
    @rutee07 you can view the zookeeper cache if you see any jobs running
  • 0
    @vane Thank you. I will try that too. 😄
Your Job Suck?
Get a Better Job
Add Comment