[jira] [Updated] (HDFS-2349) DN should log a WARN, not an INFO when it detects a corruption during block transfer

2012-01-06 Thread Harsh J (Updated) (JIRA)

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

Harsh J updated HDFS-2349:
--

Target Version/s:   (was: 0.23.1)
   Fix Version/s: (was: 0.24.0)
  0.23.1

Backported to 0.23.

> DN should log a WARN, not an INFO when it detects a corruption during block 
> transfer
> 
>
> Key: HDFS-2349
> URL: https://issues.apache.org/jira/browse/HDFS-2349
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: data-node
>Affects Versions: 0.20.204.0
>Reporter: Harsh J
>Assignee: Harsh J
>Priority: Trivial
> Fix For: 0.23.1
>
> Attachments: HDFS-2349.diff
>
>
> Currently, in DataNode.java, we have:
> {code}
>   LOG.info("Can't replicate block " + block
>   + " because on-disk length " + onDiskLength 
>   + " is shorter than NameNode recorded length " + 
> block.getNumBytes());
> {code}
> This log is better off as a WARN as it indicates (and also reports) a 
> corruption.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HDFS-2349) DN should log a WARN, not an INFO when it detects a corruption during block transfer

2012-01-06 Thread Eli Collins (Updated) (JIRA)

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

Eli Collins updated HDFS-2349:
--

Target Version/s: 0.23.1

Good candidate for merging to branch 23.

> DN should log a WARN, not an INFO when it detects a corruption during block 
> transfer
> 
>
> Key: HDFS-2349
> URL: https://issues.apache.org/jira/browse/HDFS-2349
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: data-node
>Affects Versions: 0.20.204.0
>Reporter: Harsh J
>Assignee: Harsh J
>Priority: Trivial
> Fix For: 0.24.0
>
> Attachments: HDFS-2349.diff
>
>
> Currently, in DataNode.java, we have:
> {code}
>   LOG.info("Can't replicate block " + block
>   + " because on-disk length " + onDiskLength 
>   + " is shorter than NameNode recorded length " + 
> block.getNumBytes());
> {code}
> This log is better off as a WARN as it indicates (and also reports) a 
> corruption.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HDFS-2349) DN should log a WARN, not an INFO when it detects a corruption during block transfer

2011-10-11 Thread Harsh J (Updated) (JIRA)

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

Harsh J updated HDFS-2349:
--

  Resolution: Fixed
Hadoop Flags: Reviewed
  Status: Resolved  (was: Patch Available)

Thanks for reviewing Suresh. Committed to trunk.

> DN should log a WARN, not an INFO when it detects a corruption during block 
> transfer
> 
>
> Key: HDFS-2349
> URL: https://issues.apache.org/jira/browse/HDFS-2349
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: data-node
>Affects Versions: 0.20.204.0
>Reporter: Harsh J
>Assignee: Harsh J
>Priority: Trivial
> Fix For: 0.24.0
>
> Attachments: HDFS-2349.diff
>
>
> Currently, in DataNode.java, we have:
> {code}
>   LOG.info("Can't replicate block " + block
>   + " because on-disk length " + onDiskLength 
>   + " is shorter than NameNode recorded length " + 
> block.getNumBytes());
> {code}
> This log is better off as a WARN as it indicates (and also reports) a 
> corruption.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HDFS-2349) DN should log a WARN, not an INFO when it detects a corruption during block transfer

2011-09-19 Thread Harsh J (JIRA)

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

Harsh J updated HDFS-2349:
--

Status: Patch Available  (was: Open)

> DN should log a WARN, not an INFO when it detects a corruption during block 
> transfer
> 
>
> Key: HDFS-2349
> URL: https://issues.apache.org/jira/browse/HDFS-2349
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: data-node
>Affects Versions: 0.20.204.0
>Reporter: Harsh J
>Assignee: Harsh J
>Priority: Trivial
> Fix For: 0.24.0
>
> Attachments: HDFS-2349.diff
>
>
> Currently, in DataNode.java, we have:
> {code}
>   LOG.info("Can't replicate block " + block
>   + " because on-disk length " + onDiskLength 
>   + " is shorter than NameNode recorded length " + 
> block.getNumBytes());
> {code}
> This log is better off as a WARN as it indicates (and also reports) a 
> corruption.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HDFS-2349) DN should log a WARN, not an INFO when it detects a corruption during block transfer

2011-09-19 Thread Harsh J (JIRA)

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

Harsh J updated HDFS-2349:
--

Attachment: HDFS-2349.diff

> DN should log a WARN, not an INFO when it detects a corruption during block 
> transfer
> 
>
> Key: HDFS-2349
> URL: https://issues.apache.org/jira/browse/HDFS-2349
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: data-node
>Affects Versions: 0.20.204.0
>Reporter: Harsh J
>Assignee: Harsh J
>Priority: Trivial
> Fix For: 0.24.0
>
> Attachments: HDFS-2349.diff
>
>
> Currently, in DataNode.java, we have:
> {code}
>   LOG.info("Can't replicate block " + block
>   + " because on-disk length " + onDiskLength 
>   + " is shorter than NameNode recorded length " + 
> block.getNumBytes());
> {code}
> This log is better off as a WARN as it indicates (and also reports) a 
> corruption.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira