You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Thanh (JIRA)" <ji...@apache.org> on 2016/07/14 17:15:20 UTC

[jira] [Created] (CASSANDRA-12204) sstable2json should let the user know that failure might have occurred due to lack of disk space

Thanh created CASSANDRA-12204:
---------------------------------

             Summary: sstable2json should let the user know that failure might have occurred due to lack of disk space
                 Key: CASSANDRA-12204
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12204
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Thanh
            Priority: Minor


$ sstable2json testks_0101-datatable-ka-61613-Data.db > ~/json61613
java.io.IOException: Error writing output stream
        at org.apache.cassandra.tools.SSTableExport.checkStream(SSTableExport.java:82)
        at org.apache.cassandra.tools.SSTableExport.export(SSTableExport.java:344)
        at org.apache.cassandra.tools.SSTableExport.export(SSTableExport.java:369)
        at org.apache.cassandra.tools.SSTableExport.export(SSTableExport.java:382)
        at org.apache.cassandra.tools.SSTableExport.main(SSTableExport.java:467)

The above error doesn't give the user any clue as to what happened/why it errored.
It turns out, the above, can result from running out of disk space, which can happen if you're trying to write out the json of a very large sstable.

sstable2jon should let the user know they he/she might be out of disk space.



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