我正在关注BigTable上的教程:https://cloud.google.com/bigtable/docs/hbase-shell-quickstart
当我尝试启动我的Docker镜像时,我得到以下错误:
C:\dev\GoogleCloudBigtable-quickstart>docker运行-it bigtable-hbase /bin/bash -c "hbase shell“
2015-05-07 18:11:52,366 WARN [main] util.NativeCodeLoader: Unable to load native-hadoop library for your platform...
using builtin-java classes where applicable NativeException: java.io.IOException:
java.lang.reflect.InvocationTargetException
initialize at /hbase/bin/../lib/ruby/hbase/hbase.rb:41
(root) at /hbase/bin/../bin/hirb.rb:118
2015-05-07 18:11:52,958 WARN [Thread-3] hbase.BigtableOptionsFactory:
Shutdown is commencing and you have open 1 connections.
Data could be lost if there are ongoing requests.有什么建议吗?
发布于 2015-05-12 22:13:32
关于hadoop库的警告是很常见的。您可以通过遵循这些instructions来修复此问题。但是,运行示例并不是必须的。
当您的hbase-site.xml不正确时,通常会显示下一个关于hbase.rb的错误。
您需要在本地运行以下三个四项内容:
如果其中任何一个是不正确的,您将看到该错误。
还经常会看到警告hbase.BigtableOptionsFactory: Shutdown is instance,您有打开的xx连接。,在这种情况下,它是良性的。
发布于 2015-06-23 02:34:21
我们还必须确保使用正确的bigtable作用域创建客户端VM。您可以按照以下文档定义适当的作用域。
https://cloud.google.com/bigtable/docs/creating-vm-instance创建具有适当大表范围的实例的gcloud命令
$ gcloud compute instances create cloud-bigtable-vm --scopes https://www.googleapis.com/auth/bigtable.admin.table,https://www.googleapis.com/auth/bigtable.data,storage-ro --zone us-central1-bhttps://stackoverflow.com/questions/30108870
复制相似问题