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

Using a run-date value as a parameter in Table Input?

$
0
0
Hi all,

I've been having trouble with using a Select Values (using a modification of the date of the run as the value to be used) and creating a hop into a Table Input (it's to an oracle database); the query has a line of "and business_date = ?" (i.e., uses a parameter), but seems not to be properly retrieving the date value from the Select Values it is connected to. What would I best be looking for? (If necessary, how would I best explain this situation further?)

Thanks!

Date operation Date A - B Days

$
0
0
I am using PDI 6.0 I want to execute my transformation for last 7 days. However I am not able to find a way to do "Date A - B Days" in PDI
Is there a way to get such range of dates? How can I subtract number of days from current date and get date as result?

Dashboard security on components

$
0
0
Hello


Can I make certain parts of a dashboard visible/invisible based on the security roles defined in my BI server?

For example, is it possible to make the 'sales by territory' invisible for the users with the role 'Business analyst' in the Steel Wheels example?

Thanks

Metadata plugin

$
0
0
Is there somebody who has a plugin, which is able to transform input-steps with different metadata to 1 output stream with the same metadata.

I'am thinking about a plugin which has the ability to tell which step has the correct metadata and transform all the input-steps to this metadata.

Otherwise a have a lot of select-steps to transform all the different input steps to the correct metadata.

Line chart : Additional value in tooltip

$
0
0
Hello all,

I have a line chart which display 1 line with percentage month by month. I calcul this value in a sql query.
I woul like to display more informations than the basic displayed by the tooltip, for exemple the value used to calculate percentage :

SQL : Select month, (A*100/B) as C

Tooltip currently result : * Series : C
* Month : month
* Value : c

Tooltip expected result : * Series : C
* Month : month
* Value : c, a

How can i do that ? I did research with the modification of the tooltip format, the mapping of dimensions, the ccc readers, without success...

Thank you for your help.

problem with size of fiels?

$
0
0
hi im using the free version of pentaho data integration, and i cant run the program with big data size, for example 20mb pentaho dont work, but work with 2kb files =?, what can i do pls.. thanks!!

Spoon won't start -- Windows 10

$
0
0
Hello Forum,

Ridiculous problem: I am trying to start a clean Spoon environment on a (should-be) clean Windows 10 installation and for the life of me, I can't! I'm sure it's some stupid detail I'm overlooking but I'm bumping against a wall time and again.

Symptoms: None. I try running spoon.bat, and the output is:
======
Code:

C:\Pentaho\data-integration>Spoon.bat
DEBUG: Using JAVA_HOME
DEBUG: _PENTAHO_JAVA_HOME=C:\ProgramData\Oracle\Java\javapath
DEBUG: _PENTAHO_JAVA=C:\ProgramData\Oracle\Java\javapath\bin\javaw.exe


C:\Pentaho\data-integration>start "Spoon" "C:\ProgramData\Oracle\Java\javapath\bin\javaw.exe"  "-Xms1024m" "-Xmx2048m" "-XX:MaxPermSize=256m" "-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2" "-Djava.library.path=libswt\win32" "-DKETTLE_HOME=" "-DKETTLE_REPOSITORY=" "-DKETTLE_USER=" "-DKETTLE_PASSWORD=" "-DKETTLE_PLUGIN_PACKAGES=" "-DKETTLE_LOG_SIZE_LIMIT=" "-DKETTLE_JNDI_ROOT=" -jar launcher\pentaho-application-launcher-6.0.1.0-386.jar -lib ..\libswt\win32


C:\Pentaho\data-integration>

That's it. Nothing happens afterwards.
======

Environment:

PDI version: 6.0.1.0-386
Installed Java: JRE 1.0.8_73
Java bin Path:
- C:\Program Files (x86)\Java\jre1.8.0_73\bin\javaw.exe
- There's a dir containing symlinks to the java exes at C:\ProgramData\Oracle\Java\javapath
- As the script was looking for the Java exes at C:\ProgramData\Oracle\Java\javapath\bin, I created this "bin" dir and replicated (correctly) the symlinks there too. Didn't help.

I did some other adjustments to the environment variables but as they didn't help I undid them.

Can you help me shed some light on how to make this work? Been running PDI installations since v3.2 but I'm totally buffled here! :confused::confused:

Many thanks in advance!

--
JG.

Cache problem

$
0
0
Alguém está tendo problema com o cache do Pentaho na versão 6.
O cache não está limpando nos dashboards mesmo depois de ter retornado cache limpo com sucesso.
Somente desabilitando o cache eu consigo ver as alterações do banco em tempo real.

Alguém ?

Pentaho Reporting Features

$
0
0
Hi
I need to know, what kind of Reporting, Dashboard, ad-hoc Reporting and Server based tasks features developer can performed during using "Pentaho User Community" free edition tool.
I am new developer in Pentaho environment.

Thanks

Grounded in "Prevew your Dashboard" ...

$
0
0
Hi
Please forgive me maybe dumb question (or I hope it is so :) ) but I'm newbie in BI Pentaho.
I've installed Pentaho 6.0. In BI I've started to create CDE Dasboard, after saving I clicked on option "Prevew your Dashboard". Since then I've stuck in that option, I can't return to edition of my dashboard.
It' strange but I've noticed that other dashboards also after opening are in that state, even new ones (after saving and closing - they open i "Prevew your Dashboard").
I tried restarting BI Pentaho but it didn't help.
Could you please instruct me what should I do to open my dashboard in other option than "Prevew your Dashboard"?

Thanks in advance for any help
Wojtek

Creating a PDF file with the "Pentaho Reporting Output" step...

$
0
0
I have just installed kettle and PRD so I'm running latest versions. I'm trying to run a transformation that produces a PDF file using pan.bat. The report is created, but it takes about two seconds for each record processed. It also generates very strange errors, which do not stop the file from being created, but may be slowing down the transformation. I am just reading records from a SQL DB and writing them out to a PDF. It seems that it process one row at a time (opens the PDF, writes one row, closes the PDF). I imagine it's doing a lot of file IO each time it processes a row. Is there any way to have the transformation open the .pdf file and write all records and close once? I will admit, I don't know if that is what is actually happening, but I don't know what could be taking so long to process each row. Any help will be appreciated.
Thanks,
Brian

Impact Analysis: Get the impacted list of kettle files with step or job entry names

$
0
0
Is there any out of the box feature available in kettle, by which one can get the output containing list of kettle files (both transformations and jobs) along with step name / job entry name containing a particular text pattern / string ?

The requirement is that when an issue is encountered in production and suppose the analysis leads the suspect to a field named "field_1" (it can be a field or table or any text on which a search is to be performed). If a kettle user has to identify the list of transformations / jobs and the step name or job entry name in those impacted transformations or jobs correspondingly which contains that field_1, so as to troubleshoot / spot the issue in a rapid manner. This would be very beneficial in terms of reducing troubleshooting time when there are several transformations / Jobs and when each transformation contains several steps or a job contains several job entries in it.

If such feature is available, please provide the version on which it is available and the link / document containing the steps to achieve the same.


Thanks!!!

User Defined Java Class

$
0
0
Hi all,

Just wondering how in-depth the User Defined Java Class (UDJC) step is. I should say that I'm new to working in Pentaho. I only ask because I am trying to use a Java library to be able to unzip .zip and .7z files with and without password protection within the UDJC step. I have the this working in a separate Java project however I am having some difficulties bringing it into Pentaho as it doesn't seem to like @Override of interface methods. Any information would be great thanks.

NullPointerException upon login to BI Server 5.4

$
0
0
We are experiencing the following exception upon every login to the user console and are wondering if anyone has experienced the same. This is on a CentOS 5.7 based system with BI Server (CE) 5.4 and LDAP security configured:


