Customer Portal

Custom Partition class for partition node

Comments 3

  • Avatar
    avackova
    0
    Comment actions Permalink
    Hi, are you running graph from command line or from GUI? You only need to have your class in classpath.
  • Avatar
    saravanan77
    0
    Comment actions Permalink
    Hi,

    I found the problem. Problem is in clover.etl source code.

    In partition.java, instead of creating partition function class using XML_PARTITIONCLASS_ATTRIBUTE it is creating using XML_ID_ATTRIBUTE in fromXML method.

    if (xattribs.exists(XML_PARTITIONCLASS_ATTRIBUTE)) {//load class with partition function
    try {
    //TODO move creating function to init method
    partitionFce = (PartitionFunction)Class.forName(xattribs.getString(XML_ID_ATTRIBUTE)).newInstance();

    Regards,
    Saravanan A
  • Avatar
    avackova
    0
    Comment actions Permalink
    Thanks for report, bug will be fixed.

Please sign in to leave a comment.