cascading.flow.planner.PlannerException: could not build flow from assembly: [stereotypes already contains stereotype for: 'word', 'cnt' | String, int, named: output]

Google Groups | Christian Schuhegger | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Lingual in Java with Cascading works with CSV files but not with TSV files?

    Google Groups | 3 years ago | Christian Schuhegger
    cascading.flow.planner.PlannerException: could not build flow from assembly: [stereotypes already contains stereotype for: 'word', 'cnt' | String, int, named: output]

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      stereotypes already contains stereotype for: 'word', 'cnt' | String, int, named: output

      at cascading.bind.catalog.Stereotypes.addStereotype()
    2. cascading.bind.catalog
      Stereotypes.addStereotype
      1. cascading.bind.catalog.Stereotypes.addStereotype(Stereotypes.java:103)
      1 frame
    3. cascading.lingual.catalog
      SchemaDef.addStereotype
      1. cascading.lingual.catalog.SchemaDef.addStereotype(SchemaDef.java:605)
      1 frame
    4. cascading.lingual.flow
      SQLPlanner.resolveTails
      1. cascading.lingual.flow.LingualContext.addTaps(LingualContext.java:143)
      2. cascading.lingual.flow.LingualContext.initializeSchema(LingualContext.java:81)
      3. cascading.lingual.flow.LingualContext.<init>(LingualContext.java:59)
      4. cascading.lingual.flow.SQLPlanner.resolveTails(SQLPlanner.java:107)
      4 frames
    5. cascading.flow.planner
      FlowPlanner.resolveTails
      1. cascading.flow.planner.FlowPlanner.resolveAssemblyPlanners(FlowPlanner.java:150)
      2. cascading.flow.planner.FlowPlanner.resolveTails(FlowPlanner.java:137)
      2 frames
    6. cascading.flow.hadoop
      HadoopPlanner.buildFlow
      1. cascading.flow.hadoop.planner.HadoopPlanner.buildFlow(HadoopPlanner.java:224)
      2. cascading.flow.hadoop.planner.HadoopPlanner.buildFlow(HadoopPlanner.java:80)
      2 frames
    7. cascading.flow
      FlowConnector.connect
      1. cascading.flow.FlowConnector.connect(FlowConnector.java:459)
      1 frame
    8. de.elchef.hadoop
      WordCount.main
      1. de.elchef.hadoop.helloworld.WordCount.lingualWordCountResultSelectionFlowFromCSV(WordCount.java:193)
      2. de.elchef.hadoop.helloworld.WordCount.main(WordCount.java:84)
      2 frames