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
Avro >> mail # user >> Adding "doc"'s over multiple lines


Copy link to this message
-
Re: Adding "doc"'s over multiple lines
I am afraid the answer is editor wrapping.

Or using avdl instead of avsc and transforming the former into the latter :
https://issues.apache.org/jira/browse/AVRO-1337.

Bertrand
On Thu, Nov 7, 2013 at 10:20 PM, Lewis John Mcgibbney <
[EMAIL PROTECTED]> wrote:

> Hi Folks,
> Can someone please put me out of my misery here and explain how I can
> change this
>
>           "type": "record",
>           "name": "Reference",
>           "namespace": "org.apache.oodt.cas.filemgr.catalog.gora.structs",
>           "doc": "A reference stores the original item reference, and also
> the item's data store reference, which describes its location within the
> data store.",
>
> to this
>
>           "type": "record",
>           "name": "Reference",
>           "namespace": "org.apache.oodt.cas.filemgr.catalog.gora.structs",
>           "doc": "A reference stores the original item reference, and also
> the /n
>            item's data store reference, which describes its location
> within the /n
>            data store.",
> Basically I have lots of long doc strings to deal with and would like to
> split them over multiple lines.
> Thank you. I have a fear that this is basic JSON but I haven't found
> anything yet!
> Lewis
>
> --
> *Lewis*
>
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