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

Splash_image is null

$
0
0
Hi All,

When i debug the kettle source code. version 5.0.1

I found the "BasePropertyHandler.getProperty("splash_image")" return null

This is a image path I guess.

How I can fix the issue. Thanks

Problem export field Date (SQL) to Excel

$
0
0
Hi to all,
I have a problem when I export to Excel a field that in SQL is in Date format (FOR EXAMPLE 2014-12-20). I need export it into an Excel file but when I import fields from SQL the Date is formatted as String.
I put the Calculator for converting into Date the field with format yyyy/MM/dd but when I execute the Transformation Kettle doesn't start.
Where is the problem?
Thanks a lot

Giorgio

Central Logs

returning data from MS SQL server

$
0
0
Hi All,

trying to return a dataset from MSSQL. I need to use two temp tables along the way with some update statements, etc. until I finally return the result in the last select. This result should serve as an input for the transformation. How do I do it? I tried:

1. using the call DB procedure - put all my statements in a sproc and called it from this step. Works great, but the next step doesn't recieve anything. And it looks like this step isn't returning anything anyhow. see below (it's supposed to write more than 1 row)
Stepname Copynr Read Written Input Output Updated Rejected Errors Active Time Speed (r/s) input/output
Call DB Procedure 0 1 1 0 0 0 0 0 Stopped 1.3s 1 -

2. using the Execute SQL script - this also doesn't seem to return anything. The next step complains about missing fields
3. using Table Input - tried executing the SP from the Table Input step, that didn't work either - Table input.0 - The statement did not return a result set. I tried running sp_helpdb and it works, so I'm completely stumped there since the error message is so non-descriptive...

TIA

Adding users to memory authentication

$
0
0
I just set up pentaho-ce 5.4.0.1 Out of the box it works fine. However, I am trying to add a new user to the DefaultInMemoryUserDetailsService, I cannot log in. I simply ad the new user like this:

Code:

    <bean id="userMap" class="java.lang.String">
        <constructor-arg type="java.lang.String">
            <!-- case matters -->
            <value>
                <![CDATA[
          me=asdf,Administrator,Authenticated
          admin=password,Administrator,Authenticated
          suzy=password,Power User,Authenticated
          pat=password,Business Analyst,Authenticated
          tiffany=password,Report Author,Authenticated
        ]]>
            </value>
        </constructor-arg>
    </bean>

But I cannot login as "me"

I have some experience with Spring Security and I see that the authentication manager is anonymousAuthenticationProvider, so how does that work with the memory provider?

where is penthao getting the initial credentials and how do I get the memory authentication provider to work?

New Map Component Marker Mode Tooltip does not work

$
0
0
In the Component Reference for the New Map Component the dataset column names do not seem to work as advertised. Even in the NewMapComponent.js
it suggests they should be working in manner I've tried.

Everything save for latitude and longitude seems merely for show.

Tooltips are not working over markers is my number one problem.

I see how Description is being used in the example with the Marker parameters which seems very obtuse from any angle.

Is there something I'm missing? I'd really like the tooltips to work.

Who submitted a transformation

$
0
0
Hi,

If a transformation is remotely executed on a slave server, how can it get at the username of the person who submitted it?
${user.name} works ok for local execution, but that just returns a service account from the server, not the person who started the transformation.

Pentaho loader stop without any error

$
0
0
The loader was running successfully for a period of time

But suddenly loader stop without any error on 1/24, and it was succeed after re-run

We had check DB and server are both in normal condition

Below is the succeed job log on 1/23 and abnormal job log on 1/24 (stop at 2016/01/24 07:44:18 - Last Success Time Query .0 - Released server socket on port 0)

Please help to give any suggestion for the issue, thanks!

Code:

2016/01/23 07:44:08 - Set Variables.0 - distribution activated
2016/01/23 07:44:08 - Set Variables.0 - Starting allocation of buffers & new threads...
2016/01/23 07:44:08 - Set Variables.0 - Step info: nrinput=1 nroutput=0
2016/01/23 07:44:08 - Set Variables.0 - Got previous step from [Set Variables] #0 --> Select values
2016/01/23 07:44:08 - Set Variables.0 - input rel is 1:1
2016/01/23 07:44:08 - Set Variables.0 - Found input rowset [Select values.0 - Set Variables.0]
2016/01/23 07:44:08 - Set Variables.0 - Finished dispatching
2016/01/23 07:44:08 - Sync_LastSuccessTime -  Transformation has allocated a new step: [Set Variables].0
2016/01/23 07:44:08 - Sync_LastSuccessTime - This transformation can be replayed with replay date: 2016/01/23 07:44:08
2016/01/23 07:44:08 - Sync_LastSuccessTime - Initialising 3 steps...
2016/01/23 07:44:08 - Set Variables.0 - Released server socket on port 0
2016/01/23 07:44:08 - Select values.0 - Released server socket on port 0
2016/01/23 07:44:08 - Last Success Time Query .0 - Released server socket on port 0
2016/01/23 07:44:08 - WIS_DB - New database connection defined
2016/01/23 07:44:08 - WIS_DB - Auto commit off
2016/01/23 07:44:08 - Last Success Time Query .0 - Connected to database...
2016/01/23 07:44:08 - Sync_LastSuccessTime - Step [Last Success Time Query .0] initialized flawlessly.

Code:

2016/01/24 07:44:18 - Set Variables.0 - distribution activated
2016/01/24 07:44:18 - Set Variables.0 - Starting allocation of buffers & new threads...
2016/01/24 07:44:18 - Set Variables.0 - Step info: nrinput=1 nroutput=0
2016/01/24 07:44:18 - Set Variables.0 - Got previous step from [Set Variables] #0 --> Select values
2016/01/24 07:44:18 - Set Variables.0 - input rel is 1:1
2016/01/24 07:44:18 - Set Variables.0 - Found input rowset [Select values.0 - Set Variables.0]
2016/01/24 07:44:18 - Set Variables.0 - Finished dispatching
2016/01/24 07:44:18 - Sync_LastSuccessTime -  Transformation has allocated a new step: [Set Variables].0
2016/01/24 07:44:18 - Sync_LastSuccessTime - This transformation can be replayed with replay date: 2016/01/24 07:44:18
2016/01/24 07:44:18 - Sync_LastSuccessTime - Initialising 3 steps...
2016/01/24 07:44:18 - Set Variables.0 - Released server socket on port 0
2016/01/24 07:44:18 - Select values.0 - Released server socket on port 0
2016/01/24 07:44:18 - Last Success Time Query .0 - Released server socket on port 0


Disabling context menu on a tab

$
0
0
Having a dashboard, it opens in a tab. When the user right-click on the upperleft, a menu is displayed allowing him to close all tabs, close this tab,..
Is there a way to disable this menu.
When I right-clik in order to display it, nothing happens in the console, so I have no idea of how it works.

Thank you

Benoit

Drop Down "ALL"

$
0
0
Hola.


tengo un problema:
Tengo un parámetro drop down (tabla Localización) con por ejemplo 4 opciones:


ID_localizacion Desc


1 Norte
2 Sur
3 Este
4 Oeste


Necesito crear una opción en el parámetro (-1) que la descripción sea "TODOS".
Hay una opción que al crear esa opción me seleccione todos los ID de la tabla y me los envíe a mi Query como parámetro?


select * from table
where ID_localización in{$ID_localizacion}


quiero que $ID_localizacion me traiga ('1','2','3','4',.....)


Muchas Gracias

Problems with conflicting database connections in PDI

$
0
0
Hi!

We have been using Pentaho Data Integration pretty much on a daily basis for a few years now, and we are very pleased with its great performance and versatility. However, we are struggling with a recurring problem that concerns conflicting versions of database connections. We currently use PDI version 5.4 and we work with ktr and kjb files, i e we do not have our jobs and transformations in a repository. Three employees create and modify jobs and transformations using Spoon, and a large number of employees get information via scheduled jobs running nightly.

Here is what happens: Our IT department sometimes make changes to our databases. As a result, we sometimes need to modify our database connections. Most of our database connections are shared and we therefore modify the shared connection. Unfortunately, old versions of the database connections sometimes pop up in a job there and a transformation there, and the behaviour is very erratic. By "old versions", I mean that we get two different database connections that share the same name.

This means that if a connection needs to be changed, we need to go through all occurrences of that connection in every job and transformation. If we don't, old versions of the connections keep popping up here and there whenever we modify a job or transformation. Even worse: When one of my two colleagues open a job they may bring an old version of a connection with them. It's like trying to eradicate some kind of virus.

Apart from the Kettle installations we have on our three desktop computers, we have also installed Kettle 5.4 on a server. When I open jobs or transformations with that installation while logged in to that server, all is well. When my colleague does the same while logged in on the server, he gets other versions of the database connections in some jobs or transformations (but not all of them!). How is this possible when we are running the same installation of Kettle?

Quite obvoiusly we must be doing something wrong, so the question is: How can we make sure there is only one version of a database connection with a given name and that all other versions with identical names are replaced?

I would be very thankful for any help!

Best wishes,
Ogrim

Encoding error using Run SSL Command

$
0
0
Hi, everyone.

I'm having problems with Run SSH Command because of enconding.

My job takes from Database the path of the files that I have to delete remotely. I compose the command dynamiclly using the path and use it with Run SSH Command step. When the file name has special characters, like Ñ, something wrong is happening in the SSH call because it changes the special character and doesn't find the file to delete.

For example, I have to delete the file "/2015/10/29/12/334/Pruebañ_1446548901.pdf". The error message in the log file is

rm: it can't be delete ??/2015/10/29/12/334/Prueba\361_1446548901.pdf??: File or directory does not exists.

I have used the step for 'ls', especifying the file name with ñ and I get the same result: it doesn't find the file.

Anyone knows how to make it works?

Thanks in advance.

Listening to TCP ports

$
0
0
I want to know if it is possible to collect strings of data, which have been sent via TCP, from ports on a computer using Spoon (rather like a syslog server).

Hive with Pentaho - Method not supported

$
0
0
Hi,

I am running simple 'Select * from table;' query against HIVE database which is giving me 'Method not Supported' error.

Test connection is successful.

But unable to get Result.

I am using hive-jdbc-1.2.1-standalone.jar and hadoop-common-2.0.0-cdh4.2.0.jar.

Pace.js in CDE Dashboard

$
0
0
I thought i already created this thread but cannot locate it.

Does anybody have experience or advice on implementing pace.js instead of the default BlockUI within a RequireJS CDE dashboard?

I added it to my dashboard and can get it workin if not requireJS, but I am trying to call pace.start() but it does not work.

Also I am wondering if i can replace the default BlockUI entirely with pace?

Thanks,

Transformation versioning

$
0
0
Hello
I need couples of information, please.
+ Does spoon support transformation versioning in the community edition?
+ When I save a transformation in a repository, are there any information stored about the version of the steps?
+ If I design a new step and use it in a transformation, if another user open the transformation, will he automatically get the step I developped or do I need to send him somehow the step plugin?

Thank you very much

Using JDBC Origin Data (from pentaho platform) in Pentaho Report

$
0
0
Hi,

We've been struggling with a problem for a few days already and we still don't know how to solve our issue. We have a Pentaho platform, which will contain several projects from different sources.
Some projects develop their reports in Birt (those work fine) but some others that use Pentaho Reporting tool are not working as expected.

The reports must have a connection name that will take the connection details from Pentaho Platform, once uploaded and refreshed (with this I mean, user uploads report and when calling to refresh, the expected behaviour should be that the connection info is taken from the Pentaho platform). Doing this with current reports and JDBC data source in Pentaho Platform raises an error: "Error parsing parameter information"


Pentaho data source is set to JDBC (due to organizational restrictions) and we cannot use JNDI (since it would mean a redeployment of the server application each time we have to set a new connection, that will impact all the other projects adn users as well).

As a final note, using JNDI as a test worked for us, but as I mentioned, this is not a valid option. Any hints on how to achieve this?

Thanks in advance

Calculator - Create a copy of field A copies spurious characters

$
0
0
Hi,

I'm new to PDI so please bear with me :)

Running on OS X Yosemite. I've used a Calculator to create a field and copy the content of another field with a string, the value it should copy should be something like 'u_cmdb_ci_technical_service', however it copies a value that looks like '[B@e280403'. Any idea why its not simply copying the string?

Any help will be much appreciated.

Many thanks

Andy

Get values from sql query

$
0
0
Hello!

I'm trying to modify tooltip of sunburstchart and I came to at some point. But, I can't get the second column value from sql. I'm using a query like this to get the data:
Code:

select val1, val2 from table
I need to get it with JavaScript. This works for val1.
Code:

var series = this.getSeriesLabel();
But how to get the val2? I tried some and didn't worked. Also searched on forums but couldn't find any help about.

Thank you.

Matt’s Mad Labs Hangout

$
0
0
I’m starting a new quick and easy way for Pentaho labs to connect to the community: a regular hangout.
The first hangout will take place on February 16th, 7pm CET, 1pm Eastern, 10am Pacific.
Matt’s Mad Labs Hangout

We’ll discuss the cool things Labs can and will build in 2016 and beyond.
See you then,
Matt


More...
Viewing all 16689 articles
Browse latest View live