HBase coprocessor not updating after redeploy

后端 未结 2 713
感情败类
感情败类 2021-01-28 10:10

I\'m using HBase 1.1.2, and trying to redeploy a custom endpoint coprocessor to fix an error in my Java code. I made some changes to the coprocessor code and redeployed it via t

相关标签:
2条回答
  • 2021-01-28 10:21

    you need to restart hbase server.

    cd $HBASE_HOME/bin
    $sh stop-hbase.sh
    $sh start-hbase.sh
    

    you cann't change coprocessor jar file when hbase is running. so you should restart hbase server after your step 6.

    0 讨论(0)
  • 2021-01-28 10:33

    Restarting HBase did the trick; the jar in /tmp/hbase-hbase/local/jars/tmp/ was removed, and my next deploy was successful.

    This is a bug in HBase, either in the documentation or the code. I'll raise a ticket with the HBase Jira.

    0 讨论(0)
提交回复
热议问题