org.apache.crunch.CrunchRuntimeException: Error while reading local file: file:/tmp/crunch-test/000000_0

crunch-user | Robinson, Landon - Landon | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Re: Reading Hive Tables into PCollection

    crunch-user | 1 year ago | Robinson, Landon - Landon
    org.apache.crunch.CrunchRuntimeException: Error while reading local file: file:/tmp/crunch-test/000000_0
  2. 0

    Re: Reading Hive Tables into PCollection

    crunch-user | 1 year ago | Robinson, Landon - Landon
    org.apache.crunch.CrunchRuntimeException: Error while reading local file: file:/tmp/crunch-test/000000_0
  3. 0

    Re: Reading Hive Tables into PCollection

    crunch-user | 1 year ago | Robinson, Landon - Landon
    org.apache.crunch.CrunchRuntimeException: Error while reading local file: file:/tmp/crunch-test/000000_0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Reading Hive Tables into PCollection

    crunch-user | 1 year ago | Robinson, Landon - Landon
    org.apache.crunch.CrunchRuntimeException: Error while reading local file: file:/tmp/crunch-test/000000_0
  6. 0

    Re: Reading Hive Tables into PCollection

    crunch-user | 1 year ago | Robinson, Landon - Landon
    org.apache.crunch.CrunchRuntimeException: Error while reading local file: file:/tmp/crunch-test/000000_0

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.apache.hadoop.hive.serde2.io.HiveCharWritable cannot be cast to org.apache.hadoop.io.Text

      at org.apache.hadoop.hive.serde2.objectinspector.primitive.WritableStringObjectInspector.getPrimitiveJavaObject()
    2. Hive Serde
      WritableStringObjectInspector.getPrimitiveJavaObject
      1. org.apache.hadoop.hive.serde2.objectinspector.primitive.WritableStringObjectInspector.getPrimitiveJavaObject(WritableStringObjectInspector.java:46)
      2. org.apache.hadoop.hive.serde2.objectinspector.primitive.WritableStringObjectInspector.getPrimitiveJavaObject(WritableStringObjectInspector.java:26)
      2 frames
    3. org.apache.crunch
      CompositePathIterable$2.next
      1. org.apache.crunch.types.orc.OrcUtils.convert(OrcUtils.java:169)
      2. org.apache.crunch.types.orc.OrcUtils.convert(OrcUtils.java:222)
      3. org.apache.crunch.types.orc.Orcs$ReflectInFn.map(Orcs.java:190)
      4. org.apache.crunch.types.orc.Orcs$ReflectInFn.map(Orcs.java:168)
      5. org.apache.crunch.fn.CompositeMapFn.map(CompositeMapFn.java:63)
      6. org.apache.crunch.io.orc.OrcFileReaderFactory$1.next(OrcFileReaderFactory.java:108)
      7. org.apache.crunch.io.CompositePathIterable$2.next(CompositePathIterable.java:99)
      7 frames
    4. Guava
      ImmutableList.copyOf
      1. com.google.common.collect.Iterators$5.next(Iterators.java:607)
      2. com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:266)
      3. com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:223)
      3 frames
    5. org.apache.crunch
      MemPipeline.read
      1. org.apache.crunch.impl.mem.collect.MemCollection.<init>(MemCollection.java:79)
      2. org.apache.crunch.impl.mem.MemPipeline.read(MemPipeline.java:165)
      3. org.apache.crunch.impl.mem.MemPipeline.read(MemPipeline.java:156)
      3 frames
    6. com.lowes.bigdata
      DataQualityDriverTest.run
      1. com.lowes.bigdata.closerate.verint.DataQualityDriverTest.run(DataQualityDriverTest.java:57)
      1 frame
    7. Hadoop
      ToolRunner.run
      1. org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
      1 frame
    8. com.lowes.bigdata
      DataQualityDriverTest.main
      1. com.lowes.bigdata.closerate.verint.DataQualityDriverTest.main(DataQualityDriverTest.java:36)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    10. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
      1 frame