我正在尝试使用wso2-das服务器连接到HBase。
我需要从wso2DAS连接到Hbase,我按照所有步骤从下面的链接进行设置。 WSO2DAS没有连接到Hbase.Master和区域服务器,都运行正常。但继续得到"无法获得位置错误"
https://docs.wso2.com/pages/viewpage.action?pageId=45952699
主服务器和区域服务器都运行良好。还在
[2016-10-23 16:15:11,477] ERROR {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - 创建表时出错或设置表的架构:test_2 org.wso2.carbon.analytics.datasource.commons.exception.AnalyticsException:错误检查租户-1234的表TEST_2是否存在:无法获取位置 在org.wso2.carbon.analytics.datasource.hbase.HBaseAnalyticsRecordStore.tableExists(HBaseAnalyticsRecordStore.java:140) 在org.wso2.carbon.analytics.datasource.hbase.HBaseAnalyticsRecordStore.createTable(HBaseAnalyticsRecordStore.java:99) 在org.wso2.carbon.analytics.dataservice.core.AnalyticsDataServiceImpl.createTableFinal(AnalyticsDataServiceImpl.java:401) 在org.wso2.carbon.analytics.dataservice.core.AnalyticsDataServiceImpl.createTable(AnalyticsDataServiceImpl.java:378) 在org.wso2.carbon.analytics.api.CarbonAnalyticsAPI.createTable(CarbonAnalyticsAPI.java:134) 在org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer.addEventStore(AnalyticsEventStoreDeployer.java:108) 在org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer.deploy(AnalyticsEventStoreDeployer.java:78) 在org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) 在org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377) 在org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254) at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371) 在org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59) 在org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67) 在org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:93) 在org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:138) at java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask.access $ 301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) 在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:617) 在java.lang.Thread.run(Thread.java:745) 引起:org.apache.hadoop.hbase.client.RetriesExhaustedException:无法获取位置 at org.apache.hadoop.hbase.client.RpcRetryingCallerWithReadReplicas.getRegionLocations(RpcRetryingCallerWithReadReplicas.java:319) 在org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:156) 在org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:60) at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(RpcRetryingCaller.java:200) 在org.apache.hadoop.hbase.client.ClientScanner.call(ClientScanner.java:326) 在org.apache.hadoop.hbase.client.ClientScanner.nextScanner(ClientScanner.java:301) 在org.apache.hadoop.hbase.client.ClientScanner.initializeScannerInConstruction(ClientScanner.java:166) 在org.apache.hadoop.hbase.client.ClientScanner。(ClientScanner.java:161) 在org.apache.hadoop.hbase.client.HTable.getScanner(HTable.java:794) 在org.apache.hadoop.hbase.MetaTableAccessor.fullScan(MetaTableAccessor.java:602) 在org.apache.hadoop.hbase.MetaTableAccessor.tableExists(MetaTableAccessor.java:366) 在org.apache.hadoop.hbase.client.HBaseAdmin.tableExists(HBaseAdmin.java:403) 在org.wso2.carbon.analytics.datasource.hbase.HBaseAnalyticsRecordStore.tableExists(HBaseAnalyticsRecordStore.java:137) ......还有23个 [2016-10-23 16:15:11,481] ERROR {org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer} - 为租户ID部署文件:test_2.xml时出错:-1234 org.wso2.carbon.analytics.eventsink.exception.AnalyticsEventStoreException:创建表时出错或为表设置模式:test_2 在org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer.addEventStore(AnalyticsEventStoreDeployer.java:125) 在org.wso2.carbon.analytics.eventsink.AnalyticsEventStoreDeployer.deploy(AnalyticsEventStoreDeployer.java:78) 在org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) 在org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377) 在org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254) at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371) 在org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59) 在org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67) 在org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:93) 在org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:138) at java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask.access $ 301(ScheduledThreadPoolExecutor.java:180) 在 java.util.concurrent.ScheduledThreadPoolExecutor中的$ ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) 在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:617) 在java.lang.Thread.run(Thread.java:745) 引起:org.wso2.carbon.analytics.datasource.co