You can treat your ocr file as binary file. AbstractFileOutputOperator can be used for binary files, it doesn't have to know file format. Unless you want operator to understand ocr format and do some processing, you can go ahead with AbstractFileOutputOperator.
-Priyanka On Fri, Apr 21, 2017 at 11:01 AM, rishi <rishi.mis...@target.com> wrote: > Hi, > > I have a requirement in which I have to write ORC data directly to HDFS > instead of text using Apex. Please let me know if it is possible through > any > of the operator. Went through apex documentation but didn't see any thing > related to writing ORC file directly. > > Any help is highly appreciated. > > Thanks > Rishi > > > > -- > View this message in context: http://apache-apex-users-list. > 78494.x6.nabble.com/How-to-write-data-in-ORC-format-to- > hdfs-instead-of-text-format-tp1539.html > Sent from the Apache Apex Users list mailing list archive at Nabble.com. >