[
https://issues.apache.org/jira/browse/HADOOP-3040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Amareshwari Sriramadasu updated HADOOP-3040:
--------------------------------------------
Attachment: patch-3040.txt
Added a testcase with input having 3 lines:
1. First line has key\tvalue
2. Second line starts with a tab. i.e empty key and whole line is value.
3. Third line doesnt have any tab. Then whole line is the key.
> Streaming should assume an empty key if the first character on a line is the
> seperator (stream.map.output.field.separator, by default, tab)
> -------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-3040
> URL: https://issues.apache.org/jira/browse/HADOOP-3040
> Project: Hadoop Core
> Issue Type: Bug
> Components: contrib/streaming
> Reporter: Amareshwari Sriramadasu
> Assignee: Amareshwari Sriramadasu
> Fix For: 0.17.0
>
> Attachments: patch-3040.txt, patch-3040.txt
>
>
> Streaming should assume an empty key if the first character on a line is the
> seperator (stream.map.output.field.separator, by default, tab). And the value
> as the whole line excluding the seperator.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.