If I'm sinking to cassandra or hbase is there a way to get around
the following exception when running queries in parallel:

cascading.flow.ElementGraphException: cannot sink to the same path from
multiple branches

Search Discussions

  • Nathan Marz at Feb 24, 2012 at 6:09 am
    The Cascading Tap API is pretty confusing. Each tap needs to declare a path
    (even if it doesn't use one), so you should make sure they always return
    unique paths.
    On Thu, Feb 23, 2012 at 9:09 AM, Matt Stump wrote:

    If I'm sinking to cassandra or hbase is there a way to get around
    the following exception when running queries in parallel:

    cascading.flow.ElementGraphException: cannot sink to the same path from
    multiple branches


    --
    Twitter: @nathanmarz
    http://nathanmarz.com
  • Chris K Wensel at Feb 24, 2012 at 6:21 am
    well, taps must have some sort of identity to distinguish them. the identifier/path is a natural fit for that. all sink taps must be unique (not have the same identity, thus not have the same path/resource).

    ckw
    On Feb 23, 2012, at 10:09 PM, Nathan Marz wrote:

    The Cascading Tap API is pretty confusing. Each tap needs to declare a path (even if it doesn't use one), so you should make sure they always return unique paths.

    On Thu, Feb 23, 2012 at 9:09 AM, Matt Stump wrote:
    If I'm sinking to cassandra or hbase is there a way to get around the following exception when running queries in parallel:

    cascading.flow.ElementGraphException: cannot sink to the same path from multiple branches



    --
    Twitter: @nathanmarz
    http://nathanmarz.com
    --
    Chris K Wensel
    [email protected]
    http://concurrentinc.com
  • Matt Stump at Feb 24, 2012 at 9:02 pm
    Thanks. I modified the tap to use unique paths (UUIDs) and it solved the
    issue.
    On Thursday, February 23, 2012 10:09:46 PM UTC-8, nathanmarz wrote:

    The Cascading Tap API is pretty confusing. Each tap needs to declare a
    path (even if it doesn't use one), so you should make sure they always
    return unique paths.
    On Thu, Feb 23, 2012 at 9:09 AM, Matt Stump wrote:

    If I'm sinking to cassandra or hbase is there a way to get around
    the following exception when running queries in parallel:

    cascading.flow.ElementGraphException: cannot sink to the same path from
    multiple branches


    --
    Twitter: @nathanmarz
    http://nathanmarz.com

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcascalog-user @
categoriesclojure, hadoop
postedFeb 23, '12 at 5:09p
activeFeb 24, '12 at 9:02p
posts4
users4
websiteclojure.org
irc#clojure

People

Translate

site design / logo © 2023 Grokbase