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

Pentaho ETL Developer WANTED


Add a (constant) line in a chart inside a report

$
0
0
Hi,

I am creating a report with a chart. The data comes from a a PDI transformation. I have been asked to add 2 lines to the graphs. Let's imagine in a chart with Y scale from 0 to 100 I have to add 2 lines with value always 80 (maximum recommended value) and the second one with value 20 (minimum recommended value).

I can add two tuples date/value with value equal to 80 and 20 at PDI level and show them on the report. But for simplicity shake I would like to add this constants values at the report level.

Any idea how to achieve this?

Thanks for your time

Best regards

Firebird connection datasource : ko (Pentaho.BA.6.0-CE)

$
0
0
Hi Everyone,

* Short description :
I tried to create Datasource connection for firebird.
When I test a "Generic Database", in "Manage DataSource" for FireBird, popup Test display : "ConnectionServiceImpl.ERROR_009" conection to database [null] failed
(log stack bellow).
I test "Generic Database" for MS SQL Express : ok.
I test external java code calls jdbc firebird driver jar to connection : ok.
Any Suggestions ?
Thanks in advance
Best Regards,


* Long description (use case) :
** Context :
OS : windows server 2012 R2
pentaho (BA) : 6.0.0.0-CE
firebird : 2.1.3, use alias in its alias.conf
driver : jaybird-full-2.2.9.jar(Jaybird 2.2.9 for Java 7 / JDBC 4.1, zip kit) from : http://www.firebirdsql.org/en/jdbc-driver/

** Use case :
- put driver file jar in : \pentaho-ce\tomcat\lib
-restart server.
- in Browser, In admin console, Manage DataSource, in the wizard :
- New DataSource.
Name="MyFireBirdDS"
Type="Database Tables"
Add Connection.
- In "DataBase Connection" :
There is no "FireBird item" in "Database Type" list, so try with "Generic DataBase".
Type : Generic DataBase
Access : Native (JDBC)
Settings :
Custom Connection URL : jdbc:firebirdsql://localhost:3050/PMI_Copie.fdb
Custom Driver Class Name : org.firebirdsql.jdbc.FBDriver
User Name : SYSDBA
Password : masterkey
When I click "Test" button, Popup display :
"ConnectionServiceImpl.ERROR_009" conection to database [null] failed
In log side :
16:04:13,419 ERROR [ConnectionServiceImpl] ::: ConnectFactory.ERROR_0001 - Impossible détablir la connexion de la base de données à : {0} {1}
java.lang.ExceptionInInitializerError
at org.firebirdsql.jdbc.FBDriver.acceptsURL(FBDriver.java:199)
at java.sql.DriverManager.getDriver(DriverManager.java:262)
at org.pentaho.platform.plugin.services.connections.sql.SQLConnection.init(SQLConnection.java:150)
at org.pentaho.platform.plugin.services.connections.sql.SQLConnection.connect(SQLConnection.java:586)
at org.pentaho.platform.plugin.services.connections.sql.SQLConnection.setProperties(SQLConnection.java:106)
at org.pentaho.platform.engine.services.connection.PentahoConnectionFactory.getConnection(PentahoConnectionFactory.java:124)
at org.pentaho.platform.engine.services.connection.PentahoConnectionFactory.getConnection(PentahoConnectionFactory.java:98)
at org.pentaho.platform.dataaccess.datasource.wizard.service.impl.ConnectionServiceImpl.testConnection(ConnectionServiceImpl.java:293)
at org.pentaho.platform.dataaccess.datasource.wizard.service.impl.ConnectionService.testConnection(ConnectionService.java:266)
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.JAXRSPluginServlet.service(JAXRSPluginServlet.java:112)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.pentaho.platform.web.servlet.JAXRSPluginServlet.service(JAXRSPluginServlet.java:117)
at org.pentaho.platform.web.servlet.PluginDispatchServlet.service(PluginDispatchServlet.java:89)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
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:239)
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:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:399)
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:411)
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:411)
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:411)
at org.pentaho.platform.web.http.security.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:191)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)
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:411)
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:411)
at org.pentaho.platform.web.http.filters.HttpSessionPentahoSessionIntegrationFilter.doFilter(HttpSessionPentahoSessionIntegrationFilter.java:263)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)
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:411)
at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:188)
at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.pentaho.platform.web.http.filters.SystemStatusFilter.doFilter(SystemStatusFilter.java:55)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.pentaho.platform.web.http.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:114)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.pentaho.platform.web.http.filters.WebappRootForwardingFilter.doFilter(WebappRootForwardingFilter.java:70)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.pentaho.platform.web.http.filters.PentahoPathDecodingFilter.doFilter(PentahoPathDecodingFilter.java:34)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2503)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2492)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.ClassCastException: org.firebirdsql.gds.impl.oo.OOGDSFactoryPlugin cannot be cast to org.firebirdsql.gds.impl.GDSFactoryPlugin
at org.firebirdsql.gds.impl.GDSFactory.loadPluginsFromClassLoader(GDSFactory.java:133)
at org.firebirdsql.gds.impl.GDSFactory.<clinit>(GDSFactory.java:96)
... 99 more
16:04:13,419 ERROR [ConnectionServiceImpl] Error end:

