Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Exception during startup (NumberFormatException) #139

Closed
matthiasg opened this issue Mar 11, 2014 · 1 comment
Closed

Exception during startup (NumberFormatException) #139

matthiasg opened this issue Mar 11, 2014 · 1 comment

Comments

@matthiasg
Copy link

I am experimenting with kestrel and am getting this error on startup: kestrel: java.lang.NumberFormatException: For input string: "gitignore"

Full Log

INF [20140311-09:36:39.912] stats: Starting LatchedStatsListener
INF [20140311-09:36:39.949] admin: Starting TimeSeriesCollector
INF [20140311-09:36:39.950] admin: Admin HTTP interface started on port 2223.
INF [20140311-09:36:39.957] kestrel: Kestrel config: listenAddress=0.0.0.0 memcachePort=Some(22133) textPort=Some(2222) queuePath=data expirationTimerFrequency=Some(1.seconds) clientTimeout=None maxOpenTransactions=100 connectionBacklog=None statusFile=/tmp/.kestrel-status defaultStatus=Up statusChangeGracePeriod=0.seconds zookeeper=<None>
INF [20140311-09:36:39.988] kestrel: Setting up queue : maxItems=2147483647 maxSize=9223372036854775807.bytes maxItemSize=9223372036854775807.bytes maxAge=None defaultJournalSize=16777216.bytes maxMemorySize=536870912.bytes maxJournalSize=5368709120.bytes discardOldWhenFull=false keepJournal=true syncJournal=500.milliseconds expireToQueue=None maxExpireSweep=2147483647 fanoutOnly=false maxQueueAge=None (via <startup>)
INF [20140311-09:36:40.069] kestrel: Replaying transaction journal for ''
ERR [20140311-09:36:40.073] kestrel: Exception during startup; exiting!
ERR [20140311-09:36:40.073] kestrel: java.lang.NumberFormatException: For input string: "gitignore"
ERR [20140311-09:36:40.073] kestrel:     at java.lang.NumberFormatException.forInputString(Unknown Source)
ERR [20140311-09:36:40.073] kestrel:     at java.lang.Long.parseLong(Unknown Source)
ERR [20140311-09:36:40.073] kestrel:     at java.lang.Long.parseLong(Unknown Source)
ERR [20140311-09:36:40.073] kestrel:     at scala.collection.immutable.StringLike$class.toLong(StringLike.scala:232)
ERR [20140311-09:36:40.073] kestrel:     at scala.collection.immutable.StringOps.toLong(StringOps.scala:31)
ERR [20140311-09:36:40.073] kestrel:     at net.lag.kestrel.Journal$$anonfun$8.apply(Journal.scala:616)
ERR [20140311-09:36:40.073] kestrel:     at net.lag.kestrel.Journal$$anonfun$8.apply(Journal.scala:615)
ERR [20140311-09:36:40.073] kestrel:     at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:233)
ERR [20140311-09:36:40.073] kestrel:     at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:233)
ERR [20140311-09:36:40.073] kestrel:     at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:34)
ERR [20140311-09:36:40.073] kestrel:     at scala.collection.mutable.ArrayOps.foreach(ArrayOps.scala:38)
ERR [20140311-09:36:40.073] kestrel:     at scala.collection.TraversableLike$class.map(TraversableLike.scala:233)
ERR [20140311-09:36:40.073] kestrel:     at scala.collection.mutable.ArrayOps.map(ArrayOps.scala:38)
ERR [20140311-09:36:40.073] kestrel:     at net.lag.kestrel.Journal$.archivedFilesForQueue(Journal.scala:615)
ERR [20140311-09:36:40.073] kestrel:     at net.lag.kestrel.Journal$.journalsForQueue(Journal.scala:631)
ERR [20140311-09:36:40.073] kestrel:     at net.lag.kestrel.Journal.replay(Journal.scala:306)
ERR [20140311-09:36:40.073] kestrel:     at net.lag.kestrel.PersistentQueue.replayJournal(PersistentQueue.scala:509)
ERR [20140311-09:36:40.073] kestrel:     at net.lag.kestrel.PersistentQueue.setup(PersistentQueue.scala:441)
ERR [20140311-09:36:40.073] kestrel:     at net.lag.kestrel.QueueCollection$$anonfun$queue$1.apply(QueueCollection.scala:179)
ERR [20140311-09:36:40.073] kestrel:     at net.lag.kestrel.QueueCollection$$anonfun$queue$1.apply(QueueCollection.scala:168)
ERR [20140311-09:36:40.073] kestrel:     at scala.Option.orElse(Option.scala:218)
ERR [20140311-09:36:40.073] kestrel:     at net.lag.kestrel.QueueCollection.queue(QueueCollection.scala:168)
ERR [20140311-09:36:40.073] kestrel:     at net.lag.kestrel.QueueCollection.queue(QueueCollection.scala:152)
ERR [20140311-09:36:40.073] kestrel:     at net.lag.kestrel.QueueCollection$$anonfun$loadQueues$1.apply(QueueCollection.scala:92)
ERR [20140311-09:36:40.073] kestrel:     at net.lag.kestrel.QueueCollection$$anonfun$loadQueues$1.apply(QueueCollection.scala:92)
ERR [20140311-09:36:40.073] kestrel:     at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:233)
ERR [20140311-09:36:40.073] kestrel:     at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:233)
ERR [20140311-09:36:40.073] kestrel:     at scala.collection.immutable.Set$Set4.foreach(Set.scala:149)
ERR [20140311-09:36:40.073] kestrel:     at scala.collection.TraversableLike$class.map(TraversableLike.scala:233)
ERR [20140311-09:36:40.073] kestrel:     at scala.collection.immutable.Set$Set4.scala$collection$SetLike$$super$map(Set.scala:133)
ERR [20140311-09:36:40.073] kestrel:     (...more...)
INF [20140311-09:36:40.083] kestrel: Shutting down!
INF [20140311-09:36:40.083] kestrel: Starting evict-waiters
INF [20140311-09:36:40.085] kestrel: evict-waiters exiting by request.
INF [20140311-09:36:40.086] kestrel: evict-waiters exiting.
INF [20140311-09:36:40.086] kestrel: journal-packer exiting.
INF [20140311-09:36:40.086] kestrel: journal-packer exited.
INF [20140311-09:36:40.087] kestrel: Goodbye.
INF [20140311-09:36:40.088] stats: LatchedStatsListener exiting by request.
INF [20140311-09:36:40.088] stats: LatchedStatsListener exiting.
INF [20140311-09:36:40.088] admin: TimeSeriesCollector exiting by request.
INF [20140311-09:36:40.089] admin: TimeSeriesCollector exiting.
@matthiasg
Copy link
Author

this was caused by a .gitignore file inside the data folder (this being a test we kept kestrel in a git repo). Obviously kestrel does not take kindly to unknown files inside its data folder :) .. we just moved that the ignore file out of it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant