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

Is there a way to auto position created steps using pentaho api?

$
0
0
Is there a way to auto position created steps using pentaho api?
i.e: instead of doing step.setLocation(350, 100) is there a way to call something which will position all the steps in the "most optimal way"?

Parameter Doesnt Works [ Urgent ]

$
0
0
Hi Folks,

i have a parameter in my PRD that doesnt now working.

This parameter has a Dropdown list that returns this string '2013/05' that means 'YYYY/MM'.

after get this value selected in the dropdown list i set up it in my query with ${p_year_month}.

my parameter has datatype STRING, ok ?

but doesnt not work.




someone could help me ?

select variables in sql query??

$
0
0
hi all,
I use "select country from table",I get countries "US,UK",
then I want to use "select * from table1 where country = ?",
? as countries ,
what can I do .

user defined java class passing all the variables

$
0
0
Hi,
How do I pass all the variables with scope as "root" be made available to the transformation /job
executed using user defined java class?
We can do setVariable() to get for each variable. But do we have an approach/method by which by default all the variables will be passed
to the transformation or job executed by the java class?
it seems that variables set in previous steps of the same job run is not available to the transformation executed by the java class.
Regards,
Pramod.

How to sql query result set to Parameter in the CDE?

$
0
0
hi all,
I have a "Text Component",
I want to use it to display the total number of queries.
like "select count(*) as total from table" ,how to show the "total"?

Dynamic connection (PRD-3657 and PRD-2854)

$
0
0
Hi,

At the moment I have two identical Pentaho instances to provide identical reports. The only difference is the connection source. I have labeled my JNDI connection CONN on both instances and configured it differently on each instance respective PAC. Unfortunately this implementation can't scale really well since one customer will mean one pentaho instance.

The idea here would be to have a single pentaho instance and somehow pass the JNDI/JDBC informations as parameters, this - for my needs - would scale much better.

Based on Taqua's last comment on this ticket - PRD-2854 - passing JNDI as a parameter is not an option. However it is said :

Quote:

Given that JNDI customization can be done via scripting now
I have been looking at the three examples on PRD-3657, they all seem to only deal with the datasource via the computeQuery function (ie. the query) but not the connection itself.

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

I am using Pentaho 4.8 and Pentaho Reporting 3.9.1.

Thank you,

Compiling error on pentaho-platform from github

$
0
0
Hi dears,

I have cloned github repository,
after that i have created the following projects.

pentaho-platform-api
pentaho-platform-assembly
pentaho-platform-core
pentaho-platform-extensions
pentaho-platform-repository
pentaho-platform-scheduler

pentaho-user-console

But i am not able to add jar files in build path because cloned repository folder "pentaho-platform" does not contain any folder like jar.

If any one knows how to build it then please let me know.

Best Regards

Excel Export CDE

$
0
0
Hi guys,
i have some questions on excel export.
1- is there a way to set a file excel name?
2- is there a way to manage (manipulate) data before the export(change column names, eliminate some columns, etc.)?

Thanks in advance.
Yamas

biserver-ce 4.8 does not allow us to share reports in oracle10g DB

$
0
0
Hi, thanks for reply this.


The development enviroment that we used is biserver-ce-4.8.0-stable; we are working with the version Community for do all the tests, with Oracle 10g DB.


we try to share reports and displays the following trace:


31/05/2013 09:10:21 AM org.apache.catalina.core.AprLifecycleListener init
INFO: Cargada la biblioteca nativa APR de Apache Tomcat 1.1.20
31/05/2013 09:10:21 AM org.apache.catalina.core.AprLifecycleListener init
INFO: Capacidades APR: IPv6 [true], enviar fichero [true], aceptar filtros [false], aleatorio [true].
31/05/2013 09:10:21 AM org.apache.coyote.http11.Http11AprProtocol init
INFO: Inicializando Coyote HTTP/1.1 en puerto http-8080
31/05/2013 09:10:21 AM org.apache.coyote.ajp.AjpAprProtocol init
INFO: Inicializando Coyote AJP/1.3 en ajp-8009
31/05/2013 09:10:21 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 688 ms
31/05/2013 09:10:21 AM org.apache.catalina.core.StandardService start
INFO: Arrancando servicio Catalina
31/05/2013 09:10:21 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.29
31/05/2013 09:10:21 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Desplieque del descriptor de configuraci¾n pentaho.xml
[Server@1f1680f]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@1f1680f]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@1f1680f]: Initiating startup sequence...
[Server@1f1680f]: Server socket opened successfully in 10 ms.
[Server@1f1680f]: Database [index=0, id=0, db=file:../../data/hsqldb/sampledata, alias=sampledata] opened sucessfully in 294 ms.
[Server@1f1680f]: Database [index=1, id=1, db=file:../../data/hsqldb/hibernate,alias=hibernate] opened sucessfully in 383 ms.
[Server@1f1680f]: Database [index=2, id=2, db=file:../../data/hsqldb/quartz, alias=quartz] opened sucessfully in 15 ms.
[Server@1f1680f]: Startup sequence completed in 702 ms.
[Server@1f1680f]: 2013-05-31 09:10:23.660 HSQLDB server 1.8.0 is online
[Server@1f1680f]: To close normally, connect and execute SHUTDOWN SQL
[Server@1f1680f]: From command line, use [Ctrl]+[C] to abort abruptly
09:10:27,013 WARN [HadoopConfigurationLocator] Unable to load Hadoop Configuration from "file:///C:/Users/danilo.cortez/Documents/app/biserver-ce/pentaho-solut
ions/system/kettle/plugins/pentaho-big-data-plugin/hadoop-configurations/mapr".
For more information enable debug logging.
09:10:27,490 WARN [PackageManager] Unresolved dependency for package: org.pentaho.reporting.engine.classic.extensions.datasources.cda.CdaModule
09:10:27,510 WARN [PackageSorter] A dependent module was not found in the list of known modules.
09:10:30,480 ERROR [Logger] misc-org.pentaho.platform.engine.services.connection
.datasource.dbcp.PooledDatasourceSystemListener: PooledDatasourceSystemListener.ERROR_0003 - Unable to pool datasource object: bndes1 caused by java.sql.SQLException: Excepci¾n de E/S: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=169869568)
(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
09:10:31,425 WARN [DefaultSchemaGenerator] We don't support method overloading. Ignoring [public java.lang.String serializeModels(org.pentaho.metadata.model.Do
main,java.lang.String,boolean) throws java.lang.Exception]
Pentaho BI server listo.
31/05/2013 09:10:31 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio pentaho-style de la aplicaci¾n web
31/05/2013 09:10:31 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio ROOT de la aplicaci¾n web
31/05/2013 09:10:31 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio sw-style de la aplicaci¾n web
31/05/2013 09:10:31 AM org.apache.coyote.http11.Http11AprProtocol start
INFO: Arrancando Coyote HTTP/1.1 en puerto http-8080
31/05/2013 09:10:31 AM org.apache.coyote.ajp.AjpAprProtocol start
INFO: Arrancando Coyote AJP/1.3 en ajp-8009
31/05/2013 09:10:31 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 10124 ms
Attempting to load ESAPI.properties via file io.Attempting to load ESAPI.properties via file io.
Not found in 'org.owasp.esapi.resources' directory or file not readable: C:\Users\danilo.cortez\Documents\app\biserver-ce\tomcat\bin\ESAPI.properties
Not found in SystemResource Directory/resourceDirectory: .esapi\ESAPI.properties




Not found in 'user.home' directory: C:\Users\danilo.cortez\.esapi\ESAPI.properties
Loading ESAPI.properties via file io failed.
Attempting to load ESAPI.properties via the classpath.
Successfully loaded ESAPI.properties via the classpath! BOO-YA!
Successfully loaded ESAPI.properties via the classpath! BOO-YA!
SecurityConfiguration for Validator.ConfigurationFile not found in ESAPI.properties. Using default: validation.properties
Attempting to load validation.properties via file io.
Attempting to load validation.properties via file io.
Not found in 'org.owasp.esapi.resources' directory or file not readable: C:\Users\danilo.cortez\Documents\app\biserver-ce\tomcat\bin\validation.properties
Not found in SystemResource Directory/resourceDirectory: .esapi\validation.properties
Not found in 'user.home' directory: C:\Users\danilo.cortez\.esapi\validation.properties
Loading validation.properties via file io failed.
Attempting to load validation.properties via the classpath.
validation.properties could not be loaded by any means. fail.SecurityConfiguration for ESAPI.printProperties not found in ESAPI.properties. Using default: false
SecurityConfiguration for Encryptor.CipherTransformation not found in ESAPI.properties. Using default: AES/CBC/PKCS5Padding
SecurityConfiguration for ESAPI.Encoder not found in ESAPI.properties. Using default: org.owasp.esapi.reference.DefaultEncoder
SecurityConfiguration for ESAPI.Logger not found in ESAPI.properties. Using default: org.owasp.esapi.reference.JavaLogFactory
SecurityConfiguration for Logger.LogApplicationName not found in ESAPI.properties. Using default: true
SecurityConfiguration for Logger.LogServerIP not found in ESAPI.properties. Using default: true
SecurityConfiguration for Logger.ApplicationName not found in ESAPI.properties.
Using default: DefaultName
09:11:54,694 WARN [MantleServlet] [/pentaho-solutions/steel-wheels/reports/Buyer Product Analysis.prpt] can not be found or you do not have permission to access it.
java.io.FileNotFoundException: [/pentaho-solutions/steel-wheels/reports/Buyer Product Analysis.prpt] can not be found or you do not have permission to access it.
at org.pentaho.platform.repository.solution.SolutionRepositoryBase.getResourceInputStream(SolutionRepositoryBase.java:285)
at org.pentaho.platform.repository.solution.SolutionRepositoryBase.getResourceInputStream(SolutionRepositoryBase.java:420)
at org.pentaho.mantle.server.MantleServlet.getSolutionFileInfo(MantleServlet.java:541)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:562)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:188)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:224)
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
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:142)
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:84)
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.pentaho.platform.web.http.security.SecurityStartupFilter.doFilter(SecurityStartupFilter.java:103)
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:169)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)
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.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278)
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.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89)
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.HttpSessionReuseDetectionFilter.doFilter(HttpSessionReuseDetectionFilter.java:134)
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.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)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.pentaho.platform.web.http.filters.SystemStatusFilter.doFilter(SystemStatusFilter.java:60)
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.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:113)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:861)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1584)
at java.lang.Thread.run(Thread.java:662)
09:11:54,732 WARN [TelemetryEventSender] Exception caught while making telemetry request.
java.net.SocketException: Network is unreachable: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:249)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
at org.pentaho.telemetry.TelemetryEventSender.sendRequest(TelemetryEventSender.java:146)
at org.pentaho.telemetry.TelemetryEventSender.run(TelemetryEventSender.java:225)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)






shows no sharing tab


Attachment 10989


our development environment is as follows:


• version of Pentaho
biserver-ce-4.8.0-stable


• Operating System
Development Enviroment: Windows 7 64 bits Professional.
Production Enviroment: Ubuntu Server 10.


• Database for repository:
Oracle 10g


• Database for data:
Oracle 10g


• Java version:
Java version "1.5.0_08"




thanks for collaboration

Training and cross validation error

$
0
0
Hi,
I'm using WEKA from my application, and after few initial ideas, I got a little bit confused... If I use instances to build model, and cross validation to validate created model, how can I calculate training and validation error? If I had training and test set, I would probably run evaluate model with both of them, but I have only one set (training)...

Thanks

Text input File Step Using Variables and Wildcard

$
0
0
Hello,

I searched the forum and did not find a post related to this topic.

I am executing a Job with parameters. I would like to reference the Parameters defined in the job in a transformation executed by the job. The Transformation performs a "Text File Input" step and in this step I am attempting to obtain the Directory path as a variable and read all files that begin with a specific High Level Qualifier. I have been successful on using variables with the "Accept filenames from previous step" option, but cannot find any guidence related to including the use of a Wildcar as part of this option. Is it doable?

Thank You Very Much,
Mike

weka server

Metadata injector issue

$
0
0
I'm trying to run the metadata injector step on some test data and I'm getting an undefined field error.


Code:

2013/06/04 22:30:24 - Text file output.0 - Starting to run...
2013/06/04 22:30:24 - CSV file input.0 - Header row skipped in file '/Users/Shared/march_2013_expenditure.csv'
2013/06/04 22:30:24 - Select values.0 - ERROR (version 4.3.0-stable, build 16786 from 2012-04-24 14.11.32 by buildguy) : Unexpected error
2013/06/04 22:30:24 - Select values.0 - ERROR (version 4.3.0-stable, build 16786 from 2012-04-24 14.11.32 by buildguy) : org.pentaho.di.core.exception.KettleValueException:
2013/06/04 22:30:24 - Select values.0 - ERROR (version 4.3.0-stable, build 16786 from 2012-04-24 14.11.32 by buildguy) : null -<binary-string> : Unknown type 0 specified.
2013/06/04 22:30:24 - Select values.0 - ERROR (version 4.3.0-stable, build 16786 from 2012-04-24 14.11.32 by buildguy) :

I'm defining all the fields as strings within data grids, and each one is defined, so I've no idea where the error is coming from

Screen Shot 2013-06-05 at 20.01.03.jpg
Screen Shot 2013-06-05 at 20.00.47.jpg
Screen Shot 2013-06-05 at 20.01.25.jpg

I can't see what I'm doing wrong. Ktrs attached, any advice would be greatly appreciated.

w

meta_test_loader.ktr
meta_data_injector.ktr

udjc failing to get initialized

$
0
0
Hi,
I have resusable transformation which uses a udjc(user defined java class) to invoke both transformation or job based on the parameter
that is passed to this reusable transformation.
I am getting "Error initializing UserDefinedJavaClass:" method for this udjc.
So i am able to execute the transformation or job that is passed on to this reusable transformation.

But if create a standalone transoframation with same udjc and passed the hardcoded value of transformation/job name then it executes successfully without error.

Why is that udjc failing to get initialized?

rename the Export file

$
0
0
I do like this :
function exportTable()
{
render_queryall.queryState.exportData("csv"); }
and export the file is "cda-export.csv".I wan to rename the file on exporting.How?

use sql over sqlJndi to query a CSV file

$
0
0
hi all,
I want to use sql over sqlJndi query a CSV file.
the CSV file like:
SELLER
amazon
amazon_uk
cobalt_electronics
tinyheaven
How to write the query?

Problems with parameters..

$
0
0
Hi,
i am using batch file in windows.
first of all, i have main job and i want to place in batch file.
its working perfectly
i have parameters in main job so, Following was the command line I used.
batchfile.png


Errors with parameters, Any advice?:confused:

more research using parameters with kitchen
http://wiki.pentaho.com/display/EAI/Named+Parameters


thanks
Vicky
PDI 4.4.0-stable
windows 7
Attached Images

If-else Javascript statement

$
0
0
Hi All,

I have two columns "strCellphone" and "strPhone". I want to create a new column "Phone" and Copy values from "strCellphone" but if "strCellphone" is empty, I want to copy values from "strPhone". I tried this with JS and it works on a normal editor but on Pentaho, I am not getting results as expected.

Here is my JS snippet:

var phone = strCellphone ;
if (!strCellphone.length){phone = strPhone;}

I have also tried various ways of checking null, empty like this one -> if (!strCellphone.length || strCellphone === ' '){phone = strPhone.getString();}

On Pentaho, The result is always assigned to if "strCellphone" even if it is empty.

Can you tell me what could be the problem? Thanks!

USer Interface Creation

$
0
0
Hi,

I need to publish 4-5 kind of reports and some graphs also. I want to create one user interface for it where in user can select their option to see report / graph of their interest. Could you please advise me which tool I should be using for preparing that? Would Pentaho dashboard do (as I developed reports using that only) ?

AWS EMR JOB executor

$
0
0
Hi,

This is suresh, working on big data analytics. I want to execute a AWS Hive / AWS EMR job from pentaho PDI (spoon). I'm using PDI stable release 4.4.0. My data location in AWS s3 buckets. When I want to execute my AWS EMR job executor I'm getting "Stream closed" error every time.

Can anyone help me resolve this issue ?

Appreciated your help.


Thanks
Suresh.K
Viewing all 16689 articles
Browse latest View live