February 20, 2014, 7:25 am
↧
February 20, 2014, 9:07 am
I'm trying to create an analysis view for two data sources but I keep getting the message "This page cannot be accessed directly. It must be linked to from other pages".
I created the first datasource with the schema workbench (which works as expected on the schema workbench with MDX queries), then I published it on the bi server user console with no problem. When I go to the New Analysis view on the user console I can select it from the drop down list, but then I get the above error message.
The same happens with the otther datasource, that I created through the user console --> Create New Data Source. Connection ton Mysql server is ok and the new datasource is created as well.
I have checked the datasources.xml and the catalogs for both the data sources are listed in it. The definition tags contain the correct paths for both of them, and they use the same data connection which is configured and tested properly on the administrator console
<Catalog name="betnwin">
<DataSourceInfo>Provider=mondrian;DataSource=bwin</DataSourceInfo>
<Definition>solution:/bwin/betnwin.xml</Definition>
</Catalog>
<Catalog name="bwin">
<DataSourceInfo>Provider=mondrian;DataSource=bwin</DataSourceInfo>
<Definition>solution:admin/resources/metadata/bwin.mondrian.xml</Definition>
</Catalog>
I'm looking at the pentaho.log and I can point out these lines of the stack trace:
2014-02-20 18:25:23,201 ERROR [org.pentaho.platform.util.logging.Logger] Error end:
2014-02-20 18:25:23,202 ERROR [org.pentaho.platform.util.logging.Logger] misc-MondrianModelComponent: MondrianModel.ERROR_0001 - getInitialQuery(): Connection is not valid: {DataSource=bwin, PoolNeeded=false, Provider=mondrian, Catalog=solution:/bwin/betnwin.xml}
2014-02-20 18:25:23,202 ERROR [org.pentaho.platform.plugin.action.mondrian.PivotViewComponent] 98f90c6c-9a4b-11e3-82ff-01fd8d273dc9:COMPONENT:context-68214025-1392913523093:1392913522860.analysisview.xactionPivotView.ERROR_0010 - Query generation failed
I googled as a maniac during the last days but I cannot resolve this error... Is there any other file, like the datasources.xml that I should configure as well? I mean something like mondrianconnection.properties maybe?
I'm using Mysql server and bi server 4.8.0 stable version.
I have attached the full log file.
Thank you in advance for your time
↧
↧
February 20, 2014, 9:32 am
Hello,
I have a table like this:
Name OtherData Attr1 Value1 Attr2 Value2
Foo xxx red 1 green 2
Bar yyy blue 3 orange 4
IT is a one to many relationship denormalised.
I need to create two tables:
id Name OtherData
1 Foo xxx
2 Bar yyy
Attr Value fk
red 1 1
green 2 1
blue 3 2
orange 4 2
Can I do it with PDI?
How? (Please tell me which steps I should use)
Thanks,
Mario
↧
February 20, 2014, 10:06 am
I am using Pentaho DI for developing a custom tool for data transformation.
1.How can I get the count of total no of rows inserted into the target database?
2. How can I route the log information to a file rather than on console.
↧
February 20, 2014, 10:30 am
I am new to Pentaho - I normally use the Microsoft stack but a client has asked me to investigate if open source options are feasible for a forthcoming BI project.
I have installed the community edition of BI Server (5.0.1) on a Windows server box and not changed any of the default settings.
I have built a simple cube in Mondrian to take data from a MySQL database. I can view the cube using the jPivot View option in the user console and drill down on dimensions and it seems to work well. I would now like to view it by passing an MDX command to it using PHP. The intention would is to build a web service that can be called by a range of technologies such as Flash to display the contents of the cube.
I have been trying to use OLAP4PHP to view it, but I am getting an error message saying I cannot connect with an HTML error 500. I understand OLAP4PHP requires an XMLA connection.
If I try and view the URL in a browser (I am looking at
http://myserver:8080/pentaho/Xmla), I get a 405 error saying GET is not supported by the URL.
The first thing to do would be to make sure the XMLA connection is working. How can I test if the XMLA connection is working and what can I do to troubleshoot any problems?
↧
↧
February 20, 2014, 10:40 am
Hi,
My data source has a char field with only two possible values: hot or cold. My data destination field has only enumerated values. Is there a step that will convert the char value to a 1 or a 2?
Thanks,
Rick
(brand new kettle user)
↧
February 20, 2014, 11:09 am
Buenas tardes a todos,
Un saludo. Vengo usando Pentaho Kettle-Spoon 4.4.0 desde hace dos meses para integrar un DW, en estos momentos estoy integrando desde un archivo de texto (csv) un millón de registros aproximadamente, para actualizar un campo de una tabla en postgresql. He ejecutado otros ETL integrando por ejemplo a archivos CSV o Excel y no es tan lento. En estos momentos lleva 2 horas y no va ni en el 1% la velocidad es de 1 reg/seg
Agradezco que me indicaran que paso a seguir porque debo estar trabajando seguido con volúmenes de datos similares.
Saludos
↧
February 20, 2014, 1:34 pm
When first opening a CDE dashboard (either within PUC or in a separate window) after starting the Pentaho services, instead of my dashboard I get a plain string "Could not load dashboard: null". When I re-open the dashboard again it works fine, but I always get that error message upon first load after a server restart. Has anyone encountered this before? This is with Pentaho 5.0.3 and the very latest CTools build. Relevant pentaho.log output is as follows (the second log entry contains the error message that then appears in the dashboard frame, but I believe the 2 entries are related):
Code:
2014-02-20 13:54:57,056 ERROR [pt.webdetails.cpf.InterPluginCall] java.lang.reflect.InvocationTargetException
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 pt.webdetails.cpf.InterPluginCall.run(InterPluginCall.java:352)
at pt.webdetails.cpf.InterPluginCall.call(InterPluginCall.java:365)
at pt.webdetails.cpf.InterPluginCall.call(InterPluginCall.java:67)
at pt.webdetails.cdf.dd.InterPluginBroker.getCdfContext(InterPluginBroker.java:50)
at pt.webdetails.cdf.dd.api.RenderApi.render(RenderApi.java:115)
at pt.webdetails.cdf.dd.DashboardDesignerContentGenerator.createContent(DashboardDesignerContentGenerator.java:78)
at org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutput.generateContent(GeneratorStreamingOutput.java:229)
at org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutput.write(GeneratorStreamingOutput.java:156)
at org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutputProvider.writeTo(GeneratorStreamingOutputProvider.java:58)
at org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutputProvider.writeTo(GeneratorStreamingOutputProvider.java:37)
at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1479)
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:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.pentaho.platform.web.servlet.JAXRSServlet.service(JAXRSServlet.java:116)
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:161)
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:83)
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.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)
at org.pentaho.platform.web.http.security.PentahoBasicProcessingFilter.doFilterHttp(PentahoBasicProcessingFilter.java:88)
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:265)
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:112)
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.WebappRootForwardingFilter.doFilter(WebappRootForwardingFilter.java:66)
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:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
Caused by: java.util.ServiceConfigurationError: com.orientechnologies.orient.core.index.OIndexFactory: Provider com.orientechnologies.orient.core.index.hashindex.local.OHashIndexFactory could not be instantiated: java.lang.NoSuchFieldError: UNIQUE_HASH_INDEX
at java.util.ServiceLoader.fail(Unknown Source)
at java.util.ServiceLoader.access$100(Unknown Source)
at java.util.ServiceLoader$LazyIterator.next(Unknown Source)
at java.util.ServiceLoader$1.next(Unknown Source)
at com.orientechnologies.orient.core.index.OIndexes.getFactories(OIndexes.java:76)
at com.orientechnologies.orient.core.index.OIndexes.getAllFactories(OIndexes.java:87)
at com.orientechnologies.orient.core.index.OIndexes.createIndex(OIndexes.java:117)
at com.orientechnologies.orient.core.index.OIndexManagerShared.createIndex(OIndexManagerShared.java:76)
at com.orientechnologies.orient.core.index.OIndexManagerAbstract.create(OIndexManagerAbstract.java:134)
at com.orientechnologies.orient.core.index.OIndexManagerProxy.create(OIndexManagerProxy.java:47)
at com.orientechnologies.orient.core.metadata.OMetadata.create(OMetadata.java:81)
at com.orientechnologies.orient.core.db.record.ODatabaseRecordAbstract.create(ODatabaseRecordAbstract.java:183)
at com.orientechnologies.orient.core.db.ODatabaseWrapperAbstract.create(ODatabaseWrapperAbstract.java:53)
at com.orientechnologies.orient.core.db.ODatabaseRecordWrapperAbstract.create(ODatabaseRecordWrapperAbstract.java:58)
at com.orientechnologies.orient.server.OServer.loadStorages(OServer.java:527)
at com.orientechnologies.orient.server.OServer.loadConfiguration(OServer.java:469)
at com.orientechnologies.orient.server.OServer.startup(OServer.java:166)
at com.orientechnologies.orient.server.OServer.startup(OServer.java:157)
at pt.webdetails.cpf.persistence.PersistenceEngine.startOrient(PersistenceEngine.java:617)
at pt.webdetails.cpf.persistence.PersistenceEngine.initialize(PersistenceEngine.java:92)
at pt.webdetails.cpf.persistence.PersistenceEngine.<init>(PersistenceEngine.java:72)
at pt.webdetails.cpf.persistence.PersistenceEngine.getInstance(PersistenceEngine.java:59)
at pt.webdetails.cpf.persistence.SimplePersistence.load(SimplePersistence.java:65)
at org.pentaho.cdf.views.ViewsEngine.getView(ViewsEngine.java:43)
at org.pentaho.cdf.context.ContextEngine.buildContextScript(ContextEngine.java:173)
at org.pentaho.cdf.context.ContextEngine.getContext(ContextEngine.java:138)
at org.pentaho.cdf.CdfContentGenerator.getContext(CdfContentGenerator.java:455)
... 78 more
Caused by: java.lang.NoSuchFieldError: UNIQUE_HASH_INDEX
at com.orientechnologies.orient.core.index.hashindex.local.OHashIndexFactory.<clinit>(OHashIndexFactory.java:40)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
... 103 more
2014-02-20 13:54:57,072 ERROR [pt.webdetails.cdf.dd.api.RenderApi] Could not load dashboard: null
java.lang.NullPointerException
at java.util.regex.Matcher.quoteReplacement(Unknown Source)
at pt.webdetails.cdf.dd.model.inst.writer.cdfrunjs.dashboard.CdfRunJsDashboardWriteResult.render(CdfRunJsDashboardWriteResult.java:76)
at pt.webdetails.cdf.dd.api.RenderApi.render(RenderApi.java:115)
at pt.webdetails.cdf.dd.DashboardDesignerContentGenerator.createContent(DashboardDesignerContentGenerator.java:78)
at org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutput.generateContent(GeneratorStreamingOutput.java:229)
at org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutput.write(GeneratorStreamingOutput.java:156)
at org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutputProvider.writeTo(GeneratorStreamingOutputProvider.java:58)
at org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutputProvider.writeTo(GeneratorStreamingOutputProvider.java:37)
at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1479)
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:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.pentaho.platform.web.servlet.JAXRSServlet.service(JAXRSServlet.java:116)
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:161)
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:83)
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.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)
at org.pentaho.platform.web.http.security.PentahoBasicProcessingFilter.doFilterHttp(PentahoBasicProcessingFilter.java:88)
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:265)
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:112)
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.WebappRootForwardingFilter.doFilter(WebappRootForwardingFilter.java:66)
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:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
↧
February 20, 2014, 1:55 pm
Hello.
I'm trying to figure how to use the Output Metrics. I've searched the forum but can't find much. The wiki says nothing about this component :( No example in the samples folder. So here I am.
I've tried different thing but nothing works.
1st test: Table Input -> Flat File -> Output step Metrics
In the output metrics, can't see any step in there.
2nd test: Table Input -> Flat File with a standalone Output step Metrics (guessing that I might not have to attach it to anything),
Still can't see any step.
In both tests, I select the "Get step" button an nothing is returned. If I select the dropdown, nothing.
I'm using version 5.0.1-Stable on Windows 64 bits if that might help. What is it that I'm not doing correctly?
Thanks.
↧
↧
February 20, 2014, 2:03 pm
I am trying to flatten out a normalized data model involving product data. I have two tables - a product table with an id field and a product_details table with a FK product_id referencing product.id. The details has multiple rows for each product id. Is it possible to flatten this so I have something like table 3 below. I looked into the Flatten step, but that seems to be based on the number of target fields specified as opposed to a key/id. Any thought on whether a row denormalizer would help?
id |
name |
1 |
Product 1 |
2 |
Product 2 |
product_id |
detail |
1 |
detail 1 |
1 |
more detail 1 |
2 |
detail 2 |
2 |
more detail 2 |
3 |
still more detail 2 |
id |
name |
detail1 |
detail2 |
detail3 |
1 |
Product 1 |
detail 1 |
more detail 1 |
null |
2 |
Product 2 |
detail 2 |
more detail 2 |
still more detail 2 |
↧
February 20, 2014, 3:25 pm
i'm using cde dashboards (V. 4.8). I don't load data in dashboard with iFrame.
if i use simple link:
<iframe src="http://IP.IP.IP.IP:8080/pentaho/content/pentaho-cdf-dd/Render?solution=MySolution&path=&file=MyDash.wcdf&userid=user&password=password"
i view Dahsboard
if i use iFrame, the dashboard does not load data:
<iframe src="http://P.IP.IP.IP:8080/pentaho/content/pentaho-cdf-dd/Render?solution=MySolution&path=&file=MyDash.wcdf&userid=user&password=password"
The log pentaho is:
2014-02-21 00:37:49,888 ERROR [org.pentaho.platform.engine.services.solution.SolutionEngine] 02755322-9a88-11e3-83cd-29ea64ce7991:SOLUTION-ENGINE:session-region-list.xaction: SolutionEngine.ERROR_0007 - Esecuzione dell'Action Sequence fallita
2014-02-21 00:37:49,897 WARN [pt.webdetails.cpf.repository.PentahoRepositoryAccess] hasAccess: .wcdf extension not in acl-files.
how can I risovere the problem?
Thanks in advance
Ettore
↧
February 20, 2014, 8:45 pm
what are the steps to configure jndi datasource connection for mysql in pentaho report designer 5.0.2 and also in pentaho user console 5.0.2 ?
i done in both , when i test the connection it is ok, but when running query it throws
Caused by: java.sql.SQLException: Failed to access the JNDI system: Cannot find the requested datasource 'dwh_xcellapaydatamart' anywhere in the JNDI system.
anybody know how to solve this !
↧
February 20, 2014, 9:59 pm
Hi All,
I need to connecto to impala ( CDH 4.4.0- 1.cdh4.4pa.39) from pentaho kettel 5.0.1 CE and BI server 5.0.1 CE
But when i tried I got the below error, let me which shim to be downoaded where to place it.
Error connecting to database [implala] : org.pentaho.di.core.exception.KettleDatabaseException:
Error occured while trying to connect to the database
Error connecting to database: (using class org.apache.hive.jdbc.HiveDriver)
Unable to load Hive Server 2 JDBC driver for the currently active Hadoop configuration
org.pentaho.di.core.exception.KettleDatabaseException:
Error occured while trying to connect to the database
Error connecting to database: (using class org.apache.hive.jdbc.HiveDriver)
Unable to load Hive Server 2 JDBC driver for the currently active Hadoop configuration
at org.pentaho.di.core.database.Database.normalConnect(Database.java:415)
at org.pentaho.di.core.database.Database.connect(Database.java:353)
at org.pentaho.di.core.database.Database.connect(Database.java:306)
at org.pentaho.di.core.database.Database.connect(Database.java:294)
at org.pentaho.di.core.database.DatabaseFactory.getConnectionTestReport(DatabaseFactory.java:84)
at org.pentaho.di.core.database.DatabaseMeta.testConnection(DatabaseMeta.java:2459)
at org.pentaho.ui.database.event.DataHandler.testDatabaseConnection(DataHandler.java:541)
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:616)
at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329)
at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:139)
at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123)
at org.pentaho.ui.xul.swt.tags.SwtButton.access$500(SwtButton.java:26)
at org.pentaho.ui.xul.swt.tags.SwtButton$4.widgetSelected(SwtButton.java:121)
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.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:375)
at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:301)
at org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog.open(XulDatabaseDialog.java:115)
at org.pentaho.di.ui.core.database.dialog.DatabaseDialog.open(DatabaseDialog.java:62)
at org.pentaho.di.ui.trans.step.BaseStepDialog$4.widgetSelected(BaseStepDialog.java:688)
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.trans.steps.tableinput.TableInputDialog.open(TableInputDialog.java:438)
at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:137)
at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:8195)
at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2952)
at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:720)
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:1227)
at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7368)
at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8673)
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:625)
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:616)
at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
Caused by: org.pentaho.di.core.exception.KettleDatabaseException:
Error connecting to database: (using class org.apache.hive.jdbc.HiveDriver)
Unable to load Hive Server 2 JDBC driver for the currently active Hadoop configuration
at org.pentaho.di.core.database.Database.connectUsingClass(Database.java:540)
at org.pentaho.di.core.database.Database.normalConnect(Database.java:399)
... 51 more
Caused by: java.sql.SQLException: Unable to load Hive Server 2 JDBC driver for the currently active Hadoop configuration
at org.apache.hive.jdbc.HiveDriver.getActiveDriver(HiveDriver.java:107)
at org.apache.hive.jdbc.HiveDriver.callWithActiveDriver(HiveDriver.java:121)
at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:132)
at java.sql.DriverManager.getConnection(DriverManager.java:620)
at java.sql.DriverManager.getConnection(DriverManager.java:200)
at org.pentaho.di.core.database.Database.connectUsingClass(Database.java:524)
... 52 more
Caused by: 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:616)
at org.apache.hive.jdbc.HiveDriver.getActiveDriver(HiveDriver.java:105)
... 57 more
Caused by: java.lang.RuntimeException: Unable to load JDBC driver of type: hive2
at org.pentaho.hadoop.shim.common.CommonHadoopShim.getJdbcDriver(CommonHadoopShim.java:109)
... 62 more
Caused by: java.lang.Exception: JDBC driver of type 'hive2' not supported
at org.pentaho.hadoop.shim.common.CommonHadoopShim.getJdbcDriver(CommonHadoopShim.java:104)
... 62 more
Thanks,
Malibu
↧
↧
February 21, 2014, 1:38 am
Hi there,
I am new to pentaho and is thinking of using pentaho as an ETL tool. I like this tool in many ways but I am stuck while performing a test.
I have defined two data base connections in ODBC with SQL server 2008 in pentaho 5.0.1 stable.
The first connection is for taking an input of data from a local sql server express instance using sql authentication(Feeding to the table input) and the Second connection is for taking an out after the transformation in a different instance of microsoft sql server installation in the same computer(feeding to table out).
Both the connections are tested ok.
But It fails while inserting rows into the output table.
here is the error code in the log:
2014/02/21 13:55:43 - Spoon - Transformation opened.
2014/02/21 13:55:43 - Spoon - Launching transformation [t2]...
2014/02/21 13:55:43 - Spoon - Started the transformation execution.
2014/02/21 13:55:43 - t2 - Dispatching started for transformation [t2]
2014/02/21 13:55:43 - Table output.0 - Connected to database [output] (commit=3)
2014/02/21 13:55:43 - Table input.0 - Finished reading query, closing connection.
2014/02/21 13:55:43 - Table input.0 - Finished processing (I=6, O=0, R=0, W=6, U=0, E=0)
2014/02/21 13:55:43 - Table output.0 - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : Because of an error, this step can't continue:
2014/02/21 13:55:43 - Table output.0 - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : org.pentaho.di.core.exception.KettleException:
2014/02/21 13:55:43 - Table output.0 - Error inserting row into table [output1] with values: [id1], [test1]
2014/02/21 13:55:43 - Table output.0 -
2014/02/21 13:55:43 - Table output.0 - Error inserting/updating row
2014/02/21 13:55:43 - Table output.0 - [Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near ')'.
2014/02/21 13:55:43 - Table output.0 -
2014/02/21 13:55:43 - Table output.0 -
2014/02/21 13:55:43 - Table output.0 - at org.pentaho.di.trans.steps.tableoutput.TableOutput.writeToTable(TableOutput.java:445)
2014/02/21 13:55:43 - Table output.0 - at org.pentaho.di.trans.steps.tableoutput.TableOutput.processRow(TableOutput.java:128)
2014/02/21 13:55:43 - Table output.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:60)
2014/02/21 13:55:43 - Table output.0 - at java.lang.Thread.run(Unknown Source)
2014/02/21 13:55:43 - Table output.0 - Caused by: org.pentaho.di.core.exception.KettleDatabaseException:
2014/02/21 13:55:43 - Table output.0 - Error inserting/updating row
2014/02/21 13:55:43 - Table output.0 - [Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near ')'.
2014/02/21 13:55:43 - Table output.0 -
2014/02/21 13:55:43 - Table output.0 - at org.pentaho.di.core.database.Database.insertRow(Database.java:1193)
2014/02/21 13:55:43 - Table output.0 - at org.pentaho.di.trans.steps.tableoutput.TableOutput.writeToTable(TableOutput.java:284)
2014/02/21 13:55:43 - Table output.0 - ... 3 more
2014/02/21 13:55:43 - Table output.0 - Caused by: java.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near ')'.
2014/02/21 13:55:43 - Table output.0 - at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
2014/02/21 13:55:43 - Table output.0 - at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
2014/02/21 13:55:43 - Table output.0 - at sun.jdbc.odbc.JdbcOdbc.SQLExecute(Unknown Source)
2014/02/21 13:55:43 - Table output.0 - at sun.jdbc.odbc.JdbcOdbcPreparedStatement.execute(Unknown Source)
2014/02/21 13:55:43 - Table output.0 - at sun.jdbc.odbc.JdbcOdbcPreparedStatement.executeUpdate(Unknown Source)
2014/02/21 13:55:43 - Table output.0 - at org.pentaho.di.core.database.Database.insertRow(Database.java:1153)
2014/02/21 13:55:43 - Table output.0 - ... 4 more
2014/02/21 13:55:43 - Table output.0 - Finished processing (I=0, O=0, R=1, W=0, U=0, E=1)
2014/02/21 13:55:43 - t2 - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : Errors detected!
2014/02/21 13:55:43 - Spoon - The transformation has finished!!
2014/02/21 13:55:43 - t2 - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : Errors detected!
2014/02/21 13:55:43 - t2 - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : Errors detected!
2014/02/21 13:55:43 - t2 - t2
2014/02/21 13:55:43 - t2 - t2
Please help here and any one pls tell me what am I doing wrong here? Thanks in advance.
↧
February 21, 2014, 2:59 am
Hi All,,
I am integrating cde dashboard into another portal on a different domain. I am using div integration and embedding the headers and the contents .
I am observing that when
/pentaho/content/cda/doQuery? is called from the external portal, the response header received back from the pentaho server is the login page
- HTTP/1.1 302 Moved TemporarilyServer: Apache-Coyote/1.1Set-Cookie: JSESSIONID=F49755982F25501BC947C58E05259ACD; Path=/pentahoLocation: http://<hostname>:8080/pentaho/Login;jsessionid=F49755982F25501BC947C58E05259ACDContent-Length: 0Date: Fri, 21 Feb 2014 10:53:00 GMT
Hence cda response is in correct.
Even when I pass the complete URL on a new browser window the pentaho login page is displayed.
Is there anyway I can bypass the pentaho login page while calling cda/doQuery htmlrequest
regards,
Vipul
↧
February 21, 2014, 3:11 am
Hi, i am using Pentaho kettle spoon stable release - 4.2.0. Could you please let me know we can post XML to webservice from the Pentaho tool? Please provide me the sollution
↧
February 21, 2014, 3:20 am
Hi all users,
I need to run a prpt when click on bar chart.
On "clickAction" property I get the bar char value to pass as prpt parameters.
But now, how can I run prpt?
Thanks in advance.
↧
↧
February 21, 2014, 5:10 am
Hello,
I'm working on a proof of concept. I'm using Pentaho suite 4.8.
I´m creating dashboards acessing Oracle database through ojdbc14. In the dashboards I have a combo Where I make a selection, a text box where I show the selection (just for test purpose), and a table where the data should be available. The selection is showed in a text box using the listening parameter option. But in the table component, the parameter doesn´t work. The same query without parameter works fine:
Query without parameter: "Select Code, name from carriers where code = 1234"
Query with parameter: "Select Code, name from carriers where code = ${param}"
It could be something related to oracle jdbc that is not recognizing the ${} sintax? If someone had the same problems, please help-me.
Thanks,
Carlos
↧
February 21, 2014, 6:01 am
Hi,
Does anyone know if it is possible to specify the jndi connection (or jdbc) of a datasource in CDE ? I tried to put ${myJNDI} but as I suspected, it does not work. Is there a way to do that ?
Rgds,
Edit : I saw another thread related :
http://forums.pentaho.com/showthread...mic+datasource
It is not possible in this way...
↧
February 21, 2014, 6:11 am
I have the need to query sharded databases from a central source with pointers containing the server paths and db names. What this means is I need to be able to have a connection object with variables and to pass in the variables from an earlier step either in the job or the transformation. I know this is possible because I have seen loads of things that reference it like this post from 2009:
http://forums.pentaho.com/archive/in...p/t-71191.html. MattCasters here says " That has been covered many times. All you need to do is define a database connection and specify all the parameters with variables." However I am new to Pentaho and so need to understand how that would work and how I would do that. I have checked the documentation and searched the web and am at a loss. Can anyone tell me where I can see how this would be done and if possible point me to an example?
↧