cascading.flow.planner.PlannerException: could not build flow from assembly: [duplicate field name found: C]

GitHub | nitinmahesh | 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

    Duplicate field name found

    GitHub | 1 year ago | nitinmahesh
    cascading.flow.planner.PlannerException: could not build flow from assembly: [duplicate field name found: C]

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      duplicate field name found: C

      at cascading.tuple.Fields.validate()
    2. cascading.tuple
      Fields.<init>
      1. cascading.tuple.Fields.validate(Fields.java:835)
      2. cascading.tuple.Fields.<init>(Fields.java:632)
      2 frames
    3. cascading.scheme.util
      DelimitedParser.parseFirstLine
      1. cascading.scheme.util.DelimitedParser.parseFirstLine(DelimitedParser.java:312)
      1 frame
    4. cascading.scheme.hadoop
      TextDelimited.retrieveSourceFields
      1. cascading.scheme.hadoop.TextDelimited.retrieveSourceFields(TextDelimited.java:975)
      1 frame
    5. cascading.tap
      Tap.retrieveSourceFields
      1. cascading.tap.Tap.retrieveSourceFields(Tap.java:366)
      1 frame
    6. cascading.flow
      BaseFlow.<init>
      1. cascading.flow.BaseFlow.retrieveSourceFields(BaseFlow.java:230)
      2. cascading.flow.BaseFlow.<init>(BaseFlow.java:196)
      2 frames
    7. cascading.flow.hadoop
      HadoopPlanner.buildFlow
      1. cascading.flow.hadoop.HadoopFlow.<init>(HadoopFlow.java:98)
      2. cascading.flow.hadoop.planner.HadoopPlanner.createFlow(HadoopPlanner.java:238)
      3. cascading.flow.hadoop.planner.HadoopPlanner.buildFlow(HadoopPlanner.java:251)
      4. cascading.flow.hadoop.planner.HadoopPlanner.buildFlow(HadoopPlanner.java:80)
      4 frames
    8. cascading.flow
      FlowConnector.connect
      1. cascading.flow.FlowConnector.connect(FlowConnector.java:459)
      1 frame
    9. org.jpmml.cascading
      Main.main
      1. org.jpmml.cascading.Main.main(Main.java:148)
      1 frame
    10. 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
    11. Hadoop
      RunJar.main
      1. org.apache.hadoop.util.RunJar.main(RunJar.java:212)
      1 frame