How to add a "pause" in the next line in spoon.bat

$
0
0
Dear all,

I'm kind of new to this Pentaho Kettle. I would be appreciate if you guys can help me on how to setup the spoon.bat file.

I'm found community.pentaho.com that says:

When I start Spoon.bat in a Windows environment nothing happens. How can I solve it?

Edit the Spoon.bat file and:

  • Replace in the last line "start javaw" with only "java".
  • Add a "pause" in the next line.
  • Save and try it again.


I would like to know what is the script to add the "pause" in the next line.

Enclosed herewith is the screenshot of my spoon.bat script that i've change from javaw to java.



Hope to hear from you guys soon.

Thank you.

PDI6 - Process crash (out of memory)

$
0
0
Hello everyone,


I am using Spoon Pentaho Data Integration 6.0.0.0-353.
I have a txt input file (with more than 9,000,000 rows) that I'm reading 3 times during the process (in 3 differents transformations).
I'm running the ETL with 4G RAM and after the second reading, the process crash with this error:


Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000686080000, 390594560, 0) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 390594560 bytes for committing reserved memory.


I noticed that between each transformation, the memory is not released.


Anyone know how to free the memory?


Will be waiting for your response.
Thanks a lot in advance.

Minimun and maximun values on ccc bar chart

$
0
0
Hello,

I would like to set only max and min value over the bars on the ccc bar chart, but i dont know how can I implement it. Someone knows how to modify the code with extension points o similar to get it ?

Thanks !

Transformation Executor Field to group rows on

$
0
0
The help states the following for Field to group rows on:

Rows will be accumulated in a group as long as the field value stays the same. If the value
changes the transformation will be executed and the accumulated rows will be passed to the transformation.

Bit it seems to send the first record of the next group field. I end up with something like this sent to the next Transformation:
Nat
Nat
Nat
Org

Org
Org
Phx

Phx
...

Is this expected behavior? Is there anyway to correct it? I need to create JSON with a single name.

Thank you
Patrick

kettle data in browser implementation not working in IE 10

$
0
0
Good day,I used this superb tutorial from Matt to supply data in the browser or with web services. http://www.ibridge.be/?p=199To summarize, these instructions advise how to setup Carte web server and call the transformations on the local machine. These transformations can then be triggered from the browser or be called by a service.All is good with Chrome and Firefox, but when I try this in IE 10 it throws up an error that sayshere's the actual screenshot of the error messagerawr.pngBUT, if I change the URL, and remove the first part, the credentials part (cluster:cluster@), then it would access the transformation BUT would ask for credentials. Why does it not work on the first run with the credentials included? Whats up with IE 10?

