2012-07-15 2 views
1

J'essaie de me connecter à une machine maître hypertable, hypertable est déployée via mesos, Lorsque je copie le fichier hypertable.cfg de la machine principale à une machine arbitraire, après avoir lancé start-thriftbroker Sh, tout ce que je reçois est une dizaine de lignes de « en attendant ThriftBroker à venir ... » puis « eRREUR: ThriftBroker ne sont pas venus », le fichier journal de ThirftBroker dit:Comment peut-on se connecter à distance hypertable en python

1342340080 NOTICE ThriftBroker : (/root/src/hypertable/src/cc/Common/Config.cc:526) Initializing ThriftBroker (Hypertable 0.9.5.6 (v0.9.5.6-dirty))... 
CPU cores count=1 
CephBroker.MonAddr=10.0.1.245:6789 
CephBroker.Port=38030 
CephBroker.Workers=20 
DfsBroker.Host=localhost 
DfsBroker.Local.Port=38030 
DfsBroker.Local.Root=fs/local 
DfsBroker.Port=38030 
HdfsBroker.Port=38030 
HdfsBroker.Workers=20 
HdfsBroker.fs.default.name=hdfs://<ip>:9010 
Hyperspace.GracePeriod=200000 
Hyperspace.KeepAlive.Interval=30000 
Hyperspace.Lease.Interval=1000000 
Hyperspace.Replica.Dir=hyperspace 
Hyperspace.Replica.Host=[<ip>] 
Hyperspace.Replica.Port=38040 
Hyperspace.Replica.Workers=20 
Hypertable.Master.Port=38050 
Hypertable.Master.Workers=20 
Hypertable.RangeServer.Port=38060 
Hypertable.Verbose=true 
ThriftBroker.Port=38080 
pidfile=/opt/hypertable/current/run/ThriftBroker.pid 
port=38080 
reactors=1 
verbose=true 
1342340080 INFO ThriftBroker : (/root/src/hypertable/src/cc/Hyperspace/Session.cc:63) Hyperspace session setup to reconnect 
1342340082 ERROR ThriftBroker : main (/root/src/hypertable/src/cc/ThriftBroker/ThriftBroker.cc:2404): Hypertable::Exception: Hyperspace 'mkdir' error, name=/hypertable/namemap/names - HYPERSPACE file exists 
     at void Hyperspace::Session::mkdir(const std::string&, bool, const std::vector<Hyperspace::Attribute, std::allocator<Hyperspace::Attribute> >*, Hypertable::Timer*) (/root/src/hypertable/src/cc/Hyperspace/Session.cc:1257) 

Répondre

0

Il a obtenu en mettant à jour résolu à la nouvelle version de ht.

+0

Pouvez-vous accepter cette réponse puisque la nouvelle version de HT a résolu votre problème? –

+0

oui, je l'ai accepté. – Sassan

Questions connexes