Skip to content
Yukihiro Okada edited this page Mar 16, 2018 · 2 revisions

Welcome to the embulk-output-orc wiki!


Debug

 ❯ java -jar tools/target/orc-tools-1.5.0-SNAPSHOT-uber.jar convert -o zzz.orc -s 'struct<myid:tinyint,named:string,pit_rate:decimal(17,13),score:smallint,x_flag:boolean>' /tmp/example000.00.json
log4j:WARN No appenders could be found for logger (org.apache.hadoop.util.Shell).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Processing /tmp/example000.00.json
Exception in thread "main" java.lang.NegativeArraySizeException
	at org.apache.orc.impl.HadoopShimsPre2_3.padStream(HadoopShimsPre2_3.java:51)
	at org.apache.orc.impl.HadoopShimsCurrent.padStreamToBlock(HadoopShimsCurrent.java:52)
	at org.apache.orc.impl.PhysicalFsWriter.padStripe(PhysicalFsWriter.java:140)
	at org.apache.orc.impl.PhysicalFsWriter.finalizeStripe(PhysicalFsWriter.java:341)
	at org.apache.orc.impl.WriterImpl.flushStripe(WriterImpl.java:437)
	at org.apache.orc.impl.WriterImpl.close(WriterImpl.java:549)
	at org.apache.orc.tools.convert.ConvertTool.run(ConvertTool.java:205)
	at org.apache.orc.tools.convert.ConvertTool.main(ConvertTool.java:162)
	at org.apache.orc.tools.Driver.main(Driver.java:112)

Links

Clone this wiki locally