I tried using the option of running carte with an xml config file, but it throws errors. It appears to be looking for files that are not present in the home directory of PDI.
Quote:

DEBUG: Using JAVA_HOMEDEBUG: _PENTAHO_JAVA_HOME=C:\Program Files\Java\jdk1.7.0_51
DEBUG: _PENTAHO_JAVA=C:\Program Files\Java\jdk1.7.0_51\bin\java.exe
2016/01/21 08:59:45 - Carte - Installing timer to purge stale objects after 1440 minutes.
Attempting to load ESAPI.properties via file I/O.
Attempting to load ESAPI.properties as resource file via file I/O.
Not found in 'org.owasp.esapi.resources' directory or file not readable: C:\tools\pdi-ce-5.0.1-stable\data-integration\ESAPI.properties
Not found in SystemResource Directory/resourceDirectory: .esapi\ESAPI.properties
Not found in 'user.home' (C:\Users\sarriola) directory: C:\Users\sarriola\esapi\ESAPI.properties
Loading ESAPI.properties via file I/O failed. Exception was: java.io.FileNotFoundException
Attempting to load ESAPI.properties via the classpath.
SUCCESSFULLY LOADED ESAPI.properties via the CLASSPATH from '/ (root)' using current thread context class loader!
SecurityConfiguration for Validator.ConfigurationFile not found in ESAPI.properties. Using default: validation.properties
Attempting to load validation.properties via file I/O.
Attempting to load validation.properties as resource file via file I/O.
Not found in 'org.owasp.esapi.resources' directory or file not readable: C:\tools\pdi-ce-5.0.1-stable\data-integration\validation.properties
Not found in SystemResource Directory/resourceDirectory: .esapi\validation.properties
Not found in 'user.home' (C:\Users\sarriola) directory: C:\Users\sarriola\esapi\validation.properties
Loading validation.properties via file I/O failed.
Attempting to load validation.properties via the classpath.
validation.properties could not be loaded by any means. fail. Exception was: java.lang.IllegalArgumentException: Failed to load ESAPI.properties as a classlo
r resource.
SecurityConfiguration for Logger.LogServerIP not either "true" or "false" in ESAPI.properties. Using default: true
2016/01/21 08:59:49 - master1 - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : master1
2016/01/21 08:59:49 - Carte - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : Unable to register to master slave server [master1
n address [localhost:9080]
2016/01/21 08:59:54 - master1 - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : master1
2016/01/21 08:59:54 - Carte - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : Unable to register to master slave server [master1
n address [localhost:9080]
Attached Images

The Right function that can modifiy the outcome from switch case function

$
0
0
Dear All,

I'm newbie in Pentaho Data Integration and Kettle, and need guide to do some simple ETL jobd using it.
this is my scenario :
I have table that contains 3 raw data, and 3 columns.

FirstName LastName Gender
Bob Dylan Male
Charlie Mcgrow Male
Shirley Aira Female
Dean Arthur Male

now, i want the output from switch/case that i have added have different amount columns, and the some putput columns was base on Gender
column.

If the Gender was Male, then the output table that i expected was :

First_Name Last_Name Gender
Bob Dylan Male
Charlie Mcgrow Male
Dean Arthur Male


and if the Gender was Female, then the output table that i expected was :

First_Name Last_Name
Shirley Aira


and insert each output into 2 table in Database using MySQL.
please, help me how i can make this flow possible in PDI.
Thanks,

Bambang

Other detail in Xmean

$
0
0
Hi,

Is it possible for me using the Java API, apart from printing which cluster it belong to, to also print the distance to the cluster center. How to code it in Java. Thank You.

Problem with cache and CDE

$
0
0
Hello,

I have a problem with the cache and my dashboards. If I make some changes and clean the cache, I get the old data until I restart the server. I clean the cache both ways: hitting the buttons inside tools and through CDC, but nothing works. There is no way to get the new data.

What can I do?

localisation : how to get the full information?

$
0
0
It's easy to get the current language (e.g. : 'fr', 'en',...) in a dashboard (it's quite common in javascript), however, I would like to get the full information with the dialect (e.g : 'fr_FR', 'fr_CA', 'en_GB',...).

My goal is to load, in a component, the correct i18n file containing the labels of buttons, the error messages, and so on.

Does some know how to do that?

Edit : Maybe http://redmine.webdetails.org/projec...CDE_Dashboards works for components too?

Thank you

Benoit

Issue happen when i build the kettle source code.

$
0
0
Now we use the 5.0 CE version.

We want to debug the source code. so we download the code from https://github.com/pentaho/pentaho-kettle/tree/5.0-CE

Running the "create-dot-classpath" to build the code.

But this raise a error.

========================================================================================================
[ivy:resolve][ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve] module not found: pentaho-kettle#kettle-engine;5.0-SNAPSHOT
[ivy:resolve] ==== local: tried
[ivy:resolve] c:\temp\.ivy2/local/pentaho-kettle/kettle-engine/5.0-SNAPSHOT/ivys/ivy.xml
[ivy:resolve] -- artifact pentaho-kettle#kettle-engine;5.0-SNAPSHOT!kettle-engine.jar:
[ivy:resolve] c:\temp\.ivy2/local/pentaho-kettle/kettle-engine/5.0-SNAPSHOT/jars/kettle-engine-5.0-SNAPSH
OT.jar
[ivy:resolve] ==== pentaho-ivy: tried
[ivy:resolve] http://repo.pentaho.org/artifactory/...0-SNAPSHOT.ivy
.xml
[ivy:resolve] ==== pentaho-mvn: tried
[ivy:resolve] http://repo.pentaho.org/artifactory/...0-SNAPSHOT.pom




[ivy:resolve] -- artifact pentaho-kettle#kettle-engine;5.0-SNAPSHOT!kettle-engine.jar:
[ivy:resolve] http://repo.pentaho.org/artifactory/...0-SNAPSHOT.jar




[ivy:resolve] ==== public: tried
[ivy:resolve] http://repo1.maven.org/maven2/pentah...0-SNAPSHOT.pom
[ivy:resolve] -- artifact pentaho-kettle#kettle-engine;5.0-SNAPSHOT!kettle-engine.jar:
[ivy:resolve] http://repo1.maven.org/maven2/pentah...0-SNAPSHOT.jar
[ivy:resolve] ==== java-net-maven2: tried
[ivy:resolve] http://download.java.net/maven/2/pen...0-SNAPSHOT.pom
[ivy:resolve] -- artifact pentaho-kettle#kettle-engine;5.0-SNAPSHOT!kettle-engine.jar:
[ivy:resolve] http://download.java.net/maven/2/pen...0-SNAPSHOT.jar
[ivy:resolve] module not found: pentaho-kettle#kettle-jdbc;5.0-SNAPSHOT
[ivy:resolve] ==== local: tried
[ivy:resolve] c:\temp\.ivy2/local/pentaho-kettle/kettle-jdbc/5.0-SNAPSHOT/ivys/ivy.xml
[ivy:resolve] -- artifact pentaho-kettle#kettle-jdbc;5.0-SNAPSHOT!kettle-jdbc.jar:
[ivy:resolve] c:\temp\.ivy2/local/pentaho-kettle/kettle-jdbc/5.0-SNAPSHOT/jars/kettle-jdbc-5.0-SNAPSHOT.j
ar
[ivy:resolve] ==== pentaho-ivy: tried
[ivy:resolve] http://repo.pentaho.org/artifactory/...APSHOT.ivy.xml




[ivy:resolve] ==== pentaho-mvn: tried
[ivy:resolve] http://repo.pentaho.org/artifactory/...0-SNAPSHOT.pom
[ivy:resolve] -- artifact pentaho-kettle#kettle-jdbc;5.0-SNAPSHOT!kettle-jdbc.jar:
[ivy:resolve] http://repo.pentaho.org/artifactory/...0-SNAPSHOT.jar
[ivy:resolve] ==== public: tried
[ivy:resolve] http://repo1.maven.org/maven2/pentah...0-SNAPSHOT.pom
[ivy:resolve] -- artifact pentaho-kettle#kettle-jdbc;5.0-SNAPSHOT!kettle-jdbc.jar:
[ivy:resolve] http://repo1.maven.org/maven2/pentah...0-SNAPSHOT.jar
[ivy:resolve] ==== java-net-maven2: tried
[ivy:resolve] http://download.java.net/maven/2/pen...0-SNAPSHOT.pom
[ivy:resolve] -- artifact pentaho-kettle#kettle-jdbc;5.0-SNAPSHOT!kettle-jdbc.jar:
[ivy:resolve] http://download.java.net/maven/2/pen...0-SNAPSHOT.jar
[ivy:resolve] module not found: pentaho-kettle#kettle-ui-swt;5.0-SNAPSHOT
[ivy:resolve] ==== local: tried
[ivy:resolve] c:\temp\.ivy2/local/pentaho-kettle/kettle-ui-swt/5.0-SNAPSHOT/ivys/ivy.xml
[ivy:resolve] -- artifact pentaho-kettle#kettle-ui-swt;5.0-SNAPSHOT!kettle-ui-swt.jar:
[ivy:resolve] c:\temp\.ivy2/local/pentaho-kettle/kettle-ui-swt/5.0-SNAPSHOT/jars/kettle-ui-swt-5.0-SNAPSH
OT.jar
[ivy:resolve] ==== pentaho-ivy: tried
[ivy:resolve] http://repo.pentaho.org/artifactory/...0-SNAPSHOT.ivy
.xml
[ivy:resolve] ==== pentaho-mvn: tried
[ivy:resolve] http://repo.pentaho.org/artifactory/...0-SNAPSHOT.pom




[ivy:resolve] -- artifact pentaho-kettle#kettle-ui-swt;5.0-SNAPSHOT!kettle-ui-swt.jar:
[ivy:resolve] http://repo.pentaho.org/artifactory/...0-SNAPSHOT.jar




[ivy:resolve] ==== public: tried
[ivy:resolve] http://repo1.maven.org/maven2/pentah...0-SNAPSHOT.pom
[ivy:resolve] -- artifact pentaho-kettle#kettle-ui-swt;5.0-SNAPSHOT!kettle-ui-swt.jar:
[ivy:resolve] http://repo1.maven.org/maven2/pentah...0-SNAPSHOT.jar
[ivy:resolve] ==== java-net-maven2: tried
[ivy:resolve] http://download.java.net/maven/2/pen...0-SNAPSHOT.pom
[ivy:resolve] -- artifact pentaho-kettle#kettle-ui-swt;5.0-SNAPSHOT!kettle-ui-swt.jar:
[ivy:resolve] http://download.java.net/maven/2/pen...0-SNAPSHOT.jar
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: UNRESOLVED DEPENDENCIES ::
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: pentaho-kettle#kettle-engine;5.0-SNAPSHOT: not found
[ivy:resolve] :: pentaho-kettle#kettle-jdbc;5.0-SNAPSHOT: not found
[ivy:resolve] :: pentaho-kettle#kettle-ui-swt;5.0-SNAPSHOT: not found
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]
[ivy:resolve]
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS



