[ 
https://issues.apache.org/jira/browse/DRILL-4339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15128954#comment-15128954
 ] 

Jinfeng Ni commented on DRILL-4339:
-----------------------------------

On a second thought, seems that it's easy to change the function setColumn's 
signature. That will avoid the re-compile. However, without re-compile, I'm not 
sure if your customer storage plugin will work or not, since the implementation 
of this method actually is changed in 1.5.0.



> Avro Reader can not read records - Regression
> ---------------------------------------------
>
>                 Key: DRILL-4339
>                 URL: https://issues.apache.org/jira/browse/DRILL-4339
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - Other
>    Affects Versions: 1.5.0
>            Reporter: Stefán Baxter
>            Priority: Blocker
>             Fix For: 1.5.0
>
>
> Simple reading of Avro records no longer works
> 0: jdbc:drill:zk=local> select * from dfs.asa.`/<some>`;
> Exception in thread "drill-executor-2" java.lang.NoSuchMethodError: 
> org.apache.drill.exec.store.avro.AvroRecordReader.setColumns(Ljava/util/Collection;)V
>       at 
> org.apache.drill.exec.store.avro.AvroRecordReader.<init>(AvroRecordReader.java:99)
>       at 
> org.apache.drill.exec.store.avro.AvroFormatPlugin.getRecordReader(AvroFormatPlugin.java:73)
>       at 
> org.apache.drill.exec.store.dfs.easy.EasyFormatPlugin.getReaderBatch(EasyFormatPlugin.java:172)
>       at 
> org.apache.drill.exec.store.dfs.easy.EasyReaderBatchCreator.getBatch(EasyReaderBatchCreator.java:35)
>       at 
> org.apache.drill.exec.store.dfs.easy.EasyReaderBatchCreator.getBatch(EasyReaderBatchCreator.java:28)
>       at 
> org.apache.drill.exec.physical.impl.ImplCreator.getRecordBatch(ImplCreator.java:147)
>       at 
> org.apache.drill.exec.physical.impl.ImplCreator.getChildren(ImplCreator.java:170)
>       at 
> org.apache.drill.exec.physical.impl.ImplCreator.getRecordBatch(ImplCreator.java:127)
>       at 
> org.apache.drill.exec.physical.impl.ImplCreator.getChildren(ImplCreator.java:170)
>       at 
> org.apache.drill.exec.physical.impl.ImplCreator.getRecordBatch(ImplCreator.java:127)
>       at 
> org.apache.drill.exec.physical.impl.ImplCreator.getChildren(ImplCreator.java:170)
>       at 
> org.apache.drill.exec.physical.impl.ImplCreator.getRootExec(ImplCreator.java:101)
>       at 
> org.apache.drill.exec.physical.impl.ImplCreator.getExec(ImplCreator.java:79)
>       at 
> org.apache.drill.exec.work.fragment.FragmentExecutor.run(FragmentExecutor.java:230)
>       at 
> org.apache.drill.common.SelfCleaningRunnable.run(SelfCleaningRunnable.java:38)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>       at java.lang.Thread.run(Thread.java:745)
> We have been using the Avro reader for a while and this looks like a 
> regression.



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

Reply via email to