hbase docker处的连接调用异常

aemubtdh  于 2021-06-08  发布在  Hbase
关注(0)|答案(0)|浏览(242)

我已经创建了hbase的docker映像(zookeeper嵌入)。另外,我还创建了我的应用程序(base)的docker映像image:tomcat).
使用docker compose,我启动了两个容器(我的应用程序hbase),它运行良好。但是当我尝试在docker中运行容器(hbase)并用tomcat从本地运行我的应用程序时。我的应用程序出现重复呼叫异常, Call exception, tries=10, retries=35, started=38358 ms ago, cancelled=false, msg=row 'ApplicationIndex,,99999999999999' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=da996582a9e5,39095,1525328219005, seqNum=0 Call exception, tries=10, retries=35, started=38358 ms ago, cancelled=false, msg=row 'ApplicationIndex,,99999999999999' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=da996582a9e5,39095,1525328219005, seqNum=0 我不认为docker compose文件或我的hbase-site.xml文件有问题,因为当我的应用程序在docker中运行时一切正常。
我假设(由于区域和主机名存在于我的应用程序日志(上图)中,并且zookeeper(嵌入hbase)在我的应用程序启动时响应)从我的应用程序连接到zookeeper和hbase没有任何问题。但在hbase回复我的应用程序时出现问题。
有人知道怎么解决这个问题吗?
docker compose文件如下。

hbase:
  build:
    context: .
    dockerfile: Dockerfile
    args:
      - HBASE_VERSION=${HBASE_VERSION}
  container_name: ${HBASE_NAME}

  networks:
    - networks

  expose:
    # zookeeper
    - "2181"
    # HBase Master API port
    - "60000"
    # HBase Master Web UI
    - "16010"
    # Regionserver API port
    - "60020"
    # HBase Regionserver web UI
    - "16030"
  ports:
    - 2180:2181
    - 60000:60000
    - 16010:16010
    - 60020:60020
    - 16030:16030

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题