java.lang.NullPointerException
at org.pentaho.platform.web.http.api.resources.SystemResource.setLocaleOverride(SystemResource.java:178)
at org.pentaho.platform.web.http.api.resources.UserConsoleResource.setLocaleOverride(UserConsoleResource.java:300)
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 com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider
.java:205)
at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)
at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)
at org.pentaho.platform.web.servlet.JAXRSServlet.service(JAXRSServlet.java:108)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.pentaho.platform.web.servlet.JAXRSServlet.service(JAXRSServlet.java:113)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.pentaho.platform.web.http.filters.PentahoWebContextFilter.doFilter(PentahoWebContextFilter.java:185)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.pentaho.platform.web.http.filters.PentahoRequestContextFilter.doFilter(PentahoRequestContextFilter.java:87)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)
at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at org.pentaho.platform.web.http.security.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:191)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)
at org.pentaho.platform.web.http.security.PentahoBasicProcessingFilter.doFilterHttp(PentahoBasicProcessingFilter.java:115)
at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at org.pentaho.platform.web.http.filters.HttpSessionPentahoSessionIntegrationFilter.doFilter(HttpSessionPentahoSessionIntegrationFilter.java:263)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)
at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)
at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

how i run query in CDA with ktr?

$
0
0
i want to create chart from ktr file by CDA in Pentaho bi server
<?xml version="1.0" encoding="UTF-8"?>
<CDADescriptor>
<DataSources>
<Connection id="weather" type="kettle.TransFromFile">
<KtrFile>farzanspoon.ktr</KtrFile>
<variables datarow-name="PHONE" variable-name="TEMP"/>
</Connection>
</DataSources>

<DataAccess access="public"
cache="true"
cacheDuration="3600"
connection="weather"
id="current"
type="kettle">
<Columns/>
<Parameters>

<Parameter default="9121901111"
name="PHONE"
type="String"/>
</Parameters>
<Query>current_conditions</Query>
<Output indexes="0,1"/>
</DataAccess>


</CDADescriptor>
in CDA i send phone number as TEMP(variable defined in ktr) but get this error
"Error Executing Query

this is my ktr and db


Database solution for Big Data

$
0
0
Hello Pentaho,

I have a question, and I'm not sure about it. We made a demo and used mysql for fact and dimension tables. We have about 2000 rows and it's extremely slow. To open dashboard page, it takes 3 seconds and the charts 2-3 seconds, so 5-7 seconds total to open the page. We are talking about Big Data, 2000 rows is a bit.

a) It is mysql becuase we followed what we know about, but it was a bad decision, right? Using relational database is not a good choice for Big Data?
b) What database solution should be for backend when creating datawarehouses (DWH) and datamarts (DM)? I read about columnar based databases. Should I go with columnar based or nosql like MongoDb?
c) Which database systems do you use when it comes to Big Data, DWH, DM?

Thanks.

Using environment variables in a filter step

$
0
0
Hi,

I am using the "filter rows" step: Flow -> filter rows

I would like to use a environment var in the filter rows, a condition like that

field = ${var}

Is that possible??

I have used it, but it doesn't work...., any option???,

Thanks in advance

Ciao a tutti

$
0
0
Ciao a tutti,
sono nuova nel forum e mi sto affacciando adesso (solo da qualche mese ormai) a questo mondo di Pentaho..con qualche difficoltà.

Mi presento, mi chiamo Romina e abito in Italia.:)

Installation of Pentaho on a 32 bit OS

$
0
0
I would like to Install Pentaho trial version (Data Integration + Business Analytics) or at least Data Integration on a latptop with 32 bit Windows 7 Professional Operating System
Can anybody link a resource about this and a link to the exact version which is compatible with these requirements?
Thank you

Java Exception on Using JSON Input

$
0
0
Hi All,

I am pretty new to the product and trying to learn things from the documentations. I was trying out the JSON Input method in the transformation. The method works fine but when I try to write the output of the method to a text file (using text file output), the product throws a java exception. In fact, I cannot draw any hop from the JSON input method as it always throws the below error.

Below are the logs I see after the exception. It says "An expected error happened in Spoon"

java.lang.NullPointerException at org.pentaho.di.ui.spoon.trans.TransGraph.addHop(TransGraph.java:1551)
at org.pentaho.di.ui.spoon.trans.TransGraph$8.widgetSelected(TransGraph.java:1504)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1339)
at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7939)
at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9214)
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:653)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)

I am on version 6.0.1.0. Any help would be much appreciated.

Regards,
Gaurav
Viewing all 16689 articles
Browse latest View live


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