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

Highlight line/bar/slice on legend hover

$
0
0
Hi,

Can someone give a hint on this - I made my legend label hoverable by using 'point' event. Something like:

cd.legendLabel_call = function() {
this
.events('all')
.event('point', function(scene) {
//some code
)};
}




Now I would like this function to highlight the accompanying bar/line/slice. How can I do that? Do I have to re-render the chart in this event and make changes in functions like fillStyle/strokeStyle?

Thanks very much

regards, dejan

Pattern match to identify date format

$
0
0
My source having different date formats as shown below, And im looking for a way to convert into single format. I tried using Fuzzy step but confused which algorithm to be used to identify the source date pattern.


Date Column (String)
"20150210"
"20050822--"
"2014-02-May"
"20051509--"
"02-May-2014"
"2013-May-12"
"12DEC2013"
"15050815"
"May-02-2014"
"12312015"


I know that we can achieve through JS step by writing If conditions for each pattern but is not a good idea and this approach makes transformation dead when dealing with huge records, looking out for efficient way to identify the date pattern and convert into single format.

The formats that are listed above are not limited.

LDAP Replication

$
0
0
Hi,

I have two LDAP servers that are set up as replication (Master and Slave). How do I configure Pentaho to use the Slave LDAP Server in case the Master LDAP Server is not available.

Thank you in advanced.

Regards,
Matthias

How to retrieve calendar informations from MsExchange using web service lookup

$
0
0
Hi,

I would like to retrieve calendar appointment from an Exchange server using "web service lookup" but I do not know how to proceed.
Each time I'm trying to use web service lookup, I have got an error (could not load WSDL file).
I'm using url "https://<my server>/EWS/Exchange.asmx" and an admin authentication.

Any support will be helpfull.

Regards,
Remi

Reset parameter to it's default val. in bar chart when clicked in empty space

$
0
0
Hi all,

My dashboard has four charts which are listening to a simple parameter that is changing based on user click action in CCC bar chart. In click action, I have the following function:

function f(scene) {
Dashboards.fireChange('selectedCompany', scene.atoms.category.value);
}

and this is working fine.

However, I also have "selectable" set to TRUE to highlight the bar that's clicked. Now the issue is when "clearSelectionMode" is set to EmptySpaceClick : the selection get's cleared but the parameter still retains the old value. I tried writing script in "selectionChangedAction" but this script triggers every time a change is made by user (as expected).

Are there any alternatives to set parameter to a constant value or "NULL" when the user clears the selection by clicking in empty space?

Appreciate any help.

Thanks,
Shreyas

Load Data in Parallel in Ora Bulk Loader step !! For what it was needed ?

$
0
0
Hi,

Load Data in Parallel in Ora Bulk Loader step,

Please tell me what is the need of this option ?

Is it to be checked when there are multiple copies of the step ? or Multiple input streams to this step ??

Carte Web Service - how to pass in as HTTPS

$
0
0
I have created a Carte web services based on the information from http://diethardsteiner.blogspot.com/...ho-kettle.html. I am passing in credentials from a front-end form which then gets pushed in as POST parameters. I've been told that I need to pass these values as encrypted, but I can't seem to make the https:// submit work (e.g., https://cluster:cluster@mysite:8181/...formRunJob.ktr returns invalid).

Is there a way to pass in values to the carte web service using https? Note that I am using Ubuntu and the front end form DOES work with HTTPS. It's just carte I am trying to setup.

If this can't be done, is there a way to set the Carte logging level to None? I know we have something similar for pan and kitchen executables with the -level parameter but don't see it available for Carte.

Retrieving Kitchen.bat return codes in Powershell

$
0
0
Hello,

Has anyone worked out a technique for capturing the error codes from Kitchen.bat when it has been launched via powershell.exe. Our tests keep returning a 0. Launching other batch test programs that explicitly return error codes works as expected

Thanks in advance

Any potential issues with opening/ closing a SQL connection about 30 times a minute?

$
0
0
Hi there--

I didn't think this would be an issue before, but our database team suspects there may be an issue with using Spoon on the database based on the frequency of connections to a MS SQL Server database being opened and closed.

My process in particular opens about 30 connections tops in the span of a minute --- each query takes a matter of seconds ... and then based on what I know of the behavior of Spoon, is closed immediately when it's resolved.


My 'initial data load' process may loop this transformation via a job (thus it's not in parallel, but one after the next) --- about 1,000 times.


Is there any potential memory risk to the database in doing this, or any other potential risk just by the sheer number of connections being opened and closed? I figured a sufficient business database would be accustomed to, and designed for, thousands of queries a minute, let alone 30 connections a minute (with 10 second query run time).


Are there any issues I should look out for? Is there anything in particular I should monitor? (number of concurrent connections, database memory usage?)


I haven't seen any direct evidence that Spoon has caused a problem with our database (even when it's not running at all) --- but it's still possible part of my process is causing an issue, maybe (or maybe not). Any thoughts? Thanks!

help for Solution

$
0
0
Hi,

Background:
we have a bat file to generate the ETL source file which pass through servicemix activemq, and the bat file has one parameter file.

bat file(parameter file )-->sevicemix-->kettle

Target:
we want to start the bat and config the parameter file in the web page.

does the pentaho has the component to do it?

Increased CDE/Kettle logging?

$
0
0
Hi! I'm using CDE with a Kettle transformation as datasource, and I suspect that there could be something wrong with a parameter that is being sent to the transformation. Unfortunately the log (pentaho.log) and the Tomcat prompt aren't helping me much, because all they tell me is which steps have been initiated. Is there a way to increase logging? What I'm looking for here is to find out the value of the variable as it gets into the transformation through a Get Variables step.

Pentaho BI 4.8 with windows AD

$
0
0
Hi everybody,

I am trying to set security for my pentaho BI-ce server 4.8 with my domain controller (Windows Active Directory).

I saw some of the post in BI Platform forum but they're trying with Pentaho version 5. I tried to follow them but it have some file structure difference. (e.g. I can't find repository.spring.properties & security.properties on my build.) I would like to know how many file we should configure to enable this setting.

Can anyone share some guideline / reference / procedures for pentaho 4.8 for me ?

Thanks in advance

connection timeout

$
0
0
Hi

strange issue with release 5.4.0.1.130 and mysql-connector-java-5.1.36-bin.jar
Deployed bi-ce server, placed driver into path /tomcat/lib
Tested user and privileges connection to database from pentaho server machine via console (connection and query OK) but when publishing a report we get :

Code:

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
    at sun.reflect.GeneratedConstructorAccessor582.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    at com.mysql.jdbc.Util.handleNewInstance(Util.java:400)
    at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1038)
    at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:339)
    at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2247)
    at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2280)
    at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2079)
    at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)
    at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:44)
    at sun.reflect.GeneratedConstructorAccessor579.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    at com.mysql.jdbc.Util.handleNewInstance(Util.java:400)
    at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:399)
    at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:325)
    at org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.DriverConnectionProvider.createConnection(DriverConnectionProvider.java:140)
    at org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SimpleSQLReportDataFactory.getConnection(SimpleSQLReportDataFactory.java:147)
    at org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SimpleSQLReportDataFactory.queryData(SimpleSQLReportDataFactory.java:198)
    ... 92 more
Caused by: java.net.ConnectException: Connection timed out
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    at java.net.Socket.connect(Socket.java:579)
    at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:214)
    at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:298)
    ... 106 more


Report is tested and working ok from Pentaho Report Designer.
Updated JDBC driver, checked mysql user permissions, published a blank report with no connection and worked ok...... no success so far with connection to database


any help would be much appreciated

[UPDATE]

solved using "localhost" as server when defining mysql connection

Show parameter value selected by user

$
0
0
Hi

I got a simple drop-down list as a parameter for the user to select. I want that selected parameter to be shown when report is rendered. Something like "you have selected {parameter_value}"


Thanks

JSON input path problem

$
0
0
have anyone worked with json paths?
for paths
code $.[response].[creatives].[code]
code2 $.[response].[creatives].[code2]




I got error
The data structure is not the same inside the resource! We found 100 values for json path [$.[response].[creatives].[code2]], which is different that the number returned for path [$.[response].[creatives].[code]] (112 values). We MUST have the same number of values for all paths.




Then I figure out that he is reading subtypes of "code" you can see it here
{
"name": "AVEU_AS13_UK_FBX",
"brand_id": 584,
"media_url": "http://cdn.adnxs.com/p/09/9e/d0/ac/099ed0ac08914c85ce5398700181d767.jpg",
"id": 8643914,
"code": null,
"code2": null,
"member_id": 2028,
"state": "inactive",
"click_track_result": "passed",
"advertiser_id": 187067,
"publisher_id": null,
"format": "image",
"width": 99,
"height": 72,
"click_url": "http://ad-emea.doubleclick.net/clk;275300922;102143084;o?http://www.avis.co.uk/autumn-sale-2013?cid=GBDPWL000000-10022",
"flash_click_variable": null,
"no_iframes": false,
"content": null,
"original_content": null,
"file_name": "Avis logo - FBX.jpg",
"track_clicks": true,
"audit_status": "no_audit",
"macros": null,
"profile_id": 5552574,
"audit_feedback": null,
"is_prohibited": false,
"created_on": "2013-09-12 16:20:31",
"flash_backup_url": null,
"last_modified": "2013-11-21 16:08:05",
"is_control": false,
"allow_audit": false,
"is_expired": true,
"creative_upload_status": "completed",
"backup_upload_status": null,
"use_dynamic_click_url": false,
"media_subtypes": [
"popunder",
"popup",
"banner"
],
"size_in_bytes": 0,
"google_audit_status": "pending",
"google_audit_feedback": "This creative is pending review by AppNexus and is currently ineligible to serve on AdX while it is waiting.",
"msft_audit_status": "no_audit",
"msft_audit_feedback": null,
"msft_external_audit_status": "no_audit",
"msft_external_audit_feedback": null,
"is_self_audited": false,
"no_adservers": false,
"text_title": null,
"text_description": null,
"text_display_url": null,
"click_action": "click-to-web",
"click_target": "http://ad-emea.doubleclick.net/clk;275300922;102143084;o?http://www.avis.co.uk/autumn-sale-2013?cid=GBDPWL000000-10022",
"ssl_status": "disabled",
"allow_ssl_audit": false,
"media_url_secure": "https://a248.e.akamai.net/appnexus.download.akamai.com/89298/adnexus-prod/p/09/9e/d0/ac/099ed0ac08914c85ce5398700181d767.jpg",
"content_secure": null,
"original_content_secure": null,
"flash_backup_url_secure": "",
"is_hosted": false,
"content_source": "standard",
"landing_page_url": null,
"thirdparty_creative_id": "6008572830461",
"thirdparty_campaign_id": "6008572145861",
"facebook_audit_status": "approved",
"facebook_audit_feedback": "",
"custom_request_template": null,
"language": {
"id": 0,
"name": "Unknown"
},
"pop_values": null,
"brand": {
"id": 584,
"name": "Avis",
"category_id": 4
},
"template": {
"id": 329,
"name": "Facebook Basic Sidebar Ad",
"media_subtype_id": 50,
"format_id": 4
},
"adx_audit": {
"audit_status": "pending_pre_audit",
"audit_feedback": "This creative is pending review by AppNexus and is currently ineligible to serve on AdX while it is waiting."
},
"thirdparty_page": null,
"custom_macros": [
{
"code": "BODY",
"value": "Great car hire offers with the Avis sale. 20% off at 1000's of worldwide locations."
},
{
"code": "TITLE",
"value": "Avis Autumn Sale"
}
],
"segments": null,
"line_items": null,
"competitive_brands": null,
"competitive_categories": null,
"pixels": [
{
"id": 528521,
"pixel_template_id": null,
"param_1": null,
"param_2": null,
"param_3": null,
"param_4": null,
"param_5": null,
"format": "raw-url",
"content": null,
"url": null,
"secure_url": "https://ad-emea.doubleclick.net/ad/N5087.124608.GOOGLEUK/B7835315.13;sz=1x1"
}
],
"mobile": null,
"video_attribute": null,
"thirdparty_pixels": null,
"native": null,
"click_trackers": null,
"impression_trackers": null,
"sla": null,
"sla_eta": null,
"currency": "USD"
},






