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

Error opening Spoon.bat

$
0
0
Hi,

I am trying to open pentaho using 'Spoon.bat' file but getting following error message,

---------------------------
Java Virtual Machine Launcher
---------------------------
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
---------------------------
OK
---------------------------

I tried setting the _JAVA_OPTIONS with -Xmx512M (also -Xmx1024M) in environment variables system window grid but didn't help.

Any idea what's causing the issue?

Thanks,
Nilesh

Setting Consistency level in the cassandra input step

$
0
0
Hi All,

I'm trying to connect to cassandra using a specific consistency level (LOCAL_ONE).
I tried using the following queries:
CONSISTENCY LOCAL_ONE;
SELECT * FROM account_id_guest_id limit 100;

And got the following error:
org.pentaho.di.core.exception.KettleException:
The column family {0} does not seem to exist in the keyspace {1} - perhaps it is a CQL 3 table?

I also tried using another syntax:
SELECT * FROM account_id_guest_id USING LOCAL_ONE limit 100;

And got the following error:
Caused by: InvalidRequestException(why:line 1:34 missing EOF at 'USING').
The reason is that this syntax is no longer in use (even though it appears in the cassandra input step wiki).

Did anyone bump into this issue?
any ideas how to solve it?

Thanks,
Dudu.

Mapping of input table schema with output table

$
0
0
Hi I am a beginner .I am trying to transfer data from table A to table B where in table A has 10 columns and table B has 15 columns.I would like to know which component can be used to map the input and output rows where in I would be able to map the missing 5 columns in the output table with some vales

ESRI Shapefile - MongoDB

$
0
0
Hello,

I'm new to PDI and I have two problem with ESRI Shapefile and MongoDB.

1. When I want to load Polygon data type I have this result :

Input (OK)
Attachment 15291

Output (NOK)
Attachment 15292

We can see, it repeat the same line in "pointnr" column... I don't understand why

2. My second problem is that I don't know how insert array in array, with Point data type it's easy, I use "geometry.coordinates[0]", "geometry.coordinates[1]" and "Use filed name"=>"N" but with Polygon

Thank,
Eric

Empty Users & Roles

$
0
0
Hi, everybody

I use Pentaho 5.4 CE + PostgreSQL 9.3.
I copied biserver-54 folder + dumped PostgreSQL (postgres, quartz, jackrabbit, hibernate databases) to another server. I launched Pentaho 5.4 CE on the new server.
Everything is OK, data is correct. But, there's one nuisance.
When I log in the new server as admin, the list of users and the list of roles are empty.users.jpgroles.jpg
Though admin and suzy credentials work as usual. I can even create new users (username and password). But I can view neither of them, edit them.
I cleared cache, tmp folder in Tomcat, etc.
So, what's the problem may be?
Attached Images

Please Help - Data Sources

$
0
0
I am a new end user to pentaho and have been at the architect level for other b.i. tools. When I click on manage or create data source, the process never finishes rendering. Has anybody seen this issue before?

error_0009 connecting to hadoop hive 2

Web Services WS-Security Configuration

$
0
0
Recently I tried to use PDI to exchange data with a Web Service. I wanted to make a SOAP call, I had a WSDL to work with and formulated a nice SOAP call and then I was told I needed to add Encryption, Signature and timestamp headers. I was given a JKS file containing the certificates and keys. I used SoapUI (A very nice Open Source tool) to put all the pieces together and make the call I needed and transfer data (See attachment re: SoapUI WS-Configuration).

I'd like to do the same in Kettle, however, looking at the Web Service steps, it's not clear to me which step to use and how I configure the WS-Security Headers. I have added Java options to the JKS file as my trustStore and keyStore:

-Djavax.net.ssl.trustStore=C:\Pentaho\pdi-ce-5.0.1.A-stable\data-integration\client.jks
-Djavax.net.ssl.trustStorePassword=xxx
-Djavax.net.ssl.keyStore=C:\Pentaho\pdi-ce-5.0.1.A-stable\data-integration\client.jks
-Djavax.net.ssl.keyStorePassword=xxx

But as far as then setting up the WS_Security and applying that to the Soap calls - I don't know how to do that ... Can anyone point me in the right direction please? Is there a book you would recommend? (I've read the standard text 'Pentaho Kettle Solutions').
Attached Images

Save part of a text file to another text file

$
0
0
Hi All,

I am trying to 'rip' part of a text file out and save that part as a new text file. However, I am having some problems with this. I have tried String Cut, filter rows, Replace in String and nothing is working.

The text file has a similiar structure like an XML file, however it is not. For example, the file can be:

Code:

<Cube>
<Title>Started</Title>
<Name>123</Name>
</Cube>
<Cube>
<Title>Ended</Title>
<Name>123</Name>
</Cube>

From the example above, all I want is everything between:

Code:

<Title>Ended</Title>
<Name>123</Name>

I do not want anything else apart from this. Do any of you have any idea's how this can be accomplished?

Thanks,
Paul

PentahoDatasourceConnectionProvider.ERROR_0002-reason javax.naming.NameNotFoundExceti

$
0
0
Hi

I'm changing the user to run queries on Pentaho reports. I modified the context.xml file and I deleted pentaho.xml and I have executed ./stop-pentaho.sh and then ./start-pentaho.sh.


It has started successfully but when I try to open a report I jump in pentaho.log the following error:

ParentException:
java.sql.SQLException: PentahoDatasourceConnectionProvider.ERROR_0002 - Unable to factory object for jndi name EUROPA_DW for reason javax.naming.NameNotFoundException: Name EUROPA_DW is not bound in this Context
at org.pentaho.reporting.platform.plugin.connection.PentahoJndiDatasourceConnectionProvider.createConnection(PentahoJndiDatasourceConnectionProvider.java:138)
at org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SimpleSQLReportDataFactory.getConnection(SimpleSQLReportDataFactory.java:188)
at org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SimpleSQLReportDataFactory.queryData(SimpleSQLReportDataFactory.java:243)
at org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SQLReportDataFactory.queryData(SQLReportDataFactory.java:171)
at org.pentaho.reporting.engine.classic.core.CompoundDataFactory.queryStatic(CompoundDataFactory.java:135)
at org.pentaho.reporting.engine.classic.core.CompoundDataFactory.queryData(CompoundDataFactory.java:85)
at org.pentaho.reporting.engine.classic.core.cache.CachingDataFactory.queryInternal(CachingDataFactory.java:434)
at org.pentaho.reporting.engine.classic.core.cache.CachingDataFactory.queryData(CachingDataFactory.java:326)
at org.pentaho.reporting.engine.classic.core.parameters.DefaultListParameter.getValues(DefaultListParameter.java:119)
at org.pentaho.reporting.engine.classic.core.parameters.DefaultListParameter.getDefaultValue(DefaultListParameter.java:172)
at org.pentaho.reporting.engine.classic.core.parameters.DefaultReportParameterValidator.validateSingleParameter(DefaultReportParameterValidator.java:157)
at org.pentaho.reporting.engine.classic.core.parameters.DefaultReportParameterValidator.validate(DefaultReportParameterValidator.java:140)
at org.pentaho.reporting.platform.plugin.ParameterXmlContentHandler.createParameterContent(ParameterXmlContentHandler.java:388)
at org.pentaho.reporting.platform.plugin.ParameterXmlContentHandler.createParameterContent(ParameterXmlContentHandler.java:344)
at org.pentaho.reporting.platform.plugin.ReportContentGenerator.createContent(ReportContentGenerator.java:86)
at org.pentaho.platform.engine.services.solution.SimpleContentGenerator.createContent(SimpleContentGenerator.java:66)
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 com.pentaho.platform.web.http.context.WebSpringPentahoObjectFactory$a.invoke(SourceFile:288)
at $Proxy14.createContent(Unknown Source)
at org.pentaho.platform.web.servlet.GenericServlet.doGet(GenericServlet.java:261)
at org.pentaho.platform.web.servlet.GenericServlet.doPost(GenericServlet.java:80)
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:102)
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 com.pentaho.ui.servlet.SystemStatusFilter.doFilter(SourceFile:72)
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.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)


Context.xml content is as follows:

<Resource name="jdbc/EUROPA_DW_PENTAHO" auth="Container" type="javax.sql.DataSource"
factory="org.apache.commons.dbcp.BasicDataSourceFactory" maxActive="200" maxIdle="5"
maxWait="10000" username="EUROPA_DW_PENTAHO" password="*******"
driverClassName="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@b0d026h2.RZ.CH.ZURICH.COM:1521:ESZQOEI1"
validationQuery="select 1 from dual" connectionProperties="defaultRowPrefetch=1000"/>

In the error message that appears on the screen reads:


ERROR PARSING PARAMETER INFORMATION

