Coder Social home page Coder Social logo

pdi-platform-utils-plugin's Issues

"kettle over kettleTransFromFile" in BI Server not processing variable names in "Set session variables" correcly

<step> <name>Set session variables</name> <type>SetSessionVariableStep</type> <description/> <distribute>N</distribute> <custom_distribution/> <copies>1</copies> <partitioning> <method>none</method> <schema_name/> </partitioning> <fields> <field> <name>constaint</name> <variable>constaint</variable> <default_value>&#x22;test&#x22;</default_value> </field> <field> <name>client_name</name> <variable>client_name</variable> <default_value>&#x24;&#x7b;username&#x7d;</default_value> </field> </fields> <use_formatting>N</use_formatting> <cluster_schema/> <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> <xloc>458</xloc> <yloc>86</yloc> <draw>Y</draw> </GUI> </step>

org.pentaho.di.core.exception.KettleException:
There was no variable name specified for value [dim_country_id = "Netherlands1"]

at pt.webdetails.di.baserver.utils.SetSessionVariableStep.setValue(SetSessionVariableStep.java:98)
at pt.webdetails.di.baserver.utils.SetSessionVariableStep.processRow(SetSessionVariableStep.java:62)
at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
at java.lang.Thread.run(Unknown Source)
2015/01/12 15:12:08 - Set session variables.0 - ERROR (version 5.2.1.0-148, build 1 from 2014-12-08_14-49-19 by buildguy) : Unexpected error
2015/01/12 15:12:08 - Table input.0 - Finished processing (I=1, O=0, R=0, W=1, U=0, E=0)
2015/01/12 15:12:08 - Set session variables.0 - ERROR (version 5.2.1.0-148, build 1 from 2014-12-08_14-49-19 by buildguy) : org.pentaho.di.core.exception.KettleException:
2015/01/12 15:12:08 - Set session variables.0 - There was no variable name specified for value [dim_country_id = "Netherlands1"]
2015/01/12 15:12:08 - Set session variables.0 -
2015/01/12 15:12:08 - Set session variables.0 - at pt.webdetails.di.baserver.utils.SetSessionVariableStep.setValue(SetSessionVariableStep.java:98)
2015/01/12 15:12:08 - Set session variables.0 - at pt.webdetails.di.baserver.utils.SetSessionVariableStep.processRow(SetSessionVariableStep.java:62)
2015/01/12 15:12:08 - Set session variables.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
2015/01/12 15:12:08 - Set session variables.0 - at java.lang.Thread.run(Unknown Source)

BAServerUtils v0.2
BA Serer: 5.2.1.0

OS:
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty

Java:(packaged with BA Server)
java version "1.7.0_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)

DB Schema Names are shown instead of DB Connection Names

I upgraded the biserver-ce to 5.1 a few days ago and since then the BAServerUtils step doesn't seem to fetch configured data source names correctly (using data-access and /connection/list). Instead of the connection names now the db schema names are shown

In example, on the biserver I configured two additional data sources: psqllocaltest and mysqllocaltest. In both cases the result shows the schema name but not the connection name. I tested this by also pointing the connection to different schemas. Previously this was not the case.
selection_002

SetSessionVariableStep.java

<step> <name>Set session variables</name> <type>SetSessionVariableStep</type> <description/> <distribute>N</distribute> <custom_distribution/> <copies>1</copies> <partitioning> <method>none</method> <schema_name/> </partitioning> <fields> <field> <name>constaint</name> <variable>constaint</variable> <default_value>&#x22;test&#x22;</default_value> </field> <field> <name>client_name</name> <variable>client_name</variable> <default_value>&#x24;&#x7b;username&#x7d;</default_value> </field> </fields> <use_formatting>N</use_formatting> <cluster_schema/> <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> <xloc>458</xloc> <yloc>86</yloc> <draw>Y</draw> </GUI> </step>

org.pentaho.di.core.exception.KettleException:
There was no variable name specified for value [dim_country_id = "Netherlands1"]

at pt.webdetails.di.baserver.utils.SetSessionVariableStep.setValue(SetSessionVariableStep.java:98)
at pt.webdetails.di.baserver.utils.SetSessionVariableStep.processRow(SetSessionVariableStep.java:62)
at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
at java.lang.Thread.run(Unknown Source)
2015/01/12 15:12:08 - Set session variables.0 - ERROR (version 5.2.1.0-148, build 1 from 2014-12-08_14-49-19 by buildguy) : Unexpected error
2015/01/12 15:12:08 - Table input.0 - Finished processing (I=1, O=0, R=0, W=1, U=0, E=0)
2015/01/12 15:12:08 - Set session variables.0 - ERROR (version 5.2.1.0-148, build 1 from 2014-12-08_14-49-19 by buildguy) : org.pentaho.di.core.exception.KettleException:
2015/01/12 15:12:08 - Set session variables.0 - There was no variable name specified for value [dim_country_id = "Netherlands1"]
2015/01/12 15:12:08 - Set session variables.0 -
2015/01/12 15:12:08 - Set session variables.0 - at pt.webdetails.di.baserver.utils.SetSessionVariableStep.setValue(SetSessionVariableStep.java:98)
2015/01/12 15:12:08 - Set session variables.0 - at pt.webdetails.di.baserver.utils.SetSessionVariableStep.processRow(SetSessionVariableStep.java:62)
2015/01/12 15:12:08 - Set session variables.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
2015/01/12 15:12:08 - Set session variables.0 - at java.lang.Thread.run(Unknown Source)

BAServerUtils v0.2
BA Serer: 5.2.1.0

OS:
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty

Java:(packaged with BA Server)
java version "1.7.0_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.