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

Accessing Same Dashboard By Different Users with restricted data

$
0
0
Hi,

I have a requirement, where the dashboard has the sales report of different regions. If 'User1' logs into server, he should see only his region data, for e.g: canada, if 'User2' logs in he should see only his region data,e.g: washington.. I wonder how this could be achieved using CDE.?. Please can anyone share your thoughts ..?


Regards,

Abdur Rahmaan

How to access pentaho dashboards via API call ?

$
0
0
Is it possible to access the pentaho cde dashboards via API call ?

And also is it possible to convert pentaho cde charts like ccc bar, ccc pie etc into an API ?

Need some help on creating & emailing excel output

$
0
0
Hi All,

I would really appreciate if someone can guide me on this
I have a table with data like

cust_id batch_id adddate batch_type pushed_to_cust_tbl pushed_to_inv_tbl
ABN 101 2015-11-22 INT Y Y
ABN 102 2015-11-22 EXT Y N
PRB 103 2015-11-22 INT Y Y

I need to get this data into excel and then email it to my supervisor daily. I have attached the script that I have created.
I want a new excel sheet to be created everytime cust_id changes but not able to achieve
( Or I can run the script for one cust_id at a time)
Also I am not able to format the excel sheet to be emailed. How can I do this ?

Thanks
Alfred
Attached Files

Saiku 3.7 login

$
0
0
Hi all,

I am new to Pentaho BA and I am using CE for analysis. I downloaded Saiku 3.7 from market place. I need to login when I open Saiku analytics. Is the username and password "admin"? How can I login?
How can i use Saiku directly?
Thanks for help

Cheers,
Jack

Is PDI 5.1 Community Version, stable ? or yet to be stable ?

$
0
0
Hi,

Just a clarification,

When I looked into the source forge website, it says just 5.1 download version for PDI (but not mentioned as stable). The versions before 5.1 in the list seems to be stable as they mentioned it.

My question, Is 5.1 stable ?

Correct me if I am wrong.

http://sourceforge.net/projects/pent...20Integration/

Pre-existing web analytics reporting

$
0
0
I'm trying to find any pre-existing solution that parses web server logs and provides web analytics reporting. It seems to me that this would be a common requirement and given the complexity of transformation required to derive meaninful data from the logs, I'd rather not be starting from scratch. Has anyone seem anything that might fit the bill?

PDI and Log4j - category/loggers

$
0
0
Hi,

I'm working on PDI 5.4.0.1 EE on tomcat 7, but the question may apply to BI-server or kettle-log4j plugin.
In my log4j.xml configuration file, I have defined a category/logger "org.pentaho.di" with additivity=false
and a specific file appender. The goal is to keep kettle logs in a file different from other stuffs.

the lines logged by this category are logged in the file, but are also logged in the root logger,
as if additivity was not respected, or as if there were a console appender somewere.

Can anyone help?

Second question:
Does anyone know what are the name of the loggers used by all the PDI stuffs?
Is there specific one for Carte, Repository, DB?
Moreover, do pdi use NDC/MDC?

Need help connecting to Cassandra over a SSL connection - Self-signed.

$
0
0
Using Data Integrator 6.0 CE on a Windows 7 machine - trying to connect to a Cassandra 2.1.8 repository. When I attempt to setup a Cassandra Input connection - I get an unexpected error - which I expect is a connection refusal because I would have connection issues using cqlsh command line if I forgot the --ssl flag. I should also add - the certificate is self-signed.

I have tired to add the certificate to a java keystore - but am not sure what else to try to fix this.

Any help appreciated.

Below is the error:

2015/11/24 15:46:52 - org.pentaho.di.trans.steps.cassandrainput.CassandraInputMeta@4e21d50b - ERROR (version 6.0.0.0-353, build 1 from 2015-10-07 13.27.43 by buildguy) : No SELECT in query!
2015/11/24 16:57:39 - C:\******\pdi-ce-6.0.0.0-353\data-integration\transform1.ktr : transform1 - Dispatching started for transformation [C:\*********\pdi-ce-6.0.0.0-353\data-integration\transform1.ktr : transform1]
2015/11/24 16:57:39 - Dev_projects_input.0 - Connecting to Cassandra node at {hostname} : 9042 using keyspace sysetm ...
2015/11/24 16:57:39 - Dev_projects_input.0 - Closing connection ...
2015/11/24 16:57:39 - Dev_projects_input.0 - ERROR (version 6.0.0.0-353, build 1 from 2015-10-07 13.27.43 by buildguy) : Unexpected error
2015/11/24 16:57:39 - Dev_projects_input.0 - ERROR (version 6.0.0.0-353, build 1 from 2015-10-07 13.27.43 by buildguy) : org.pentaho.di.core.exception.KettleException:
2015/11/24 16:57:39 - Dev_projects_input.0 - null
2015/11/24 16:57:39 - Dev_projects_input.0 - at java.lang.Thread.run (null:-1)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.pentaho.di.trans.step.RunThread.run (RunThread.java:62)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.pentaho.di.trans.steps.cassandrainput.CassandraInput.processRow (CassandraInput.java:164)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.pentaho.cassandra.legacy.CassandraConnection.getKeyspace (CassandraConnection.java:303)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.pentaho.cassandra.legacy.LegacyKeyspace.setKeyspace (LegacyKeyspace.java:100)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.pentaho.cassandra.legacy.CassandraConnection.setKeyspace (CassandraConnection.java:185)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.pentaho.cassandra.legacy.CassandraConnection.checkOpen (CassandraConnection.java:162)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.pentaho.cassandra.legacy.CassandraConnection.openConnection (CassandraConnection.java:274)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.apache.cassandra.thrift.Cassandra$Client.login (Cassandra.java:560)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.apache.cassandra.thrift.Cassandra$Client.recv_login (Cassandra.java:573)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.apache.thrift.TServiceClient.receiveBase (TServiceClient.java:69)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin (TBinaryProtocol.java:191)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.apache.thrift.protocol.TBinaryProtocol.readI32 (TBinaryProtocol.java:284)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.apache.thrift.protocol.TBinaryProtocol.readAll (TBinaryProtocol.java:362)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.apache.thrift.transport.TTransport.readAll (TTransport.java:84)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.apache.thrift.transport.TFramedTransport.read (TFramedTransport.java:101)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.apache.thrift.transport.TFramedTransport.readFrame (TFramedTransport.java:129)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.apache.thrift.transport.TTransport.readAll (TTransport.java:84)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.apache.thrift.transport.TIOStreamTransport.read (TIOStreamTransport.java:132)
2015/11/24 16:57:39 - Dev_projects_input.0 -
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.pentaho.di.trans.steps.cassandrainput.CassandraInput.processRow(CassandraInput.java:167)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
2015/11/24 16:57:39 - Dev_projects_input.0 - at java.lang.Thread.run(Unknown Source)
2015/11/24 16:57:39 - Dev_projects_input.0 - Caused by: org.apache.thrift.transport.TTransportException
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.apache.thrift.transport.TFramedTransport.readFrame(TFramedTransport.java:129)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.apache.thrift.transport.TFramedTransport.read(TFramedTransport.java:101)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:362)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:284)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:191)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:69)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.apache.cassandra.thrift.Cassandra$Client.recv_login(Cassandra.java:573)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.apache.cassandra.thrift.Cassandra$Client.login(Cassandra.java:560)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.pentaho.cassandra.legacy.CassandraConnection.openConnection(CassandraConnection.java:274)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.pentaho.cassandra.legacy.CassandraConnection.checkOpen(CassandraConnection.java:162)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.pentaho.cassandra.legacy.CassandraConnection.setKeyspace(CassandraConnection.java:185)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.pentaho.cassandra.legacy.LegacyKeyspace.setKeyspace(LegacyKeyspace.java:100)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.pentaho.cassandra.legacy.CassandraConnection.getKeyspace(CassandraConnection.java:303)
2015/11/24 16:57:39 - Dev_projects_input.0 - at org.pentaho.di.trans.steps.cassandrainput.CassandraInput.processRow(CassandraInput.java:164)
2015/11/24 16:57:39 - Dev_projects_input.0 - ... 2 more

The paramaters that I am using for the Cassandra input are the following:

Step Name - dev_project_input
Cassandra Host {same hostname}
Casssandra Port - 9042
Socket timeout - {blank}
transport max length = {blank}
Username - same as that is used in the cqlsh
Password - same as used in the cqlsh
Keyspace - system (can this be used for Keyspaces like "Test" with the quotes?)
CQL - SELECT * FROM PEERS

Service Hangs every day

$
0
0
Every morning the Pentaho Service is in hung state and the log is full of following errors. Restarting the service fixes the issue for a day and next morning, same issue. Any advise?


  • Failed to generate PDF document
  • PDFGraphics2D Failed to draw the image
  • Software caused connection abort: socket write error
  • java.net.SocketException: Connection reset by peer


Thanks.

release database lock mechanism using pdi-ce-6.0 or below version

$
0
0
Hi Sir,Madam,

Please suggest me which step/process are we have in pdi to release Database locks when data is successfully loaded. here is my scenario.

I am using pdi-ce-6.0, java 1.7, windows, MySQL database. the problem is whenever i am trying to load the data using PDI GUI tool then data is loading successfully but database connections locks are not releasing, i.e still it is locking my database. i hope there is process in PDI to release the locks if it is.

if i run jobs using batch file with GUI tool then no issue, but always to run using batch file is not correct approach for every transformation and jobs.

as per my observation we have step called "check files locked" in the same way are we have some approach for database ? Please help me.

Thank you

Scrollwheel breaks analyzer in IE8 iframe

$
0
0
Hello, I am running analyzer reports in an iframe in IE8. Most of it works as expected, except when a user tries to use the mouse scroll wheel to scroll inside the analyzer report. This causes the report to scroll the entire way to the bottom (or to the top if scrolling up), and continue to try to scroll, and locks up the browser. A couple minutes later, a "Long Running Script" error will show in IE8 which allows you to kill the script. I am using Pentaho 5.3.0.0.213. Has anybody else ran into this issue? I have tried disabling the mousewheel listener in Pentaho's javascript, specifically analyzer-editor.js, but I have not had any luck with this yet. This is a blocker for us right now, we cannot deliver this to our customers when such a common usage completely locks up the browser.

Thank you.

rest client api - handshake_failure

$
0
0
Trying to obtain a token by passing userId/password via the body in a rest call and this is working with Chrome's Advanced REST API. That is, when I put the body parms in a put method against the url I get back the security token (200 OK) when using the Chrome tool.

However, when I add this same functionality via the REST client, v 5.2.0.0, I am getting:

2015/11/25 09:52:31 - REST Client.0 - ERROR (version 5.2.0.0, build 1 from 2014-09-30_19-48-28 by buildguy) : Because of an error, this step can't continue:
2015/11/25 09:52:31 - REST Client.0 - Can not result from [https://10.1.1.118:8443/mgmt/rest/security/login]
2015/11/25 09:52:31 - REST Client.0 - javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
2015/11/25 09:52:31 - REST Client.0 - ERROR (version 5.2.0.0, build 1 from 2014-09-30_19-48-28 by buildguy) : org.pentaho.di.core.exception.KettleException:
2015/11/25 09:52:31 - REST Client.0 - Can not result from [https://10.1.1.118:8443/mgmt/rest/security/login]
2015/11/25 09:52:31 - REST Client.0 - javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

The main elements used in the REST CLIENT are:
  • url (i.e. https://10.1.1.118:8443/mgmt/rest/security/login) - (obtained from previous generate rows step)
  • HTTP method = PUT
  • body field = {"userId":"myuser","password":"mypassword"} - (obtained from previous generate rows step)
  • application type = JSON


Thoughts on what I'm missing?

One thought I had, one difference, may be the application DOES prompt 'the certificate for this site is invalid' - that is, the cert does not use a CA; so perhaps I 'added it' in Chrome, and need to do something similar with ETL?

Optimize a query with multiple crossjoin on were clause

$
0
0
I have a query with crossjoin multiple on clause where and i'm trying to optimize it.
I'm looking for how can i optimize, but I've not found a lot of information.
Can anybody help me to optimize this query?

Code:

WITH
SET [~ROWS] AS   
       
iif("${tipo_proveedor}" = "Todos" OR "${proveedor}" = "Todos"  OR "${grupo_canal}" = "Todos"
        OR "${canal}" = "Todos" OR "${acm}" = "Todos" OR "${anyo}" = "Todos"
        OR "${mes}" = "Todos" OR "${chk_meta}" = "Todos" OR "${chk_reservas}" = "Todos",
    {[Hotel.Hotel code].[Hotel code].[Todos], [Hotel.Hotel code].[Hotel code].Members},
    {[Hotel.Hotel code].[Hotel code].Members})
       
       
SELECT
NON EMPTY {[Measures].[Total Hotels]} ON COLUMNS,
NON EMPTY [~ROWS] ON ROWS
FROM [Acm Control Analysis]
WHERE
CROSSJOIN(
        CROSSJOIN(
                CROSSJOIN(
                        CROSSJOIN(
                                CROSSJOIN(
                                        CROSSJOIN(
                                                CROSSJOIN(
                                                        CROSSJOIN({[Supplier.Supplier type].[${tipo_proveedor}]},
                                                                {[Supplier.Supplier code].[${proveedor}]}
                                                        ),
                                                        {[Channel.Channel group].[${grupo_canal}]}
                                                ),
                                                {[Channel].[${canal}]}
                                        ),
                                        {[Accoun Manager.Account manager].[${acm}]}
                                ),
                                {[Year].[${anyo}]}
                        ),
                        {[Month].[${mes}]}
                ),
                {[Chk_meta.chk_meta].[${chk_meta}]}
        ),
        {[Chk reservas].[${chk_reservas}]}
)

what the hell is pentaho-style.war file?

$
0
0
I think the title is much explicit ;)

Connect sap bw by xmla (jdbc4olap)


How to get File Management API for File Resource working

$
0
0
Hi,

I am having problem to get File Resource API (/api/repo/files) working. However, the Repository Resource API (/api/repos) is working. Fyi, I am using Pentaho 5.4 CE on Linux Ubuntu.

Thank you in advance.

dynamically datasource

$
0
0
is there anyway to dynamically select a specific connection on runtime, be it via a script (Global Scripting?) or via any other way ?

Perspectives are Missing in 5.3 Enterprise Edition pentaho kettle pdi

$
0
0
Hi,


In my spoon perspectives are not visible(visible only data integration).According to my requirement i had to add some plugins and jar files, at that time my spoon corrupted could not open after deletion of added plugins and jar files my spoon is opening but perspectives are missing .I deleted all added jars and plugins but perspectives are still not visible any idea please help me
Thanks in advance

OS:Linux CentOS 6.6
Version: 5.3(EE)


Thanks,

How to customize Operational Permissions in Pentaho 5.0.1

$
0
0
Hi,

I want to customize Operational Permissions in Pentaho 5.0.1.

I want to know where this System Roles defined like publish content , read content.

Is it available in database or in any xml file ?

InputCSV to Textfile output

$
0
0
Dear All,

I am quite new to Pentaho and I need some help as beginner:

I have CSV input data with the follwing fields (columns): colummn1, column 2, column3, column4, column5

In the Text output filed I need to get the following fields: columnn1, column 2, column3, Column 6, Column 7

Basically in the textoutput, I am mapping the fields column1 to column3 from CSV and removing column4, column5.

But my problem is how to add new columns: column 6 & column 7 with NULL values?

any suggestions?

regards,
Rama
Viewing all 16689 articles
Browse latest View live


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