ERROR output.OCIOutputFormat: OCI Direct Path requires a partitioned table and one or more reduce tasks
(Doc ID 1446385.1)
Last updated on APRIL 06, 2022
Applies to:
Oracle Loader for Hadoop - Version 1.1.0 and laterLinux x86-64
Symptoms
Running a job with Oracle Loader for Hadoop and receiving the following exception:
INFO loader.OraLoader: oracle.hadoop.loader.loadByPartition is disabled because mapred.reduce.tasks=0
INFO output.DBOutputFormat: Setting map tasks speculative execution to false for : oracle.hadoop.loader.lib.output.OCIOutputFormat
ERROR output.OCIOutputFormat: OCI Direct Path requires a partitioned table and one or more reduce tasks
Exception in thread "main" java.io.IOException: OCI Direct Path requires a partitioned table and one or more reduce tasks
at oracle.hadoop.loader.lib.output.OCIOutputFormat.checkJobInput(OCIOutputFormat.java:384)
at oracle.hadoop.loader.OraLoader.run(OraLoader.java:488)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at oracle.hadoop.loader.OraLoader.main(OraLoader.java:734)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.util.RunJar.main(RunJar.java:186)
INFO output.DBOutputFormat: Setting map tasks speculative execution to false for : oracle.hadoop.loader.lib.output.OCIOutputFormat
ERROR output.OCIOutputFormat: OCI Direct Path requires a partitioned table and one or more reduce tasks
Exception in thread "main" java.io.IOException: OCI Direct Path requires a partitioned table and one or more reduce tasks
at oracle.hadoop.loader.lib.output.OCIOutputFormat.checkJobInput(OCIOutputFormat.java:384)
at oracle.hadoop.loader.OraLoader.run(OraLoader.java:488)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at oracle.hadoop.loader.OraLoader.main(OraLoader.java:734)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.util.RunJar.main(RunJar.java:186)
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |