You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Dave Brosius (JIRA)" <ji...@apache.org> on 2012/11/12 06:50:11 UTC

[jira] [Updated] (CASSANDRA-4939) Add debug logging to list filenames processed by o.a.c.db.Directories.migrateFile method

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

Dave Brosius updated CASSANDRA-4939:
------------------------------------

    Attachment: 4939.txt
    
> Add debug logging to list filenames processed by o.a.c.db.Directories.migrateFile method
> ----------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-4939
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4939
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.6
>            Reporter: J.B. Langston
>            Assignee: Dave Brosius
>            Priority: Minor
>             Fix For: 1.2.1
>
>         Attachments: 4939.txt
>
>
> Customer is getting the following error when starting Cassandra:
> ERROR 20:20:06,635 Exception encountered during startup
> java.lang.StringIndexOutOfBoundsException: String index out of range: -1
>         at java.lang.String.substring(Unknown Source)
>         at org.apache.cassandra.db.Directories.migrateFile(Directories.java:556)
>         at org.apache.cassandra.db.Directories.migrateSSTables(Directories.java:493)
> It looks like this is caused by an file with an unexpected name in one of his keyspace directories. However, because we don't log the name of the file as it is processed, it is hard to tell which file is causing it to choke.
> It would be good to add a logger.debug statement at the beginning of the method to list the file currently being processed.

--
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