You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Raghu Angadi (JIRA)" <ji...@apache.org> on 2007/07/23 21:36:31 UTC

[jira] Commented: (HADOOP-1628) Block CRC Unit Tests: protocol tests

    [ https://issues.apache.org/jira/browse/HADOOP-1628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12514754 ] 

Raghu Angadi commented on HADOOP-1628:
--------------------------------------

While writing these tests, I noticed some inconsistencies in the current protocol implementation (for e.g. response status for OP_WRITE_BLOCK is one byte, and it is two bytes for OP_READ_BLOCK). 

For this patch, I am planning to note these inconsistencies in in comment and write the test accordingly and fix both in a seperate Jira. Fixing the tests is pretty simple. 

> Block CRC Unit Tests: protocol tests
> ------------------------------------
>
>                 Key: HADOOP-1628
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1628
>             Project: Hadoop
>          Issue Type: Test
>          Components: dfs
>    Affects Versions: 0.14.0
>            Reporter: Nigel Daley
>            Assignee: Raghu Angadi
>            Priority: Blocker
>             Fix For: 0.14.0
>
>
> HADOOP-1134 introduced a new protocol between DFS clients and DataNodes.  This protocol needs some unit tests that at least cover these cases:
> - bad op codes
> - bad field lengths
> - bad offsets
> - bad versions
> - bad block ids

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.