so he is reading "code": null, and also "custom_macros": [
{
"code": "BODY",




does anyone now how to not read this subtype "code":"BODY"?

Weird ToggleSelected behaviour

$
0
0
Hi,

I have a pie chart with legend in ToggleSelected mode. If there are many legend items, they wrap into multiple rows/paragraphs. In this case, clicking on a legend item doesn't turn off all the other items but only the items in the sam row/paragraph. I am attaching a screenshot but live example is also available.

Is it a bug and should I report it?

regards, dejan
Attached Images

Android Mobile Application to access pentaho Dashboards & reports using iframe

$
0
0
Developing Android Mobile Application to access Pentaho generated Dashboards & reports.

bnpp_-_visuals_-_mobile_banking_iphone_5_tilt-framed_-_draft_v1.2.3-1_800x600_1x.jpgipad-homepage-portrait.pngbsc_mobile_screen1-1024x787.jpg

I want to create dashboard like attached screenshots.

Is it possible in Pentaho CDE to create these type of dashboards ??

Note: Dashboard should be Data driven rather than Graphical representation.

If So , please can anyone provide me the reference of How to do it??

Centos issue starting report designer

$
0
0
I am having issues in starting report designer, same files are on my windows machine and it starts perfectly, but on executing shell cmd, ./report-designer.sh it gives me below log, i am running pentaho biserver successfully in the its parent directory.

Code:

/home/ki51/public_html/pentaho/report-designer
/home/ki51/public_html/pentaho/report-designer
DEBUG: Using PENTAHO_JAVA_HOME
DEBUG: _PENTAHO_JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.85-2.6.1.2.el7_1.x86_64
DEBUG: _PENTAHO_JAVA=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.85-2.6.1.2.el7_1.x86_64/bin/java
2015-10-13 13:14:13,828 [      1]  ERROR - org.pentaho.reporting.designer.core.util.exceptions.UncaughtExceptionsModel - Unexpected Error encountered:
java.lang.reflect.InvocationTargetException
        at java.awt.EventQueue.invokeAndWait(EventQueue.java:1288)
        at java.awt.EventQueue.invokeAndWait(EventQueue.java:1263)
        at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1347)
        at org.pentaho.reporting.designer.core.ReportDesigner.main(ReportDesigner.java:284)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
Caused by: java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
        at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207)
        at java.awt.Window.<init>(Window.java:535)
        at java.awt.Frame.<init>(Frame.java:420)
        at java.awt.Frame.<init>(Frame.java:385)
        at javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1756)
        at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1831)
        at javax.swing.JWindow.<init>(JWindow.java:185)
        at javax.swing.JWindow.<init>(JWindow.java:137)
        at org.pentaho.reporting.designer.core.splash.SplashScreen.<init>(SplashScreen.java:77)
        at org.pentaho.reporting.designer.core.ReportDesigner$InitializeSplashScreenTask.run(ReportDesigner.java:114)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:302)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745)
        at java.awt.EventQueue.access$300(EventQueue.java:103)
        at java.awt.EventQueue$3.run(EventQueue.java:706)
        at java.awt.EventQueue$3.run(EventQueue.java:704)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:715)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
2015-10-13 13:14:13,833 [      6]  ERROR - org.pentaho.reporting.designer.core.util.exceptions.UncaughtExceptionsModel - Unexpected Error encountered:
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
Caused by: java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
        at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207)
        at java.awt.Window.<init>(Window.java:535)
        at java.awt.Frame.<init>(Frame.java:420)
        at java.awt.Frame.<init>(Frame.java:385)
        at javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1756)
        at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1831)
        at javax.swing.JDialog.<init>(JDialog.java:270)
        at javax.swing.JDialog.<init>(JDialog.java:204)
        at javax.swing.JDialog.<init>(JDialog.java:152)
        at org.pentaho.reporting.designer.core.status.ExceptionDialog.<init>(ExceptionDialog.java:148)
        at org.pentaho.reporting.designer.core.ReportDesigner.main(ReportDesigner.java:341)

Melissa License Configuration

$
0
0
It would be great if some one could please let me know Is there a way to set the license key in a configuration file like xml or properties file rather than doing it the advanced configuration of Melissa Plugin?

Cheers,
Harris

Archive Logs full - APPEND/NO Logging ?

$
0
0
we have transformation that loads 30 million rows to Oracle table (11g) using transformation table output batch insert -
we have noticed frequent database Archive logs filled up . how we can take care of this in our transformation ?
we are trying to avoid use of ORACLE Bulk Loader -

does anyone have input how I can use APPEND / (NO LOGING) option in kettle ?
Viewing all 16689 articles
Browse latest View live


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