I am new to the world of pentaho


Be obliged much a little help.

Thanks

How to access the second category of Line chart ?

$
0
0
Hi Guys,

I have one strange requirement , I have this query
Quote:

select ORDERDATE,totalprice,SHIPPEDDATE,PRICEEACH from ORDERFACT
.
so from the above mentioned query I will getting two categories and two values. I f I plot the chart using this query then I getting chart on basis of first category.

What I need is to show the second category on the tooltip. Is that possible , if yes then I can I fetch the second category in tooltip format.

I will really appreciate if anyone can help me in this.

Thanks

Fuzzy Match Help

$
0
0
Hello (hopefully this gets posted as all mine seem to freeze in a moderator queue :()

Am trying to perform a best match between a number from an input and a lookup table. As an example I have the number:

44161234567

and in the lookup table I have entries with a number and cost with the lookup field being the first column :

441,10
4410,20
44102,30

when I execute the transformation I would hope that 441 would be matched but it never is. It finds some other weird and wonderful one and scores it as 0.9. I have tried all the different algorithms so now starting to think I am going about this completely wrong.

Any help would be gratefully appreciated please.

CDA: Export as xls not working

$
0
0
Hi,

When i open a cda file and try to access my database, its working fine. But, when i hit "Export as .xls", the data is not exported.
Attached is the image where i hit export.
export_not_working.jpg

It does not show any error on screen.
On catalina.out, here are the logs:
Code:

11:38:44,118 ERROR [CdaUtils] pt.webdetails.cda.exporter.ExporterException: Kettle exception during csv query
Mapped exception to response: 500 (Internal Server Error)
pt.webdetails.cda.exporter.ExporterException: Kettle exception during csv query
-> pt.webdetails.cda.CdaUtils.unwrapQuery(CdaUtils.java:259)
........




Driver class 'mysql' could not be found, make sure the 'Generic database' driver (jar file) is installed.
mysql
.......

BI server: 5.3 community edition
CTools version: 15.06.30
PDI/Kettle is not installed.

Now, its very clear that mysql driver is missing, question is where should this driver be added.
And how the community edition BI server is linked to kettle server?
I think i am missing a very basic understanding of how to use biserver and data integration together in community version. Any guidance is much appreciated. Thanks
Attached Images

Jira usage - a complaint

create table using filter

$
0
0
Hi,

Let me start to say I'm not an IT guy so it's possible that my doubts could be some how weird...

The goal is to have a Transformation where a Table is created if don't exist, otherwise write to log.
Capturar.PNG

If the table don't exist the Transformation works, but when I already have the table created it does not write to the log but return an error

" An error occurred, processing will be stopped: 2015/08/04 17:41:55 - Execute SQL script.0 - Couldn't execute SQL: CREATE TABLE public.spofproc_geo1 "

I imagine that the problem is on the Filter, where I have this
filter.jpg

I known it's a long shot but If you could give me some clues on this, I appreciate.

thanks
Attached Images

Possible to separate design tools from Kettle?

$
0
0
Hey Pentaho fans,

Due to some security/configuration requirements, my current client was looking to see if we can install Spoon/Pan as a standalone tool? In other words, they were looking for a way to use these tools without the PDI server. This would all be related to the Enterprise edition.

New to Pentaho, and been searching for anything I can find all day. Let me know if you need anything cleared up! Thanks.

Using Variables from Kettle.properties on CDE Components

$
0
0
Hello,

Anyone know how I can use variables that I have in my kettle.properties file as parameters in CDE ?.


Regards.

Problem with calculations

$
0
0
I'm trying to do the calculations as shown in the picture but I can not do it straight.
someone can give me an idea of how to do?
duda.jpg

Thanks!
Attached Images

get total row count from stream

$
0
0
Hi ,
I have stream ( get records from result ) and would like to count the number of records in it and send to parent job before write it to excel sheet.
Can someone help me with suggestions ? ( Attached transformation pic)


streamTransformation.jpg

Thanks
Attached Images

Pentaho BI Server 5.4 : missing Manage Users tab

$
0
0
Hey guys!

Just installed 5.4 BA on a Linux server, and it is missing the Manage Users tab. It has jackrabbit installed, just so you know. I tried installing separately on a Windows server without Jackrabbit and it works. I'm not exactly sure what to tweak to fix this problem. Help please.

Note: Jackrabbit is needed since we are accessing multiple sources.
Viewing all 16689 articles
Browse latest View live


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