Raghavendra Singh created LENS-92:
-------------------------------------

             Summary: result formatter error for flattened columns (when 
persistant resultset is enabled)
                 Key: LENS-92
                 URL: https://issues.apache.org/jira/browse/LENS-92
             Project: Apache Lens
          Issue Type: Bug
            Reporter: Raghavendra Singh
            Assignee: Rajat Khandelwal


{CODE}
2 Dec 2014 08:59:20,763 [event_processor_thread] INFO  
org.apache.lens.server.query.ResultFormatter  - Created result 
formatter:org.apache.lens.lib.query.FileSerdeFormatter
02 Dec 2014 08:59:20,763 [event_processor_thread] WARN  
org.apache.lens.server.query.ResultFormatter  - Exception while formatting 
result for 31f89c8a-67f6-4e4a-a03b-ab78c3dad17d
java.lang.IllegalArgumentException: Error: < expected at the end of 'array'
        at 
org.apache.hadoop.hive.serde2.typeinfo.TypeInfoUtils$TypeInfoParser.expect(TypeInfoUtils.java:336)
        at 
org.apache.hadoop.hive.serde2.typeinfo.TypeInfoUtils$TypeInfoParser.expect(TypeInfoUtils.java:331)
        at 
org.apache.hadoop.hive.serde2.typeinfo.TypeInfoUtils$TypeInfoParser.parseType(TypeInfoUtils.java:446)
        at 
org.apache.hadoop.hive.serde2.typeinfo.TypeInfoUtils$TypeInfoParser.parseTypeInfos(TypeInfoUtils.java:305)
        at 
org.apache.hadoop.hive.serde2.typeinfo.TypeInfoUtils.getTypeInfoFromTypeString(TypeInfoUtils.java:759)
        at 
org.apache.lens.lib.query.AbstractOutputFormatter.initColumnFields(AbstractOutputFormatter.java:150)
        at 
org.apache.lens.lib.query.AbstractOutputFormatter.init(AbstractOutputFormatter.java:122)
        at 
org.apache.lens.lib.query.WrappedFileFormatter.init(WrappedFileFormatter.java:53)
        at 
org.apache.lens.lib.query.FileSerdeFormatter.init(FileSerdeFormatter.java:71)
        at 
org.apache.lens.server.query.ResultFormatter.formatOutput(ResultFormatter.java:108)
        at 
org.apache.lens.server.query.ResultFormatter.process(ResultFormatter.java:69)
        at 
org.apache.lens.server.query.ResultFormatter.process(ResultFormatter.java:44)
        at 
org.apache.lens.server.api.events.AsyncEventListener$2.run(AsyncEventListener.java:105)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:701)

{CODE}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to