hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HADOOP-1223) Record IO C++ binding: non-empty vector of strings does not work
Date Sat, 16 Jul 2011 19:38:00 GMT

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

Harsh J resolved HADOOP-1223.

    Resolution: Won't Fix

Resolving as Won't Fix, since the whole recordio component is now deprecated in favor of Avro
(and technically ought to be removed in 0.22/0.23).

Please see https://issues.apache.org/jira/browse/HADOOP-6155

> Record IO C++ binding: non-empty vector of strings does not work
> ----------------------------------------------------------------
>                 Key: HADOOP-1223
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1223
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: record
>            Reporter: David Bowen
>         Attachments: test.cc
> It works in the binary case, but not in CSV or XML.
> Here is the code to put some strings in the vector.
>     std::vector<std::string>& v = r1.getVectorVal();
>     v.push_back("hello");
>     v.push_back("world");
> In the CSV file, the strings appear twice, for some reason.  In the XML file they appear
three times.

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


View raw message