【问题标题】:Google Cloud Bigtable deployment errors with Managed VMs托管虚拟机的 Google Cloud Bigtable 部署错误
【发布时间】:2016-05-22 22:22:22
【问题描述】:

我正在尝试将 this example 部署到 Google Cloud。我正在按照确切的说明进行操作,

当我转到 Cloud Console -> App Engine -> 版本时,我确实看到部署了一个新版本,但版本的大小为 0,即使我等待了 30 分钟,转到模块 url 仍返回 503 服务器错误.

Error: Server Error The service you requested is not available yet.
Please try again in 30 seconds.

由于除了PROJECT_IDCLUSTER_UNIQUE_ID 等,我没有修改示例中的任何内容。这可能是什么问题?

【问题讨论】:

  • mvn clean gcloud:deploy -Dbigtable.projectID=myProject -Dbigtable.clusterID=myCluster -Dbigtable.zone=myZone -- 我会在接下来的一个小时内完成这个,看看是否有什么变化。
  • 好像有什么东西坏了,我正在尝试修复它。
  • 很抱歉 - 我已经更新了示例。
  • @RohitNigam - 请您再试一次并确认这是否仍然是一个问题?

标签: bigtable google-cloud-bigtable


【解决方案1】:

我遇到了类似的问题。我通过以下更改解决了它:

  1. 在 web.xml 中:

<servlet> <servlet-name>test</servlet-name> <servlet-class>com.example.cloud.bigtable.helloworld.HelloServlet </servlet-class> </servlet> <servlet-mapping> <servlet-name>test</servlet-name> <url-pattern>/test/*</url-pattern> </servlet-mapping>

  1. 在 WebApp 文件夹中添加了一个 index.html 文件。

  2. 在 pom.xml 中,添加了以下内容:

    <dependency> <groupId>org.apache.hbase</groupId> <artifactId>hbase-client</artifactId> <version>1.1.1</version> </dependency>

【讨论】:

    猜你喜欢
    • 2015-01-10
    • 2019-05-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-01-30
    • 2023-03-16
    相关资源
    最近更新 更多