[Katta-developer] [oss-101tec] Resolved: (KATTA-148) deploy index fails if Debug logging is enabled
Brought to you by:
joa23
From: Johannes Z. (JIRA) <ji...@os...> - 2010-08-17 14:01:15
|
[ http://oss.101tec.com/jira/browse/KATTA-148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Johannes Zillmann resolved KATTA-148. ------------------------------------- Resolution: Fixed Thanks for that! > deploy index fails if Debug logging is enabled at the master and the LowestShardCountDistributionPolicy is chosen > ----------------------------------------------------------------------------------------------------------------- > > Key: KATTA-148 > URL: http://oss.101tec.com/jira/browse/KATTA-148 > Project: Katta > Issue Type: Bug > Components: cluster > Affects Versions: 0.6.2 > Reporter: Mathias Walter > Priority: Blocker > Fix For: 0.6.3 > > Attachments: KATTA-148.patch > > > If KATTA_LOG_LEVEL=Debug is set, the master fails to deploy indices with the following exception: > ERROR 2010-08-13 12:58:09,006 [OperatorThread] net.sf.katta.operation.master.AbstractIndexOperation - failed to deploy index sen-00002 > java.util.IllegalFormatConversionException: d != java.util.concurrent.atomic.AtomicInteger > at java.util.Formatter$FormatSpecifier.failConversion(Formatter.java:3999) > at java.util.Formatter$FormatSpecifier.printInteger(Formatter.java:2709) > at java.util.Formatter$FormatSpecifier.print(Formatter.java:2661) > at java.util.Formatter.format(Formatter.java:2433) > at java.util.Formatter.format(Formatter.java:2367) > at java.lang.String.format(String.java:2769) > at net.sf.katta.master.LowestShardCountDistributionPolicy.chooseNewNodes(LowestShardCountDistributionPolicy.java:200) > at net.sf.katta.master.LowestShardCountDistributionPolicy.createDistributionPlan(LowestShardCountDistributionPolicy.java:159) > at net.sf.katta.operation.master.AbstractIndexOperation.distributeIndexShards(AbstractIndexOperation.java:67) > at net.sf.katta.operation.master.IndexDeployOperation.execute(IndexDeployOperation.java:74) > at net.sf.katta.master.OperatorThread.executeOperation(OperatorThread.java:121) > at net.sf.katta.master.OperatorThread.run(OperatorThread.java:80) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://oss.101tec.com/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |