Quantcast
Channel: Pentaho Community Forums - BI Platform
Viewing all 2893 articles
Browse latest View live

Executing Transformation From Another Repositroy

$
0
0
Hi Folks,

I am a 2 weeks old baby on this Technology. I am trying to execute transformation, which is available in another Repository.Since I am working on Exisiting repository in the organization. I believe, whatever the configuration ( Carte) needs to be setup in my working repository and server that has been done. ( I am not sure how do I validate/check those are working fine. If any validations needs to be done, please share those commands or any process needs to be followed.

Problem: When I execute my MASTER Job, which internally execute the Sub-transformation using the HTTP Step with URL: <IP:PORT>/kettle/executeTrans and we are passing the Input variables as Repository Name, Fully qualified location of the Sub-transformation and the level = Minimal with that it throwing below error

<result>ERROR</result>
<message>Unexpected error executing the transformation&#x3a; &#xa;org.pentaho.di.core.exception.KettleXMLException&#x3a; &#xa;Unable to read file
&#x5b;file&#x3a;&#x2f;&#x2f;&#x2f;srv&#x2f;pentaho&#x2f;pdi-ce&#x2f;data-integration&#x2f;C&#x3a;&#x2f;srv&#x2f;pentaho&#x2f;ti-etl&#x2f;
pentaho-repository&#x2f;Sub_Trans_Job.ktr&#x5d;&#xa;Could not read from &#x22;file&#x3a;&#x2f;&#x2f;&#x2f;srv&#x2f;pentaho&#x2f;pdi-ce&#x2f;
data-integration&#x2f;C&#x3a;&#x2f;srv&#x2f;pentaho&#x2f;ti-etl&#x2f;pentaho-repository&#x2f;Sub_Trans_Job.ktr&#x22;
because it is a not a file.&#xa;&#xa; at org.pentaho.di.core.xml.XMLHandler.loadXMLFile&#x28;XMLHandler.java&#x3a;559&#x29;&#xa;
at org.pentaho.di.core.xml.XMLHandler.loadXMLFile&#x28;XMLHandler.java&#x3a;538&#x29;&#xa;
at org.pentaho.di.trans.TransMeta.&#x3c;init&#x3e;&#x28;TransMeta.java&#x3a;2660&#x29;&#xa;
at org.pentaho.di.trans.TransMeta.&#x3c;init&#x3e;&#x28;TransMeta.java&#x3a;2628&#x29;&#xa;
at org.pentaho.di.trans.TransMeta.&#x3c;init&#x3e;&#x28;TransMeta.java&#x3a;2605&#x29;&#xa;
at org.pentaho.di.trans.TransMeta.&#x3c;init&#x3e;&#x28;TransMeta.java&#x3a;2585&#x29;&#xa;
at org.pentaho.di.trans.TransMeta.&#x3c;init&#x3e;&#x28;TransMeta.java&#x3a;2550&#x29;&#xa;
at org.pentaho.di.trans.TransMeta.&#x3c;init&#x3e;&#x28;TransMeta.java&#x3a;2513&#x29;&#xa;
at org.pentaho.di.http://www.ExecuteTransServlet.loadT...188&#x29;&#xa;
at org.pentaho.di.http://www.ExecuteTransServlet.doGet...104&#x29;&#xa;
at javax.servlet.http.HttpServlet.service&#x28;HttpServlet.java&#x3a;707&#x29;&#xa;
at javax.servlet.http.HttpServlet.service&#x28;HttpServlet.java&#x3a;820&#x29;&#xa;
at org.mortbay.jetty.servlet.ServletHolder.handle&#x28;ServletHolder.java&#x3a;511&#x29;&#xa;
at org.mortbay.jetty.servlet.ServletHandler.handle&#x28;ServletHandler.java&#x3a;390&#x29;&#xa;
at org.mortbay.jetty.servlet.SessionHandler.handle&#x28;SessionHandler.java&#x3a;182&#x29;&#xa;
at org.mortbay.jetty.handler.ContextHandler.handle&#x28;ContextHandler.java&#x3a;765&#x29;&#xa;
at org.mortbay.jetty.handler.ContextHandlerCollection.handle&#x28;ContextHandlerCollection.java&#x3a;230&#x29;&#xa;
at org.mortbay.jetty.handler.HandlerCollection.handle&#x28;HandlerCollection.java&#x3a;114&#x29;&#xa;
at org.mortbay.jetty.handler.HandlerWrapper.handle&#x28;HandlerWrapper.java&#x3a;152&#x29;&#xa;
at org.mortbay.jetty.Server.handle&#x28;Server.java&#x3a;326&#x29;&#xa;
at org.mortbay.jetty.HttpConnection.handleRequest&#x28;HttpConnection.java&#x3a;536&#x29;&#xa;
at org.mortbay.jetty.HttpConnection&#x24;RequestHandler.headerComplete&#x28;HttpConnection.java&#x3a;915&#x29;&#xa;
at org.mortbay.jetty.HttpParser.parseNext&#x28;HttpParser.java&#x3a;539&#x29;&#xa;
at org.mortbay.jetty.HttpParser.parseAvailable&#x28;HttpParser.java&#x3a;212&#x29;&#xa;
at org.mortbay.jetty.HttpConnection.handle&#x28;HttpConnection.java&#x3a;405&#x29;&#xa;
at org.mortbay.jetty.bio.SocketConnector&#x24;Connection.run&#x28;SocketConnector.java&#x3a;228&#x29;&#xa;
at org.mortbay.thread.QueuedThreadPool&#x24;PoolThread.run&#x28;QueuedThreadPool.java&#x3a;582&#x29;&#xa;Caused by&#x3a; org.apache.commons.vfs.FileNotFoundException&#x3a; Could not read from &#x22;file&#x3a;&#x2f;&#x2f;&#x2f;srv&#x2f;pentaho&#x2f;pdi-ce&#x2f;data-integration&#x2f;C&#x3a;&#x2f;srv&#x2f;pentaho&#x2f;ti-etl&#x2f;pentaho-repository&#x2f;Sub_Trans_Job.ktr&#x22; because it is a not a file.&#xa; at org.apache.commons.vfs.provider.AbstractFileObject.getInputStream&#x28;Unknown Source&#x29;&#xa; at org.apache.commons.vfs.provider.DefaultFileContent.getInputStream&#x28;Unknown Source&#x29;&#xa; at org.pentaho.di.core.vfs.KettleVFS.getInputStream&#x28;KettleVFS.java&#x3a;247&#x29;&#xa;
at org.pentaho.di.core.xml.XMLHandler.loadXMLFile&#x28;XMLHandler.java&#x3a;557&#x29;&#xa; ... 26 more&#xa;Caused by&#x3a; java.io.FileNotFoundException&#x3a; &#x2f;srv&#x2f;pentaho&#x2f;pdi-ce&#x2f;data-integration&#x2f;C&#x3a;&#x2f;srv&#x2f;pentaho&#x2f;ti-etl&#x2f;pentaho-repository&#x2f;Sub_Trans_Job.ktr &#x28;No such file or directory&#x29;&#xa; at java.io.FileInputStream.open&#x28;Native Method&#x29;&#xa; at java.io.FileInputStream.&#x3c;init&#x3e;&#x28;FileInputStream.java&#x3a;146&#x29;&#xa; at org.apache.commons.vfs.provider.local.LocalFile.doGetInputStream&#x28;Unknown Source&#x29;&#xa; ... 30 more&#xa;</message>


<id/>
</webresult>


Appreciate your time and solution in resolving this issue

Installation instructions for Pentaho Server 8.0

$
0
0
Are there any up to date instructions for installing the server from pentaho-server-ce-8.0.0.0-28.zip. All the instructions I've found seem to be for the enterprise edition and include features I don't seem to have, like the operations mart.

Dynamically add Date time in subject and attachment name in pentaho report scheduling

$
0
0
Dear Team,


While scheduling pentaho reports from pentaho user console, Would like to set date time dynamically in subject and attachment names, also would like to set parameterization in receiptants.

kindly help me on this

Pentaho user Console Mail Server setting from Command Prompt

$
0
0
Dear Team,

Is there any way to schedule the Pentaho reports from command prompt or setting the mail server which is presented in pentaho user console from command prompt?

Also, Is there any way to take the Pentaho BA Application report files and folders in the Linux box, I need to view my designed reports in Linux box?

Kindly advise.

Setting global variable for 2 master main reports in pentaho report designer

$
0
0
Dear Team,

Kindly help.

I need to set one global parameter for 2 main master reports. these 2 reports are linking each other means separate reports. rather creating 2 parameters for each reports , set one parameter and set it to 2 reports.

Kindly suggest any ideas about.

Thanks
M. Vijay Antony

Configuring Pentaho BA Application in Linux Box

$
0
0
Dear Team,

Kindly help.

How to configure the Pentaho BA Application in Linux, Like i need to view my Home and Public report files and folders from linux.

Kindly advise.

Penatho CE 8.0 nginx config - Login and Logout redirect?

$
0
0
Anyone configured Pentaho 8 behind nginx?

Connecting via a load balancer https 443 (which looks after the certs) through on port 3000 to the default Pentaho 8080.

The Virtual host is set up to listen to 3000

location /pentaho/ {
proxy_pass http://<IP address>:8080/pentaho/;
proxy_http_version 1.1;
proxy_intercept_errors on;
}

So I can hit https://<external_IP>:443/penatho/
and I get a redirect to http://<internal_IP>>:3000/Login
(I can see this internally on the rproxy server as a wget on localhost:3000/pentaho get a 302 to :3000/pentaho/Login)

I can work around this....
Going direct to https://<external_IP>:443/penatho/Login
allows me to login ( the proxy_hhtp_version and proxy_interscept_errors seem to fix that)

But then I'm not able to Logout (which is another redriect)

Any ideas?

Deleted public folder

$
0
0
Hi,

I have been playing around a bit with BI 8 and trying out some things.
You start out with a Home and Public folder.
Now I deleted the Public folder.
But there does not seem to be a way to recreate it?
As far as I can tell you can only create folder in Home and Public but not in the root.
So once you delete Public, there is no way to get it back?

Pentaho user console scheduler multiple lines for one job

$
0
0
Hi!

There is strange behavior of pentaho quartz scheduler.
I made simple test job named "test_job_3_min" that work 3 minutes long, upload it on server through user console and set schedule that launch it every minute.
Inside job I made standard logging every 5 sec to DB table and check if there is a copy of "test_job_3_min" launched.
So there is only one copy of this job working at every moment of a time.
I can see that one in three launches succeeded.
Name:  pentaho_job_launches.jpg
Views: 37
Size:  69.1 KB

This is all ok and working fine, but in PUC Schedules section I can see strange lines for my job with status "Finished" along with main every minute schedule.
Some time there is one line with empty Last Run and Next Run. Some time there is one more line with Last Run specified.
Schedule for that lines is also strange - no duration specified "Every at <time>".

Name:  pentaho_processes.jpg
Views: 31
Size:  4.5 KB

When I set schedule to launch job every 10 sec amount of these lines become grow and some of them have status Normal.

Name:  pentaho_job_launches_10_sec.jpg
Views: 32
Size:  10.2 KB

Can somebody explain what's this can be?
If this is normal, can I disable PUC from showing these processes?

Pentaho Server version 7.1.0.0-12, build 1 from 2017-05-16 17.18.02 by buildguy

Job attached in archive: test_job_3_min.zip

UPD: left job working for the night and got 250+ lines with "test_job_3_min" in my schedule now.
This is bad, because we plan to have several such jobs scheduled to launch every 15-30 minutes.
It's will be bloody mess there... I think it's a bug and for one job must be only one line.
What we can do? Upgrade to Pentaho 8?

UPD2: lines are disappeared after Pentaho Server restart, but this is not a case
Attached Images
   
Attached Files

Most Common & Supported No-Cost Linux Platform to run a suite of Pentaho CE Tools

$
0
0
Hello, the title is pretty much the TLDR of my question.

I'm looking to match a complete system that rivals MS Win Server/MS SQL Server w/ SSIS/SSAS/SSRS/PowerBI but with Pentaho, Plug-Ins, PostgreSQL/MongoDB however cost free on software. I asked this questions recently and has been answered in detail.

What is not most common and best supported Linux distro (assuming Desktop and not EE due to some cost) is that used for the Pentaho suite? Has anyone had good luck with OpenSUSE-Leap?

And how scalable is it? If I get all this onto a box, and build out ETL that runs a decent amount of data in, and a fair sized DB, and a number of Dashboards being hosted, can it perform reasonably on the hosted dashboard side for an end user to slice and dice, drill and click about and have interactive changes within seconds, adhering to general industry response times?

Thank you,

Data_Geek

Pie chart clickable

$
0
0
Hi,
Pie chart clickable not working in pentaho cde 8.0 using requirejs.

Upload and Download permission to differnt Users in Pentaho CE 6.0

$
0
0
I want to give upload and download rights to other user in Public folder of Pentaho User console. Right now only admin can publish the reports.The upload option comes in home directory where the folder of user is created. I Want same thing but in public folder.Is there any way where we can give upload option to the users defined.

pentaho bi server v7 password policy

Pentaho 7.1 AuditLog

$
0
0
I'm using Pentaho 7.1 and I have some questions

1) As I know, AuditLog file always being appended. Can I split Pentaho 7.1 AuditLog by max filesize in pentaho.xml?
2) (audit) log file better or log SQL better? If I use SQL log and it (Pentaho) insert too much data, introduce significant memory overhead, what can i do? how can I replace (in case of turn off)

Thank in advantage

Import users and roles from the Pentaho Enterprise Edition

$
0
0
Hi, I currently use the Pentaho Enterprise Edition server (versione 7). If I will install the Pentaho Community server, is there a way to import users and profiles from the Pentaho Enterprise Edition server?


These 3 dbs exist: Jackrabbit, Hibernate and quartz, but which of the three contains the information on the profiles?I await your help

Best Regards

Switch Language again and again

$
0
0
Hello.

When I switch the language, the next login the language is set back.
Tested on Pentaho 7.1 Business Edition and Penatho 8.0 Community Edition.

Seams to be another great feature, or does it work for you?

Using Samba as Active Directory & configuring it with pentaho user console 7.1

$
0
0
I am using Samba as Active Directory & trying to configure it with pentaho user console 7.1 same as ldap.
But its giving a error "Strong Authentication Required: Bind Simple: Transport encryption required"




Can anyone help me out with this error?

Pentaho caches

$
0
0
Hello,

we have a problem, supposedly with the Mondrian cache of Pentaho Server or with the CDE cache, we are not sure which of them.

Every night, we execute a series of kettle ETLs that load data in a MySQL database, through which we have generated cubes, which have been published in the Pentaho Server. We have some dashboards, with bar charts, etc, that run MDX queries through the previous cubes.

Well, the next day, when we enter Pentaho Server to view the dashboards, we see that the graphics do not correspond to the data of the MySQL database. To make the data correspond, we must always go to the "Tools -> Refresh" menu and select all the refresh options in this menu, System Settings, Reporting Data, Global Variables, Mondrian Schema Cache, Reporting Data Cache and CDA Cache. Sometimes, we even have to do it two or three times.

Once this is done, the data from the database and the dashboards already agree.

How could we solve this problem? Is there any way to refresh all these data from the ETL processes of kettle?. What other ways would I have to solve it?

Best regards.

CSV Export method From PentahoCE BI 6 to Pentaho CE BI 8

$
0
0
Good afternoon,

Last week we migrated from Pentaho CE 6 to Pentaho CE 8, and we migrated our app.
Everything is working like a charm except for exporting datatables with large data.

The issue is that in Pentaho 8 excel export takes from 5 to 15 min to export 15k to 60k lines, and as alternative CSV export takes seconds to do the same but Excel doesnt understand the default encoding of these files.

In Pentaho CE 6.1 exporting the same data to csv was being encoded correctly and read by excel.

In Pentaho 8 these are the following tests i've performed:
  • Export Component, with the behavior explanied previously.
  • Export Popup Component, with the behavior explanied previously.



  • Button Component with the ExportData function with the same results.


Code:

function exportData(){
    render_relatorio.queryState.exportData('csv', null,  {filename:'custom_name.csv'});
}


  • Modify "..\pentaho-server\pentaho-solutions\system\pentaho-cdf\js\queries\CdaQuery.js"


I've tried to modify the ajax call with the desired contentType, but for some reason all changes in this javascript dont reflect on the "..\pentaho-server\pentaho-solutions\system\pentaho-cdf\js\cdf-bootstrap-script-includes.js"

Code:

$.ajax({
        type: 'POST',
        dataType: 'text',
        async: true,
        data: queryDefinition,
      //contentType: "charset=ISO-8859-15",
      contentType: "charset=windows-1252"
        url: this.getOption('url'),
        xhrFields: {
          withCredentials: true
        }
      }).done(function(uuid) {
        var _exportIframe = $('<iframe style="display:none">');
        _exportIframe.detach();
        _exportIframe[0].src = CdaQueryExt.getUnwrapQuery({"path": queryDefinition.path, "uuid": uuid});
        _exportIframe.appendTo($('body'));
      }).fail(function(jqXHR, textStatus, errorThrown) {
        Logger.log("Request failed: " + jqXHR.responseText + " :: " + textStatus + " ::: " + errorThrown);
      });
    },


  • I've also tested this on Pentaho CE 7, with the same behavior as in 8 so it kinda feels like a intended behavior.


My question is there anyway to correct this behavior so that my client can open the csv automaticly in Excel?

I know it is possible to "import" the csv file to Excel and select the UTF-8 encoding and the file will load correctly, but my client is considering this as a non optimal solution for them.

Kinda regards.

Pentaho-server 7.1 CE Scheduler logs

$
0
0
I have strange problem with pentaho-server schedules:






I have several tens of schedules running daily generating different files and sending them via mail. However, some of them do not run properly, or better say, do not run at all every now and then. It is not often however, from all schedules I have, there is like one in month or 2 months that does not run, but its starting to be annoying with increades numbers of schedules.

For example, there is schedule executing *.prpt report and sending its resut via mail. It is set to run daily, running since 1. January 2018. But no mail was received on 2.April.2018 and 9.April.2018. However all other days before and after those 2 exceptions, since 1. January 2018, schedule was executed and mail delivered.

I was trying to get some clues why is that, however I am not able to find any logs regarding executing schedules in pentaho-server. Checked all log files in pentaho-server/tomcat/logs but wasn't able to find any clue. Also was looking for location of other logs, but couldn't find anything.

Can someone please give me hint where to look for such logs. Or should I first enable them, or configure somewhere?

Thanks in advance
Viewing all 2893 articles
Browse latest View live


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