BUILD FAILED

===================================================================================================


I guess some config XML error.

How to do fix the issue.

Many thanks for your help.

Cannot see measures dimensions in Saiku using dynamic schema processor

$
0
0
Im using Pentaho 5.4.0.1.130 EE with Saiku STABLE 3.7

For Saiku, I have removed the relevant jar files from \saiku\lib\ to allow Saiku to use the Pentaho Mondrian.

The cube along with sample cube (Steel Wheels) shows in Saiku.
When any cube is selected, Measures and Dimensions show as 'loading...', but never load.

EDIT:
I have removed my dynamic schema processor to see if that was causing the issue, and i'm having the same problem.
Must be something simple that I have missed...

There are two errors showing in the catalina.log which I cannot make much sense of:

Code:

Jan 21, 2016 9:22:20 AM com.sun.jersey.spi.container.ContainerResponse mapMappableContainerException
SEVERE: The exception contained within MappableContainerException could not be mapped to a response, re-throwing to the HTTP container
java.lang.IllegalAccessError: mondrian/olap4j/MondrianOlap4jMetadataElement
    at mondrian.olap4j.SaikuMondrianHelper.isMondrian(SaikuMondrianHelper.java:113)
    at mondrian.olap4j.SaikuMondrianHelper.getMeasureGroup(SaikuMondrianHelper.java:139)
    at org.saiku.olap.util.ObjectUtil.convertMeasure(ObjectUtil.java:290)
    at org.saiku.olap.discover.OlapMetaExplorer.getAllMeasures(OlapMetaExplorer.java:396)
    at org.saiku.service.olap.OlapDiscoverService.getMeasures(OlapDiscoverService.java:179)
    at org.saiku.web.rest.resources.OlapDiscoverResource.getMetadata(OlapDiscoverResource.java:146)
    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.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
    at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
    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.JAXRSPluginServlet.service(JAXRSPluginServlet.java:112)
    at org.saiku.plugin.resources.ExtendedJAXRSPluginServlet.service(ExtendedJAXRSPluginServlet.java:58)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
    at org.pentaho.platform.web.servlet.JAXRSPluginServlet.service(JAXRSPluginServlet.java:117)
    at org.pentaho.platform.web.servlet.PluginDispatchServlet.service(PluginDispatchServlet.java:89)
    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)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.pentaho.ui.servlet.SystemStatusFilter.doFilter(SourceFile:87)
    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:114)
    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:70)
    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.PentahoPathDecodingFilter.doFilter(PentahoPathDecodingFilter.java:34)
    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:620)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Unknown Source)

Code:

Jan 21, 2016 9:22:20 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet PluginDispatchServlet threw exception
java.lang.IllegalAccessError: mondrian/olap4j/MondrianOlap4jMetadataElement
    at mondrian.olap4j.SaikuMondrianHelper.isMondrian(SaikuMondrianHelper.java:113)
    at mondrian.olap4j.SaikuMondrianHelper.getMeasureGroup(SaikuMondrianHelper.java:139)
    at org.saiku.olap.util.ObjectUtil.convertMeasure(ObjectUtil.java:290)
    at org.saiku.olap.discover.OlapMetaExplorer.getAllMeasures(OlapMetaExplorer.java:396)
    at org.saiku.service.olap.OlapDiscoverService.getMeasures(OlapDiscoverService.java:179)
    at org.saiku.web.rest.resources.OlapDiscoverResource.getMetadata(OlapDiscoverResource.java:146)
    at sun.reflect.GeneratedMethodAccessor231.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
    at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
    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.JAXRSPluginServlet.service(JAXRSPluginServlet.java:112)
    at org.saiku.plugin.resources.ExtendedJAXRSPluginServlet.service(ExtendedJAXRSPluginServlet.java:58)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
    at org.pentaho.platform.web.servlet.JAXRSPluginServlet.service(JAXRSPluginServlet.java:117)
    at org.pentaho.platform.web.servlet.PluginDispatchServlet.service(PluginDispatchServlet.java:89)
    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)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.pentaho.ui.servlet.SystemStatusFilter.doFilter(SourceFile:87)
    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:114)
    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:70)
    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.PentahoPathDecodingFilter.doFilter(PentahoPathDecodingFilter.java:34)
    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:620)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Unknown Source)

Thanks
Jason

Queries on unbalanced data

$
0
0
I have a data set of about 9000 records with 34 attributes. This is patient information and using this data I am trying to predict Readmission Class as Yes or No. Based upon first 33 attributes of a patient, I am trying to predict 34th column Readmission. This is supervised learning. Currently, I am using SPSS and WEKA tools. Here are few of my queries:


  1. I have preprocessed the data and have done binning for all numeric data to make it nominal. Is this right?
  2. My data is unbalanced (13% is Yes and rest is No). Do I need to balance my data? If yes, whether to do Oversampling or Undersampling?
  3. Do I need to extract 75% training data from my dataset and only balance that or the whole 9000 records?
  4. Do I need to do Feature Selection? If yes, whether to do it after balancing or before?
  5. How to build the final predictive model? Which classifier to use e.g. Logistic Regression, Decision Tree and so on?
  6. What should be the evaluation criteria for my model? Accuracy or ROC or F-measure?


I will really appreciate your help in this area.

Regards
Reena

Password for biserver-ce-6.0.1.0-386

$
0
0
Hi,

I have downloaded BI Server biserver-ce-6.0.1.0-386.

When I goto localhost:8080 in Internet-Explorer I were asked for a user and a Password.

What user and Password can I use to Login?

How can I get Access to Administrator Interface (localhost:8099 does not work)

Thank you very much.

Norbert

Cassandra Step Help

Categorize or Grouping according to few parameters

$
0
0
Hello,

First of all I am sorry,my English isnt that good.I hope you understand my question.
Below is the data input

12507483_10208312745605886_6403139757315923857_n.jpg

As you can see above,I would like to create an extra column called Category showing a grouping based on few parameters acting on aapl column.The date and average column is ignored.

aapl range :-
0 - 15 = 1
15-20 = 2
20-30 = 3

Hence the output will be as below

12400579_10208312746085898_6138292750096965717_n.jpg

I had used few steps like Group By or Calculator but none of the steps are showing what I want.Is there any way to solve my problem.I really appreciate your time into this.I had attached my data input in a .ktr file.Thank you and have a good day.

Raj.

test1.ktr

run Kitchen/Pan on AWS Lambda?

$
0
0
I want to run some PDI jobs on AWS Lambda, but the total required JARs is way over the 50MB limit.

Does anybody have a solution for this, either a minimal set of jars, or probably using a remote classloader?

how to remove invalid chars from csv export rows

$
0
0
Hello everyone.
I've got a simple transformation that queries a database, and dumps the rows it finds out to a CSV text file.
I'm using "Text file output". This works pretty well, however, it's not hip to line returns.

As a result, any field that contains a line return will foul the resulting CSV file.
For instance if I have 3 fields "Name", "Building" and "Room" (in that order). If "Building" contains a line return what you get in the csv file is something like this:

SpongeBob, Bikini
Bottom, Kitchen

instead of

SpongeBob, Bikini Bottom, Kitchen

This is an unbelievable headache, to put it mildly.
If I were in perl or something, I'd just filter every single field with a regex to strip out not just line returns but any non-printable ascii that's not a space or a tab.

I suspect there must be a way to do the same thing in Kettle/Spoon?

I see there's a "Replace in string" node. This seems almost exactly like what I'm looking for however ... I can't figure out how to use it?
this is the only documentation I can find:

http://wiki.pentaho.com/display/EAI/Replace+in+String

I see there's a 'useRegEx' column, but it only takes "Y" or "N". Where does the Regular Expression go?
I've only got 7 columns:


  • In Stream field (ok makes sense)
  • Out stream field (I guess if I wanted to rename it, ok cool)
  • Use RegEx (Yes or No -- ok, where does said RegEx actually go?)
  • Search (is this where the RegEx goes?)
  • Replace with (whoa -- you mean I can't just say "replace anything that matches this regex with null?")
  • Whole Word (yeah ok I get that)
  • Case sensitive (I get that too)


At this point ... is my best bet just to bust out javascript and filter my naughty chars there?
Viewing all 16689 articles
Browse latest View live


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