[ https://issues.apache.org/jira/browse/CASSANDRA-12204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thanh updated CASSANDRA-12204: ------------------------------ Description: $ 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 that he/she might be out of disk space. was: $ 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. > 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 that he/she might be out of disk space. -- This message was sent by Atlassian JIRA (v6.3.4#6332)