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

How is "carte" master (load balancer) work?

$
0
0
Hello, everyone!

I want to execute my jobs through carte on remote server.
All of them I send to master (through spoon).
I'm using default config files from ./pwd: carte-config-8081.xml, carte-config-8082.xml, carte-config-8083.xml, carte-config-8084.xml, carte-config-master-8080.xml.
I expect, that when I send some jobs to master, it must send them to available unoccupied slaves.

But what I see, is that jobs seems to be executed only by one process, other seems to be not active.
Log output goes only from master.

So, how does "carte" load balancer work? What I missing?

Please, tell me if my question seems to be unclear.
Attached Images

Run SSH Command with variable substitution (Command Line Argument)

$
0
0
Dear All,

I have a small problem to manage and due to my poor coding skills I can't solve it on my own.

I have a Pentaho Report connected with a Kettle Transformation.

It's working wonderful getting the inserted Report Parameter in Kettle with the Get System Data (Command Line Argument) Step.

But I need the Report Parameter value in an 'Run SSH Command' Step Command, so I can run the command with injected report parameter value.


How do I solve the issue? Any ideas, suggestions??


Kind regards,


Holger

Calculator operation 'remove time from a date' fails on summertime

$
0
0
There is a bug using the operation 'remove time from a date' from the Calculator step on summertime dates.

If the date specified was a day where the summertime started, the operation fails with a java.lang.IllegalArgumentException:

2014/11/24 14:35:31 - remove_time.0 - ERROR (version 5.1.0.0, build 1 from 2014-06-19_19-02-57 by buildguy) : Unexpected error
2014/11/24 14:35:31 - remove_time.0 - ERROR (version 5.1.0.0, build 1 from 2014-06-19_19-02-57 by buildguy) : java.lang.IllegalArgumentException: HOUR_OF_DAY: 0 -> 1
2014/11/24 14:35:31 - remove_time.0 - at java.util.GregorianCalendar.computeTime(Unknown Source)
2014/11/24 14:35:31 - remove_time.0 - at java.util.Calendar.updateTime(Unknown Source)
2014/11/24 14:35:31 - remove_time.0 - at java.util.Calendar.getTimeInMillis(Unknown Source)
2014/11/24 14:35:31 - remove_time.0 - at java.util.Calendar.getTime(Unknown Source)
2014/11/24 14:35:31 - remove_time.0 - at org.pentaho.di.core.Const.removeTimeFromDate(Const.java:2759)
2014/11/24 14:35:31 - remove_time.0 - at org.pentaho.di.core.row.ValueDataUtil.removeTimeFromDate(ValueDataUtil.java:1026)
2014/11/24 14:35:31 - remove_time.0 - at org.pentaho.di.trans.steps.calculator.Calculator.calcFields(Calculator.java:413)
2014/11/24 14:35:31 - remove_time.0 - at org.pentaho.di.trans.steps.calculator.Calculator.processRow(Calculator.java:162)
2014/11/24 14:35:31 - remove_time.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)

I want to calculate the difference of days between two dates, it should ignore the hour time of the day of both dates.

I tried to perform this using 'remove time from a date' operation on both A and B dates and after apllying the operation 'Date A - Date B (in days)'.
However, I got this bug on summertime dates.

Does someone suggest another solution?

Orair.

Database Connection Error

$
0
0
I am trying to run Kettle and was sent a .KTR file. I try to run a test with the database connection and get the following error:

Error connecting to database [FXBZ- Primary] : org.pentaho.di.core.exception.KettleDatabaseException:
Error occured while trying to connect to the database


Driver class 'oracle.jdbc.driver.OracleDriver' could not be found, make sure the 'Oracle' driver (jar file) is installed.
oracle.jdbc.driver.OracleDriver




org.pentaho.di.core.exception.KettleDatabaseException:
Error occured while trying to connect to the database


Driver class 'oracle.jdbc.driver.OracleDriver' could not be found, make sure the 'Oracle' driver (jar file) is installed.
oracle.jdbc.driver.OracleDriver



I do have SQL Developer installed and it works fine. I tried to follow an outdated link to download an Oracle driver, but the page had moved.

Where do I get the driver to fix this problem and where do I put it?

Thanks!
Bill

"Execution results" Read, Written, Input

$
0
0
Hello,
I'm new with Spoon and I don't find what means Read, Written and Inpput in the log (Execution results).
In my package I have 10 Read and 10 Written or 6 Read, 6 Written, 1 Input for another row.
Which is the difference between Read and Input?
Where can I find the documentation?

Thanks.

Uncompressing bzip files

$
0
0
Hi all,

I have a compressed zip file which outputs a folder when unzipped manually and this folder contains man bzip files which I am required to unzip.

Below is the flow:

Compressed zip file -> folder name(when compressed) - > so many bzip files (Around 18 in number)

I am required to implement a transformation that unzips all these files before they are loaded in postgres database.

I need some ideas on how to implement this transformation to do the extraction before the data is staged in a database since the unzip job might not be helpful.

Thanks for your support.

Thanks,

Ron

Reports strange behavior on Ubuntu

$
0
0
I am not familiar with ubuntu at all

I have developed the reports in PRD Previewed and published to several systems including windows and Ubuntu works fine but in
Ubuntu when tried to view in PUC i get to see only a blank page no error nothing no error in console as well.

Preview works fine in Ubuntu also with PRD

Server 5.0.1 ce
Prd: 5.0.1 Stable

I am not able to get .pentaho file as in windows c drive to see the logs of prd

Invalid column index during database lookup

$
0
0
Hello,
I have this error and I don't understand.
I my transformation, I used the same statement (I change the key to read the table), in the previous steps and I don't have errors.

2014/11/24 12:28:17 - Lookup ERR003.0 - ERROR (version 4.1.0, build 1 from 2012-11-06 13.20.53) : Because of an error, this step can't continue:
2014/11/24 12:28:17 - Lookup ERR003.0 - ERROR (version 4.1.0, build 1 from 2012-11-06 13.20.53) : offending row : [W_COD_ERR003 String(6)], [ String]
2014/11/24 12:28:17 - Lookup ERR003.0 - ERROR (version 4.1.0, build 1 from 2012-11-06 13.20.53) :
2014/11/24 12:28:17 - Lookup ERR003.0 - ERROR (version 4.1.0, build 1 from 2012-11-06 13.20.53) : Error setting value #2 [ String] on prepared statement (String)
2014/11/24 12:28:17 - Lookup ERR003.0 - ERROR (version 4.1.0, build 1 from 2012-11-06 13.20.53) : java.sql.SQLException: Index de colonne non valide
2014/11/24 12:28:17 - Lookup ERR003.0 - ERROR (version 4.1.0, build 1 from 2012-11-06 13.20.53) : Index de colonne non valide


W_COD_ERR003 is a constant that I use for the LookUp (in the other cases I have w_cod_err001, 2, ...)
Index de colonne non valide in french means: Column index not valid

I don't understand, if I execute the step in another job and delete all steps, it runs correctly.
In the image the Database Lookup object in the detail.

Err index.jpg
Attached Images

Using environment variables in a 'filter rows' step

$
0
0
Hi,

I want to use a environment variables in a 'filter rows' step. I want to filter all the rows using field = ${var_ent}
var_ent is integer and the field is integer.

It show me that error 'couldn't convert string to integer'

Any advice will be greatly apreciatted

Thanks in advance

Dynamic filtering of reports using parameters and prompts

$
0
0
Hi,

How can i create drop down filters on the input values using parameters. I am attaching a sample file and i am able to make this work in interactive reports using prompts. Can you let me know the steps to follow in pentaho report designer. I want to dropdown using the product.

Thanks,
Rahul

Year Product Price Profit
2005 A 12 2
2005 B 14 1
2005 C 16 3
2005 D 18 5
2005 E 20 6
2005 F 22 7
2005 G 24 3
2006 A 13 5
2006 B 18 6
2006 C 20 4
2006 D 22 6
2006 E 24 6
2006 F 22 7
2006 G 24 3
2006 H 18 5
2006 I 18 6
2006 J 20 4
2006 K 22 6
2007 A 24 9
2007 B 22 6
2007 C 24 1
2007 D 32 8
2007 E 34 6
2007 F 36 7
2007 G 38 3
2007 H 40 5
2007 I 34 6
2007 J 36 4
2007 K 38 6
2009 A 40 6
2009 B 42 7
2009 C 44 3
2009 D 46 5
2009 E 18 6
2009 F 20 4
2009 G 22 3
2009 H 24 5
2009 I 22 6
2009 J 24 4
2009 K 32 7
2010 A 34 3
2010 B 22 5
2010 C 24 6
2010 D 32 4
2010 E 34 6
2010 F 36 4
2010 G 38 6
2010 H 40 9
2010 I 34 6
2010 J 36 1
2010 K 38 8
2010 L 40 6
2010 M 28 7
2010 N 42 3

import.sh -limitdir

$
0
0
Has any one have –limitdir option for import.sh script of PDI working?

I am on 5.0.6 and script does not work as expected with this option and says:
Skipped the import of job ‘ABCD' since it's not part of the limiting set of directories.

Even if ABCD job/trans exist in the limiting set.

conversion of data type from sql server to oracle database using pentaho

$
0
0
Hi, I have this value 6F388DE4-7CF8-E211-BD89-000C2983C0D0 with unique identifier as datatype in SQL server and I want to upload this value into an interface table in oracle database in which I want to convert it into CHAR(36) datatype using Pentaho Spoon.

I have value 0x00000000000046C2 with timestamp as datatype in SQL server and I want to upload this value into an interface table in oracle database in which I want to convert it into RAW datatype using Pentaho spoon.

Pleasse do suggest me a way how to solve this issue as i'm not getting the data as required.Thanks in advance.

Not able to find metadata data source when trying to create interactive report

$
0
0
Hi All,

I have created my metadata file and uploaded the file in the BI server. When i am trying to use the added metadata datasource to create interactive report i am not seeing any datasource in the list. I have kept the log-level to debug and tried verifying but still didnt get any hunch.Can anyone please help with this.

Metadata Data source in Manage Datasources:
Manage Datasource.png
Metadata Data source not available in select Datasources
Select Datasource.png

Any help is highly appreciated.

Thanks in advance
Attached Images

define joins phase

$
0
0
hi friends
i create database with mysql and add tables
after created table, i add this database with data source in user console
but in define joins phase, there isn't column to join
why there isn't column?

Inconsistent results in MDX query

$
0
0
Hi,

I'm currently experiencing an odd error in Mondrian (using the latest schema workbench (3.6.1)) when running the queries below. If I change the order of one of the dimensions I get missing results in the second query when I would expect them to be same as the only difference is the position of one of the dimensions.

In the first example we have:
Consumption Day, Consumption Hour, Consumption Method with two measures in the columns and a specifc chosen programme in the rows.

This produces this query with the following result:
Code:

SELECT
NON EMPTY Hierarchize(Union(CrossJoin([Consumption Date.Calendar].[Consumption Day].Members,
CrossJoin([Consumption Time.Time].[Consumption Hour].Members,
CrossJoin([Consumption Method].[Consumption Method].Members, {[Measures].[Total Viewing Time]}))),
CrossJoin([Consumption Date.Calendar].[Consumption Day].Members, CrossJoin([Consumption Time.Time].[Consumption Hour].Members,
CrossJoin([Consumption Method].[Consumption Method].Members, {[Measures].[Average Timeshift]}))))) ON COLUMNS,
NON EMPTY {Hierarchize({[Programme].[Programme 1]})} ON ROWS
FROM [Content - Programme]

Code:


