You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2013/09/14 00:40:52 UTC

[jira] [Commented] (CASSANDRA-6022) PropertyFileSnitch's ResourceWatcher fails because it uses FBUtilities.resourceToFile(..) while PropertyFileSnitch uses classloader.getResourceAsStream(..)

    [ https://issues.apache.org/jira/browse/CASSANDRA-6022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13767091#comment-13767091 ] 

Jonathan Ellis commented on CASSANDRA-6022:
-------------------------------------------

Is this still a problem in 1.2.9?
                
> PropertyFileSnitch's ResourceWatcher fails because it uses FBUtilities.resourceToFile(..) while PropertyFileSnitch uses classloader.getResourceAsStream(..)
> -----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-6022
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6022
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: OS : Linux 5.7
> JDK :1.6.32
> HardWare : HP server 8 core
>            Reporter: sumit thakur
>
> Apache cassandra 1.1.5 
> -------------------------
> ------------------------- 
> ERROR [ScheduledTasks:1] 2013-09-12 17:34:55,268 ResourceWatcher.java (line 67) Timed run of class org.apache.cassandra.locator.PropertyFileSnitch$1 failed.
> org.apache.cassandra.config.ConfigurationException: unable to locate cassandra-topology.properties
> at org.apache.cassandra.utils.FBUtilities.resourceToFile(FBUtilities.java:327)
> at org.apache.cassandra.utils.ResourceWatcher$WatchedResource.run(ResourceWatcher.java:57)
> at org.apache.cassandra.concurrent.DebuggableScheduledThreadPoolExecutor$UncomplainingRunnable.run(DebuggableScheduledThreadPoolExecutor.java:79)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
> at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira