cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luke Jolly (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-11722) No existant cassandra-topology.properties file causes repeating error
Date Thu, 05 May 2016 21:18:12 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-11722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Luke Jolly updated CASSANDRA-11722:
-----------------------------------
    Description: 
So sudden on two of my Cassandra Nodes at the same time they started repeatedly throwing this
error:

May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: ERROR 21:00:18 Timed run of class org.apache.cassandra.locator.PropertyFileSnitch$1
failed.
May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: org.apache.cassandra.exceptions.ConfigurationException:
unable to locate cassandra-topology.properties
May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: at org.apache.cassandra.utils.FBUtilities.resourceToFile(FBUtilities.java:299)
~[apache-cassandra-3.0.5.jar:3.0.5]
May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: at org.apache.cassandra.utils.ResourceWatcher$WatchedResource.run(ResourceWatcher.java:53)
~[apache-cassandra-3.0.5.jar:3.0.5]
May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: at org.apache.cassandra.concurrent.DebuggableScheduledThreadPoolExecutor$UncomplainingRunnable.run(DebuggableScheduledThreadPoolExecutor.java:118)
[apache-cassandra-3.0.5.jar:3.0.5]
May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[na:1.8.0_65]
May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
[na:1.8.0_65]
May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
[na:1.8.0_65]
May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
[na:1.8.0_65]
May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[na:1.8.0_65]
May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[na:1.8.0_65]
May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: at java.lang.Thread.run(Thread.java:745)
[na:1.8.0_65]

I believe it is because it tired to fallback to the cassandra-topology.properties file which
does not exist.  A restart fixed the issue.  I am running 3.0.5.

  was:
So sudden on two of my Cassandra Nodes at the same time they started repeatedly throwing this
error:

May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: ERROR 21:00:18 Timed run of class org.apache.cassandra.locator.PropertyFileSnitch$1
failed.
May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: org.apache.cassandra.exceptions.ConfigurationException:
unable to locate cassandra-topology.properties
May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: at org.apache.cassandra.utils.FBUtilities.resourceToFile(FBUtilities.java:299)
~[apache-cassandra-3.0.5.jar:3.0.5]
May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: at org.apache.cassandra.utils.ResourceWatcher$WatchedResource.run(ResourceWatcher.java:53)
~[apache-cassandra-3.0.5.jar:3.0.5]
May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: at org.apache.cassandra.concurrent.DebuggableScheduledThreadPoolExecutor$UncomplainingRunnable.run(DebuggableScheduledThreadPoolExecutor.java:118)
[apache-cassandra-3.0.5.jar:3.0.5]
May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[na:1.8.0_65]
May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
[na:1.8.0_65]
May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
[na:1.8.0_65]
May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
[na:1.8.0_65]
May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[na:1.8.0_65]
May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[na:1.8.0_65]
May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: at java.lang.Thread.run(Thread.java:745)
[na:1.8.0_65]

I believe it is because it tired to fallback to the cassandra-topology.properties file which
does not exist.  I am running 3.0.5


> No existant cassandra-topology.properties file causes repeating error
> ---------------------------------------------------------------------
>
>                 Key: CASSANDRA-11722
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11722
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Luke Jolly
>
> So sudden on two of my Cassandra Nodes at the same time they started repeatedly throwing
this error:
> May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: ERROR 21:00:18 Timed run of class
org.apache.cassandra.locator.PropertyFileSnitch$1 failed.
> May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: org.apache.cassandra.exceptions.ConfigurationException:
unable to locate cassandra-topology.properties
> May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: at org.apache.cassandra.utils.FBUtilities.resourceToFile(FBUtilities.java:299)
~[apache-cassandra-3.0.5.jar:3.0.5]
> May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: at org.apache.cassandra.utils.ResourceWatcher$WatchedResource.run(ResourceWatcher.java:53)
~[apache-cassandra-3.0.5.jar:3.0.5]
> May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: at org.apache.cassandra.concurrent.DebuggableScheduledThreadPoolExecutor$UncomplainingRunnable.run(DebuggableScheduledThreadPoolExecutor.java:118)
[apache-cassandra-3.0.5.jar:3.0.5]
> May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[na:1.8.0_65]
> May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
[na:1.8.0_65]
> May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
[na:1.8.0_65]
> May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
[na:1.8.0_65]
> May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[na:1.8.0_65]
> May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[na:1.8.0_65]
> May 05 21:00:18 tammy.11-e.ninja cassandra[19471]: at java.lang.Thread.run(Thread.java:745)
[na:1.8.0_65]
> I believe it is because it tired to fallback to the cassandra-topology.properties file
which does not exist.  A restart fixed the issue.  I am running 3.0.5.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message