Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka >> mail # dev >> [jira] [Commented] (KAFKA-1009) DumpLogSegments tool should return error on non-existing files


Copy link to this message
-
[jira] [Commented] (KAFKA-1009) DumpLogSegments tool should return error on non-existing files

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

Neha Narkhede commented on KAFKA-1009:
--------------------------------------

1. I see what you are saying.

The patch looks good. Thanks for fixing the bug. +1
                
> DumpLogSegments tool should return error on non-existing files
> --------------------------------------------------------------
>
>                 Key: KAFKA-1009
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1009
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.8
>            Reporter: Jun Rao
>            Assignee: Guozhang Wang
>            Priority: Minor
>             Fix For: 0.8.1
>
>         Attachments: KAFKA-1009.v1.patch, KAFKA-1009.v2.patch
>
>
> If we run the tool on an non-existing file, we get the following
> bin/kafka-run-class.sh kafka.tools.DumpLogSegments --files 00.log
> Dumping 00.log
> Starting offset: 0
> The tool should return an error message instead.

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

 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB