Quantcast
Channel: Pentaho Community Forums
Viewing all 16689 articles
Browse latest View live

Pentaho Initialization Exception - Error 0014

$
0
0
Hello,

I'm working on an installation of Pentaho 6.0 Community Edition, and I've run into an issue when configuring the postgresql database. I found a older thread suggesting to create a dummy table named "QRTZ" to work around the method not returning results due to the case of the table name ("qrtz" vs "QRTZ" verifyQuartzIsConfigured method in EmbeddedQuartzSystemListener class. Please let me know if there are any suggestions for resolving this issue.


My configuration and logs can be found below / in attachments.

Pentaho CE6
Postgres 9.3
CentOS6
Java 1.8


Code:

2016-01-21 15:53:13,356 INFO  [org.pentaho.di] 2016/01/21 15:53:13 - cfgbuilder - Warning: The configuration parameter [org] is not supported by the default configuration builder for scheme: sftp
2016-01-21 15:53:24,281 ERROR [org.pentaho.di.osgi.KarafLifecycleListener] The Kettle Karaf Lifycycle Listener failed to execute properly. Releasing lifecycle hold, but some services may be unavailable.
2016-01-21 15:53:30,624 ERROR [org.apache.felix.configadmin.1.8.0] [[org.osgi.service.cm.ConfigurationAdmin]]Cannot use configuration org.pentaho.requirejs for [org.osgi.service.cm.ManagedService, id=578, bundle=144/mvn:pentaho/pentaho-requirejs-osgi-manager/6.0.1.0-386]: No visibility to configuration bound to mvn:pentaho/pentaho-server-bundle/6.0.1.0-386
2016-01-21 15:53:52,583 ERROR [org.pentaho.platform.scheduler2.quartz.EmbeddedQuartzSystemListener] EmbeddedQuartzSystemListener.ERROR_0007_SQLERROR
org.postgresql.util.PSQLException: ERROR: syntax error at or near "RUNSCRIPT"
  Position: 1
    at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2198)
    at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1927)
    at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
    at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:561)
    at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:405)
    at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:333)
    at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
    at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
    at org.pentaho.platform.scheduler2.quartz.EmbeddedQuartzSystemListener.verifyQuartzIsConfigured(EmbeddedQuartzSystemListener.java:176)
    at org.pentaho.platform.scheduler2.quartz.EmbeddedQuartzSystemListener.startup(EmbeddedQuartzSystemListener.java:100)
    at org.pentaho.platform.engine.core.system.PentahoSystem$2.call(PentahoSystem.java:436)
    at org.pentaho.platform.engine.core.system.PentahoSystem$2.call(PentahoSystem.java:427)
    at org.pentaho.platform.engine.core.system.PentahoSystem.runAsSystem(PentahoSystem.java:406)
    at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:427)
    at org.pentaho.platform.engine.core.system.PentahoSystem.access$000(PentahoSystem.java:82)
    at org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:358)
    at org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:355)
    at org.pentaho.platform.engine.core.system.PentahoSystem.runAsSystem(PentahoSystem.java:406)
    at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:355)
    at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:326)
    at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:222)
    at org.pentaho.platform.web.http.context.SolutionContextListener.contextInitialized(SolutionContextListener.java:154)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4729)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
    at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1101)
    at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1786)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
2016-01-21 15:53:52,590 ERROR [org.pentaho.platform.util.logging.Logger] Error: Pentaho
2016-01-21 15:53:52,590 ERROR [org.pentaho.platform.util.logging.Logger] misc-org.pentaho.platform.engine.core.system.PentahoSystem: org.pentaho.platform.api.engine.PentahoSystemException: PentahoSystem.ERROR_0014 - Error while trying to execute startup sequence for org.pentaho.platform.scheduler2.quartz.EmbeddedQuartzSystemListener
org.pentaho.platform.api.engine.PentahoSystemException: org.pentaho.platform.api.engine.PentahoSystemException: PentahoSystem.ERROR_0014 - Error while trying to execute startup sequence for org.pentaho.platform.scheduler2.quartz.EmbeddedQuartzSystemListener
    at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:363)
    at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:326)
    at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:222)
    at org.pentaho.platform.web.http.context.SolutionContextListener.contextInitialized(SolutionContextListener.java:154)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4729)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
    at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1101)
    at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1786)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: org.pentaho.platform.api.engine.PentahoSystemException: PentahoSystem.ERROR_0014 - Error while trying to execute startup sequence for org.pentaho.platform.scheduler2.quartz.EmbeddedQuartzSystemListener
    at org.pentaho.platform.engine.core.system.PentahoSystem$2.call(PentahoSystem.java:445)
    at org.pentaho.platform.engine.core.system.PentahoSystem$2.call(PentahoSystem.java:427)
    at org.pentaho.platform.engine.core.system.PentahoSystem.runAsSystem(PentahoSystem.java:406)
    at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:427)
    at org.pentaho.platform.engine.core.system.PentahoSystem.access$000(PentahoSystem.java:82)
    at org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:358)
    at org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:355)
    at org.pentaho.platform.engine.core.system.PentahoSystem.runAsSystem(PentahoSystem.java:406)
    at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:355)
    ... 16 more
Caused by: org.pentaho.platform.api.engine.PentahoSystemException: PentahoSystem.ERROR_0014 - Error while trying to execute startup sequence for org.pentaho.platform.scheduler2.quartz.EmbeddedQuartzSystemListener
    at org.pentaho.platform.engine.core.system.PentahoSystem$2.call(PentahoSystem.java:437)
    ... 24 more
2016-01-21 15:53:52,593 ERROR [org.pentaho.platform.util.logging.Logger] Error end:

Attached Files

How to drop a table using Pentaho?

$
0
0
I want to know can we drop a table in pentaho?

How?

Please help.


Thanks,
Nishank

where are the examples for Server biserver-ce-6.0.1.0-386.zip

$
0
0
HI,

sorry for my questions, I am new in Pentaho.

I have downloaded biserver Version biserver-ce-6.0.1.0-386.zip

but I cannot find the samples as in Version 3.6.1

another Problem: when I start this Server with start-pentaho.bat and then try to start the Report designer, I get the message from Windows, that I must terminate the program,
because there is not enough memory space.

Thank you
Norbert

calling Pentaho Report from java

$
0
0
Hi,

I try to embedd a Pentaho Report into my Java Application.

see:

http://infocenter.pentaho.com/help/i...ng_engine.html

but this does not work for Sample1.Java since it cannot perform the select to customers table

Exception in thread "main" org.pentaho.reporting.engine.classic.core.ReportDataFactoryException: Failed at query: SELECT
"CUSTOMERS"."CUSTOMERNAME"
FROM
"CUSTOMERS"
ORDER BY
"CUSTOMERS"."CUSTOMERNAME" ASC
at org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SimpleSQLReportDataFactory.queryData(SimpleSQLReportDataFactory.java:183)
at org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SQLReportDataFactory.queryData(SQLReportDataFactory.java:139)
at org.pentaho.reporting.engine.classic.core.CompoundDataFactory.queryStaticInternal(CompoundDataFactory.java:171)
at org.pentaho.reporting.engine.classic.core.CompoundDataFactory.queryStatic(CompoundDataFactory.java:153)
at org.pentaho.reporting.engine.classic.core.CompoundDataFactory.queryData(CompoundDataFactory.java:64)
at org.pentaho.reporting.engine.classic.core.cache.CachingDataFactory.queryInternal(CachingDataFactory.java:419)
at org.pentaho.reporting.engine.classic.core.cache.CachingDataFactory.queryData(CachingDataFactory.java:302)
at org.pentaho.reporting.engine.classic.core.parameters.DefaultListParameter.getValues(DefaultListParameter.java:97)
at org.pentaho.reporting.engine.classic.core.parameters.DefaultReportParameterValidator.computeValidListValue(DefaultReportParameterValidator.java:280)
at org.pentaho.reporting.engine.classic.core.parameters.DefaultReportParameterValidator.validateSingleParameter(DefaultReportParameterValidator.java:234)
at org.pentaho.reporting.engine.classic.core.parameters.DefaultReportParameterValidator.validate(DefaultReportParameterValidator.java:133)
at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.initializeForMasterReport(ProcessState.java:233)
at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:418)
at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processReport(AbstractReportProcessor.java:1424)
at source.org.pentaho.reporting.engine.classic.samples.AbstractReportGenerator.generateReport(AbstractReportGenerator.java:219)
at source.org.pentaho.reporting.engine.classic.samples.AbstractReportGenerator.generateReport(AbstractReportGenerator.java:128)
at source.org.pentaho.reporting.engine.classic.samples.Sample1.main(Sample1.java:121)
Caused by: java.sql.SQLSyntaxErrorException: user lacks privilege or object not found: CUSTOMERS
at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
at org.hsqldb.jdbc.JDBCStatement.fetchResult(Unknown Source)
at org.hsqldb.jdbc.JDBCStatement.executeQuery(Unknown Source)
at org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SimpleSQLReportDataFactory.parametrizeAndQuery(SimpleSQLReportDataFactory.java:308)
at org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SimpleSQLReportDataFactory.queryData(SimpleSQLReportDataFactory.java:178)
... 16 more
Caused by: org.hsqldb.HsqlException: user lacks privilege or object not found: CUSTOMERS
at org.hsqldb.error.Error.error(Unknown Source)
at org.hsqldb.error.Error.error(Unknown Source)
at org.hsqldb.SchemaManager.getTable(Unknown Source)
at org.hsqldb.ParserDQL.readTableName(Unknown Source)
at org.hsqldb.ParserDQL.readTableOrSubquery(Unknown Source)
at org.hsqldb.ParserDQL.XreadTableReference(Unknown Source)
at org.hsqldb.ParserDQL.XreadFromClause(Unknown Source)
at org.hsqldb.ParserDQL.XreadTableExpression(Unknown Source)
at org.hsqldb.ParserDQL.XreadQuerySpecification(Unknown Source)
at org.hsqldb.ParserDQL.XreadSimpleTable(Unknown Source)
at org.hsqldb.ParserDQL.XreadQueryPrimary(Unknown Source)
at org.hsqldb.ParserDQL.XreadQueryTerm(Unknown Source)
at org.hsqldb.ParserDQL.XreadQueryExpressionBody(Unknown Source)
at org.hsqldb.ParserDQL.XreadQueryExpression(Unknown Source)
at org.hsqldb.ParserDQL.compileCursorSpecification(Unknown Source)
at org.hsqldb.ParserCommand.compilePart(Unknown Source)
at org.hsqldb.ParserCommand.compileStatements(Unknown Source)
at org.hsqldb.Session.executeDirectStatement(Unknown Source)
at org.hsqldb.Session.execute(Unknown Source)
... 20 more

Thanks
Norbert

want to selct some lines from pdf files

$
0
0
Hi Team,

I have a pdf file with thousands of lines.i need to select some lines from that file please help me.

Exception thrown when using ROLE based connection string via Microsoft ADOMD

$
0
0
Hi All,
I am using Microsoft.AnalysisServices.AdomdClient.dll to connect with Mondrian. I am trying to restrict the dimension visibility by setting role. I have done the configuration in Mondrian FoodMart sample Cube successfully. But when I try to connect this FoodMart cube, through ADOMD library and C# code, I am getting an exception.

Microsoft.AnalysisServices.AdomdClient: 10.0
Mondrian version: 3.20
Exception thrown while opening connection: {"XMLA SOAP Body processing error"}.

Code
:
AdomdConnection adomdConnection = new AdomdConnection("Data Source=http://localhost:8080/mondrian/xmla; Initial Catalog=FoodMart;Role='California manager'");
adomdConnection.Open(); //Exception thrown here.

Note: Without “Role” attribute, we can able to connect the FoodMart cube. For SSAS this connection string is working but not for Mondrian.
Please let me know how to frame a proper connection string from C# perspective.

Stack Trace:

" at Microsoft.AnalysisServices.AdomdClient.AdomdConnection.XmlaClientProvider.Microsoft.AnalysisServices.AdomdClient.AdomdConnection.IXmlaClientProviderEx.Discover(String requestType, IDictionary restrictions, InlineErrorHandlingType inlineErrorHandling, Boolean sendNamespaceCompatibility)\r\n at Microsoft.AnalysisServices.AdomdClient.AdomdConnection.ReadDataSourceInfo()\r\n at Microsoft.AnalysisServices.AdomdClient.AdomdConnection.ConnectToXMLA(Boolean createSession, Boolean isHTTP)\r\n at Microsoft.AnalysisServices.AdomdClient.AdomdConnection.Open()\r\n at ConsoleApplication1.Program.Main(String[] args) in c:\\Users\\tamilarasum\\Desktop\\test\\ConsoleApplication-Oracle connection\\ConsoleApplication1\\Program.cs:line 23"

Thanks,
Tamilarasu.M

Pentaho installation and documentation

$
0
0
Hello,
I'm trying to get the new biserver-ce-6.0 working on my fresh installed ubuntu server. The problem is that i'm not finding any "installation guide" on the site (i guess i'm not "browsing capable").
So I followed the guide at this url: http://pentaho-bi-suite.blogspot.it/...erver-501.html
I was hoping that even if a little bit old, the guide could be valid.
Guess what? Didn't worked ofc.

Pentaho seems to start without errors (in ssh console there are no errors) and going to the pentaho url i have the login screen.
If i try to login, though, i have some popups with some obscure strings like "filestooblar begin" and the like and even an "invalid login" message.

as said, im on Ubuntu, 15.10 with biserver 6.0.1

Any idea?

Edit: I'm using the admin/password credentials as i just unziped the installation package and launched the start-pentaho.sh script

Call DB Procedure and SQL Scripts

$
0
0
Hi everyone,

I've attempted several things (some nasty, some fair) to call an oracle stored procedure from Kettle, but I've failed.

I've been using Call_DB_Procedure step and it do execute (I've clicked auto-enable on and off), unfortunately it doesn't seem to insert or update any row. I've also tryied with SQL scripts, but It was no good (below I attach the code I wrote).

I was wondering how I could make that call.

Thanks in advance,

PD: This is the code I've written in SQL script:

Code:

call proc_package.proc_name(?,'?',result,result_desc) from dual;

I've also tryied:

Code:

        exec proc_package.proc_name(?,'?',result,result_desc);
In these cases Kettle retrieves "ORA-00933: SQL command not properly ended"

Manual installation Pentaho 5.4 with existing tomcat/mysql

$
0
0
Hi,

(used the search function and did not find any related topic, either is does not exist, or is burrowed to far in search history).

I need help on how to setup a manual installation of Pentaho server 5.4

On a system with
- existing tomcat installation
- existing mysql installation

(as it is part of our standard template)

All the documentation I could find was referring to the fact that tomcat directory has to be inside pentaho/server/biserver-ee/tomcat/ dir, which is not the case since all our servers already have a standard tomcat dir (/var/lib/tomcat/).

Thanks

Fields not showing Field Name Pentaho in Output

$
0
0
I'm trying to create a Pentaho transformation that can pass calculated data from some tables into a fact table.
In the input step I add one hour (a function I wrote in SAP HANA) and alias the name of the columns.
In the Output step, I can't see the names of the columns from the Input step. Please see input below
Table input.jpg

See the output transformation below

bi.konga.com - Remote Desktop Connection 2016-01-22 18.17.19.jpg

Please is there something I can do about this?

Do I have to worry about my Query components stop working?

$
0
0
Hello,

I have seen this warning:

CDF: Warning: QueryComponent behaviour is due to change. See http://www.webdetails.org/redmine/pr...QueryComponent for more information

Currently I use some Query Components to create custom tables and I do use postFetch function. Are my query components going stop working?

Thank you.

Error 0014

$
0
0
i have this error PentahoSystem.ERROR_0014 - Erreur lors de lexécution de la séquence de démarrage pour {0} , i can't start pentaho !! can any one helps me please ?

Query Druid

$
0
0
I want to read data from druid. Is it possible to query druid using PDI community edition?
Please suggest.

Regards,
Shail

Which transformation to skip first 4 rows

$
0
0
Hello, which transformation can I use if I want to skip the first 4 rows of a txt data file and start the header on the 5th row?

Kettle Step Exception

$
0
0
Hi,

I am Java developer, created .ktr file with (From Excel to insert/update) and database Postgres SQL.

Using below code to exceute .ktr:

TransMeta transMeta = new TransMeta("Ktrfile name");
Trans trans = new Trans(transMeta);

org.pentaho.di.core.exception.KettleStepException:
Error in step, asking everyone to stop because of:


Error looking up row in database
ERROR: operator does not exist: character varying = double precision
Hint: No operator matches the given name and argument type(s). You might need to add explicit type casts.
Position: 595

I am getting above exception , can you please help me out this exception.

Thanks,
Vincent Louis.

KettleDatabaseBatchException

$
0
0
Hi,


I am Java develope, I have another scenario using for this.


created .ktr file with (From Excel to Table Output) and database Postgres SQL.


Using below code to exceute .ktr:


TransMeta transMeta = new TransMeta("Ktrfile name");
Trans trans = new Trans(transMeta);


For this Scenarion getting below exception:


ERROR 25-01 15:48:49,038 - Table output.0 - Unexpected batch update error committing the database connection.
ERROR 25-01 15:48:49,039 - Table output.0 - org.pentaho.di.core.exception.KettleDatabaseBatchException:
Error updating batch
Batch entry 0 INSERT INTO dmcusage (ID, Report_Date, file_download, UI_Application, Collection_ID, Asset_ID, User_ID, Page_Views, USER_COUNTRY, COLLECTION_TYPE, DESIGN_ELEMENT, Is_Asset, Version_flag, UI_Application_FLAG, COLLECTION_NAME, USER_REGION_MAIN, REPORT_YEAR, SEGMENTS, SEASON, ARTWORK_PROPERTY, PUBLISHED_DATE, COLLECTION_REGION, COLLECTION_LOB, ORG_NAME, ASSET_LOB_OWNER, DCP_NONDCP, INTERNAL_EXTERNAL, LDAP_PIN, Prpoerty_flag) VALUES ( ' 1.0', '2015-11-1 0:0:0.000000 +5:30:0', 'CC247_1.pdf', 'DMC Version 4.70.49', NULL, NULL, 'WRIGE029', 0.0, 'Australia', NULL, NULL, 'No', 1.0, 'M', NULL, 'North America', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'null', NULL, 'DCP', 'INTERNAL', 'null', NULL) was aborted. Call getNextException to see the cause.


at org.pentaho.di.core.database.Database.emptyAndCommit(Database.java:1403)
at org.pentaho.di.trans.steps.tableoutput.TableOutput.dispose(TableOutput.java:611)
at org.pentaho.di.trans.step.BaseStep.runStepThread(BaseStep.java:2918)
at org.pentaho.di.trans.steps.tableoutput.TableOutput.run(TableOutput.java:680)
Caused by: java.sql.BatchUpdateException: Batch entry 0 INSERT INTO dmcusage (ID, Report_Date, file_download, UI_Application, Collection_ID, Asset_ID, User_ID, Page_Views, USER_COUNTRY, COLLECTION_TYPE, DESIGN_ELEMENT, Is_Asset, Version_flag, UI_Application_FLAG, COLLECTION_NAME, USER_REGION_MAIN, REPORT_YEAR, SEGMENTS, SEASON, ARTWORK_PROPERTY, PUBLISHED_DATE, COLLECTION_REGION, COLLECTION_LOB, ORG_NAME, ASSET_LOB_OWNER, DCP_NONDCP, INTERNAL_EXTERNAL, LDAP_PIN, Prpoerty_flag) VALUES ( ' 1.0', '2015-11-1 0:0:0.000000 +5:30:0', 'CC247_1.pdf', 'DMC Version 4.70.49', NULL, NULL, 'WRIGE029', 0.0, 'Australia', NULL, NULL, 'No', 1.0, 'M', NULL, 'North America', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'null', NULL, 'DCP', 'INTERNAL', 'null', NULL) was aborted. Call getNextException to see the cause.
at org.postgresql.jdbc.PgStatement$BatchResultHandler.handleError(PgStatement.java:2356)
at org.postgresql.core.v3.QueryExecutorImpl$1.handleError(QueryExecutorImpl.java:395)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1912)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:338)
at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:2534)
at org.pentaho.di.core.database.Database.emptyAndCommit(Database.java:1387)
... 3 more


Can you help me for this.


Thanks,
Vincent Louis

Reading from Excel file with changing names and fields

$
0
0
Using PDI 5.4

I have 3 jobs currently, that share some of the steps meaning that they are almost identical (transformations).

Below is an image of those steps:

job.jpg

The difference between those 3 separate jobs that share those steps is that inside transformations they read from Microsoft Excel Input step.
All of them read from a different file which has different column numbers and meaning.

Right now I'm just copy-pasting section from screenshot to every different job and altering the data in the MS Input step.

Is there a way like Mappings to design these transformations only once and provide them with Excel templates?

The name of an excel file is currently being passed by variables, but columns do change depending on a file which I typed in for every process separately.
Attached Images

MDX Aggregation at root account level

$
0
0
I have a two level employee hierarchy say salesmanager and salesrep who have targets at each level.

I want to write a MDX query to get the total target at salesmanager level (this should include the target of sales manager + his descendent's) as well as salesrep level in the hierarchy. I am able to get the sum of all salesrep target at salesmanager level. It is not including salesmanager level data.


Here I have a Date dimension as well.


Till now I wrote


Code:

WITH
  SET [~ROWS_Employee] AS
    Hierarchize(Descendants([Employee].MEMBERS,[Employee].[SalesReps]))
SELECT
  NON EMPTY
    {([Date].[All Dates],[Measures].[Target])} ON COLUMNS
 ,NON EMPTY
    [~ROWS_Employee] ON ROWS
FROM [SalesCube];

Employee dimension table structure is

SalesRepId, SalesRepName, SalesMgrId, SalesMgrName



For sales manager, the columns SalesMgrId and SalesMgrName will have null values.

Problem with paralelism and sequential steps

$
0
0
I am having some issues reading an XML, decrypt it and finally write it to the db. First issue with the "process filename" component was solved with the synchronization-blocking step which enables me to do this step after all previous steps are finished. Now I have another problem with a user java class component that gets triggered before it should. I am wondering if there is a possibility to disable parallel execution of the whole job or in my case how should I solve that the java component is triggered after xml read component completes? Thanks

transformation with the issue:
000072.jpg

log issue:
000071.jpg

working decryption
000073.png
Attached Images

iterate over subreports in Reporting SDK

$
0
0
Hi,

I want to Exchange the data sources in my Main Report and in all subreports.

in the main Report I can do this with

report.setDataFactory(dataFactory);

is there a way to iterate over all subreports and set their dataFactory?

Thank you
Norbert

Viewing all 16689 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>