1

我正在亚马逊 EC2 实例上运行 SeqWare 虚拟机,我正在尝试使用 SeqWare 查询引擎从 VCF 文件中查询数据。当我第一次启动实例并按照说明导入数据时,它工作正常,并继续工作,直到我停止实例。当我重新启动它时。它不会让我导入任何东西,也不会创建新的工作区。它总是返回下面的错误。我查看了进程,发现所有需要的节点都没有运行,所以我登录到 root 并进入etc/init.d目录并重新启动一切,此时,当 T 尝试导入数据时,我什至没有收到错误我必须停止这个过程。

[seqware@master target]$ java -classpath seqware-distribution-0.13.6.7-qe-full.jar com.github.seqware.queryengine.system.importers.SOFeatureImporter -i ../../seqware-queryengine/src/test/resources/com/github/seqware/queryengine/system/FeatureImporter/consequences_annotated.vcf ALL.chr3.phase1_release_v3.20101123.snps_indels_svs.genotypes.3_100001-101000.vcf -o keyValueVCF.out -r hg_19 -s c111aea5-5e18-4c62-a8a7-ec82fe151301 -a ad_hoc -w VCFVariantImportWorker                 
[SeqWare Query Engine] 0    [main] ERROR org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper  - ZooKeeper exists failed after 3 retries
[SeqWare Query Engine] 1    [main] ERROR org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher  - hconnection Received unexpected KeeperException, re-throwing exception
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/master
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
        at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1021)
        at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.exists(RecoverableZooKeeper.java:154)
        at org.apache.hadoop.hbase.zookeeper.ZKUtil.watchAndCheckExists(ZKUtil.java:226)
        at org.apache.hadoop.hbase.zookeeper.ZooKeeperNodeTracker.start(ZooKeeperNodeTracker.java:82)
        at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.setupZookeeperTrackers(HConnectionManager.java:580)
        at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.<init>(HConnectionManager.java:569)
        at org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConnectionManager.java:186)
        at org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:100)
        at com.github.seqware.queryengine.impl.HBaseStorage.<init>(HBaseStorage.java:89)
        at com.github.seqware.queryengine.factory.SWQEFactory$Storage_Type$3.buildStorage(SWQEFactory.java:109)
        at com.github.seqware.queryengine.factory.SWQEFactory.getStorage(SWQEFactory.java:174)
        at com.github.seqware.queryengine.factory.SWQEFactory.getQueryInterface(SWQEFactory.java:199)
        at com.github.seqware.queryengine.impl.SimpleModelManager.<init>(SimpleModelManager.java:49)
        at com.github.seqware.queryengine.impl.HBaseModelManager.<init>(HBaseModelManager.java:36)
        at com.github.seqware.queryengine.impl.MRHBaseModelManager.<init>(MRHBaseModelManager.java:32)
        at com.github.seqware.queryengine.factory.SWQEFactory.getModelManager(SWQEFactory.java:211)
        at com.github.seqware.queryengine.system.importers.FeatureImporter.performImport(FeatureImporter.java:66)
        at com.github.seqware.queryengine.system.importers.SOFeatureImporter.runMain(SOFeatureImporter.java:141)
        at com.github.seqware.queryengine.system.importers.SOFeatureImporter.main(SOFeatureImporter.java:60)
[SeqWare Query Engine] 3    [main] FATAL org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation  - Unexpected exception during initialization, aborting
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/master
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
        at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1021)
        at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.exists(RecoverableZooKeeper.java:154)
        at org.apache.hadoop.hbase.zookeeper.ZKUtil.watchAndCheckExists(ZKUtil.java:226)
        at org.apache.hadoop.hbase.zookeeper.ZooKeeperNodeTracker.start(ZooKeeperNodeTracker.java:82)
        at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.setupZookeeperTrackers(HConnectionManager.java:580)
        at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.<init>(HConnectionManager.java:569)
        at org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConnectionManager.java:186)
        at org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:100)
        at com.github.seqware.queryengine.impl.HBaseStorage.<init>(HBaseStorage.java:89)
        at com.github.seqware.queryengine.factory.SWQEFactory$Storage_Type$3.buildStorage(SWQEFactory.java:109)
        at com.github.seqware.queryengine.factory.SWQEFactory.getStorage(SWQEFactory.java:174)
        at com.github.seqware.queryengine.factory.SWQEFactory.getQueryInterface(SWQEFactory.java:199)
        at com.github.seqware.queryengine.impl.SimpleModelManager.<init>(SimpleModelManager.java:49)
        at com.github.seqware.queryengine.impl.HBaseModelManager.<init>(HBaseModelManager.java:36)
        at com.github.seqware.queryengine.impl.MRHBaseModelManager.<init>(MRHBaseModelManager.java:32)
        at com.github.seqware.queryengine.factory.SWQEFactory.getModelManager(SWQEFactory.java:211)
        at com.github.seqware.queryengine.system.importers.FeatureImporter.performImport(FeatureImporter.java:66)
        at com.github.seqware.queryengine.system.importers.SOFeatureImporter.runMain(SOFeatureImporter.java:141)
        at com.github.seqware.queryengine.system.importers.SOFeatureImporter.main(SOFeatureImporter.java:60)
4

2 回答 2

1

我想通了。apache服务是从cloudera包安装的。当实例重新启动时,它们并没有被重新启动,显然,只是从 etc/init.d 运行他们的脚本是不正确的方法。我在 cloudera 文档中找到了重新启动它们的命令。

于 2013-07-22T19:23:09.337 回答
0

我也遇到了这个问题。我可以通过在启动 zookeeper 时提供 jute.maxbuffer 参数来解决这个问题。

有关更多信息,您可以参考 https://issues.apache.org/jira/browse/SOLR-4793

于 2015-07-07T09:56:51.470 回答