Hi
I am trying to trying to use tephra. And I follow the getting start guide,
The demo below start guide page is useful,but i need more, such as how can
I get a TransactionServiceClient?
According to the BalancebooksTest,
Injector injector = Guice.createInjector(
new ConfigModule(),
new ZKModule(),
new DiscoveryModules().getDistributedModules(),
new TransactionModules().getDistributedModules(),
new TransactionClientModule()
);
I guess I need only to change new ConfigModule() to new
ConfigModule(myHadoopConfig),
but the logs said tephra can't find tx service, I have already installed it
on my HBaseMaster,and configed as
the start guide said.
By the way, How can my tephra client know which host is the tephra server
installed? Is the data.tx.bind.address config in the hbase-site.xml used
for clients to get tephra server address OR for tephra server to bind
their listining address?
What's the relation ship between the five Modules above?when i tried to
createInjector only with ConfigurationModule and TransactionModules, I got
connection to 0.0.0.0:15165 refused. Why tephra try to connect to 0.0.0.0?
Thanks for your help