Axis #0:
{}
Axis #1:
{[Consumption Date.Calendar].[2014-07-25], [Consumption Time.Time].[23:00], [Consumption Method].[PVR], [Measures].[Total Viewing Time]}
{[Consumption Date.Calendar].[2014-07-25], [Consumption Time.Time].[23:00], [Consumption Method].[PVR], [Measures].[Average Timeshift]}
{[Consumption Date.Calendar].[2014-07-26], [Consumption Time.Time].[00:00], [Consumption Method].[PVR], [Measures].[Total Viewing Time]}
{[Consumption Date.Calendar].[2014-07-26], [Consumption Time.Time].[00:00], [Consumption Method].[PVR], [Measures].[Average Timeshift]}
{[Consumption Date.Calendar].[2014-07-26], [Consumption Time.Time].[14:00], [Consumption Method].[PVR], [Measures].[Total Viewing Time]}
{[Consumption Date.Calendar].[2014-07-26], [Consumption Time.Time].[14:00], [Consumption Method].[PVR], [Measures].[Average Timeshift]}
{[Consumption Date.Calendar].[2014-07-27], [Consumption Time.Time].[15:00], [Consumption Method].[PVR], [Measures].[Total Viewing Time]}
{[Consumption Date.Calendar].[2014-07-27], [Consumption Time.Time].[15:00], [Consumption Method].[PVR], [Measures].[Average Timeshift]}
{[Consumption Date.Calendar].[2014-07-28], [Consumption Time.Time].[15:00], [Consumption Method].[PVR], [Measures].[Total Viewing Time]}
{[Consumption Date.Calendar].[2014-07-28], [Consumption Time.Time].[15:00], [Consumption Method].[PVR], [Measures].[Average Timeshift]}
{[Consumption Date.Calendar].[2014-07-28], [Consumption Time.Time].[16:00], [Consumption Method].[PVR], [Measures].[Total Viewing Time]}
{[Consumption Date.Calendar].[2014-07-28], [Consumption Time.Time].[16:00], [Consumption Method].[PVR], [Measures].[Average Timeshift]}
Axis #2:
{[Programme].[Programme 1]}
Row #0: 7,200
Row #0: 44
Row #0: 3,600
Row #0: 88
Row #0: 1,800
Row #0: 264
Row #0: 3,600
Row #0: 207
Row #0: 1,800
Row #0: 560
Row #0: 3,600
Row #0: 280

As you can see, with the dimensions in this order 12 result cells are returned. However, if the dimensions are rearranged to the following order, then a number of results are missing:

Consumption Day, Consumption Method, two measures and Consumption Hour in the columns and a specifc chosen programme in the rows.

This produces the following MDX query:
Code:

SELECT
NON EMPTY Hierarchize(Union(CrossJoin([Consumption Date.Calendar].[Consumption Day].Members,
CrossJoin([Consumption Method].[Consumption Method].Members,
CrossJoin({[Measures].[Total Viewing Time]}, [Consumption Time.Time].[Consumption Hour].Members))),
CrossJoin([Consumption Date.Calendar].[Consumption Day].Members, CrossJoin([Consumption Method].[Consumption Method].Members,
CrossJoin({[Measures].[Average Timeshift]}, [Consumption Time.Time].[Consumption Hour].Members))))) ON COLUMNS,
NON EMPTY {Hierarchize({[Programme].[Programme 1]})} ON ROWS
FROM [Content - Programme]

And only 6 result cells:
Code:

Axis #0:
{}
Axis #1:
{[Consumption Date.Calendar].[2014-07-25], [Consumption Method].[PVR], [Measures].[Total Viewing Time], [Consumption Time.Time].[23:00]}
{[Consumption Date.Calendar].[2014-07-25], [Consumption Method].[PVR], [Measures].[Average Timeshift], [Consumption Time.Time].[23:00]}
{[Consumption Date.Calendar].[2014-07-26], [Consumption Method].[PVR], [Measures].[Total Viewing Time], [Consumption Time.Time].[00:00]}
{[Consumption Date.Calendar].[2014-07-26], [Consumption Method].[PVR], [Measures].[Average Timeshift], [Consumption Time.Time].[00:00]}
{[Consumption Date.Calendar].[2014-07-28], [Consumption Method].[PVR], [Measures].[Total Viewing Time], [Consumption Time.Time].[16:00]}
{[Consumption Date.Calendar].[2014-07-28], [Consumption Method].[PVR], [Measures].[Average Timeshift], [Consumption Time.Time].[16:00]}
Axis #2:
{[Programme].[Programme 1]}
Row #0: 7,200
Row #0: 44
Row #0: 3,600
Row #0: 88
Row #0: 3,600
Row #0: 280

I would expect this to return the same amount of result cells in both cases.
I have a Mondrian schema and example dataset in postgresql that can be used to reproduce this error.
Should this be raised as a bug?

Mondrian (MDX). Many dimensions in where, without crossjoin

$
0
0
Hi. How can add many dimension in WHERE without CrossJoin?:confused:

Put a file with SFTP task - Logging

$
0
0
Hi All,

I am trying to get the uploaded filenames from "Put a file SFTP" task. Below are my requirements -

1) I would like to get the filenames, timestamp and exact order of files which got uploaded through "Put a file SFTP" task to the log file. Unfortunately i have limitation of changing the loggging level from Basic to anything. So is there any other way to get the above details in the log file?

2) I have this regex in the above task -- (?i).*(?=.*ABC_123_).*.txt|(?=.*ABC_456_).*.txt|(?=.*ABC_789).*.txt|(?=.*ABC_012_).*.txt. Could you let me know the order of file upload with this regular expression? Will ABC_123_*.txt be uploaded first?

The actual requirement is to understand the order of file upload in BASIC logging level.

Thanks for your help in advance.

Report Designer - Filter report with Chart Item click

$
0
0
Hi, i need implement a report with 2 charts. I need that when I click in a bar of first char, the second char filter with value clicked.

How can I do it?

I need some like this webpage report:

http://tatopagao.es/ -> Menu Dashboard

Thanks

Windows 8 issues with MultilayerPerceptron

$
0
0
I am having issues with doing MultilayerPerceptron in Weka with Windows 8. I don't know what the correct terminology of what is happening. I will do my best to explain it. I start MultilayerPerceptron with the default options except I change the time from 500 to 100, and change the folds from 10 to 5. It starts off looking good. I can see the bird moving and numbers changing. After like 10 minutes the bird stops moving and everything stops. I don't consider this to be a crash because the program doesn't die or a freeze because the program is still responsive to whatever I tell it to do. I don't understand what is going on. There are no error messages and the log doesn't have any error messages. I did try MultilayerPerceptron with the default settings because I was curious and the same thing happened.

MultilayerPerceptron works perfectly fine in windows 7 and windows vista so I don't understand what the issue is with Windows 8.

java.lang.ArrayIndexOutOfBoundsException during Update

$
0
0
Hello,
During an "Update", I have this error:

2014/11/25 11:36:43 - Update Evenement D.0 - ERROR (version 4.1.0, build 1 from 2012-11-06 13.20.53) : Unexpected error :
2014/11/25 11:36:43 - Update Evenement D.0 - ERROR (version 4.1.0, build 1 from 2012-11-06 13.20.53) : java.lang.ArrayIndexOutOfBoundsException: 1
2014/11/25 11:36:43 - Update Evenement D.0 - ERROR (version 4.1.0, build 1 from 2012-11-06 13.20.53) : org.pentaho.di.trans.steps.update.Update.lookupValues(Unknown Source)
2014/11/25 11:36:43 - Update Evenement D.0 - ERROR (version 4.1.0, build 1 from 2012-11-06 13.20.53) : org.pentaho.di.trans.steps.update.Update.processRow(Unknown Source)
2014/11/25 11:36:43 - Update Evenement D.0 - ERROR (version 4.1.0, build 1 from 2012-11-06 13.20.53) : org.pentaho.di.trans.step.RunThread.run(Unknown Source)
2014/11/25 11:36:43 - Update Evenement D.0 - ERROR (version 4.1.0, build 1 from 2012-11-06 13.20.53) : java.lang.Thread.run(Unknown Source)


I don't understand!

Many thanks for help
Viewing all 16689 articles
Browse latest View live


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