New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
coprocessor CheckDirService not found #2
Comments
Yes, the jar needs to be available to HBase master and region servers. Otherwise the coprocessor/custom filter can't be used. We may want to lower the # of retries, 35, to a more reasonable value. In addition, I recommend you to write github entries in English to maximize the exposure of them. |
Thanks for your advice. The attempts num is a parameter which can be controlled by client. I add <property>
<name>hbase.client.retries.number</name>
<value>3</value>
</property> to |
The I then add <property>
<name>hbase.coprocessor.region.classes</name>
<value>org.apache.spark.sql.hbase.CheckDirProto</value>
</property> to What should I set in Thanks. |
Hi @secfree, Have you deployed the configured files, hbase-site.xml and hbase-env.sh, to each regionserver? |
Yes, I sync all nodes' configure file with scripts. This's is the log:
Use value Should I add the |
Hi @secfree, No, you don't need to. |
Hi @secfree, It seems that you registered wrong class. :) |
Yes, it's OK now. Thanks. |
update as per apache-spark/master and integrate changes
每次进入
hbase-sql
后, 执行的第一条 sql 查询, 会 hang 10 分钟左右, 然后输出:CheckDirService
在源码中有定义 proto, 但是没有单独的 jar 生成.难道需要将
spark-sql-on-hbase-1.0.0.jar
上传到 hbase 的 master 和每个 regionserver ? 这个 jar 文件很大, 如果是这样的话, 有点不方便.Thanks.
The text was updated successfully, but these errors were encountered: