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

Using weka's StringKernel with multiple string attributes

$
0
0
Hello,

When I load a dataset with 2 string attributes using weka's Explorer, and build a classifier using SMO/StringKernel, it seems that weka automatically merges the string attributes into one.
But when I load the same date with the java api, it only use the first attribute and ignore the other one...
Is there a way I can reproduce this behavior using the java API?

Date Format

$
0
0
Hi,
Can anyone please tell me what date format implies the date 21-07-2013 02:29:40 BST. dd-MM-yyyy HH:mm:ss ___? What should i fill in for BST?

thanks
Vineet

does the TABLE type of DATA SET refresh the results automatically?

$
0
0
hello,

I'm trying read an excel file a the main source of information to be used by a prpt file. The excel file would be updated everyday, and I would need the report to reflect those changes. But as I observed, it does not show the changes on the excel source file. For the additional data to be shown, I'd need to reimport the spreadsheet.

Or is this type of data source really designed for static data?

Sum over all rows except last one in Group By

$
0
0
Hello,

I'm using Group By to calculate some aggregates. One particular one that I'd like to create is a SUM, but instead of summing over all rows in the group, I'd like to exclude the last row, i.e. if a group has n rows, Sum(n - 1 rows). How can I do this in Group By, or is there an alternative?

Automatic Increase of Database Field Sizes.....BAD!!

$
0
0
Hi

We have numerous transformations that we utilise between different environments which may take data from a source where the field length in the source is larger than the target database.

I know PDI has the ability to tell me where table changes are required and provide the sql to run this.
It's very useful for telling me this information but extremely dangerous if run in our environments due to the way the overlaying software handles it's field lengths.

It seems that (not sure if other databases too) when migrating to SQL Server it is running this SQL regardless.
It used to give me an error stating that data truncation would occur.

Is this something that can be turned off or something other people have seen?
I find it difficult to believe that this is the default behaviour now, to auto extend fields where data truncation would occur.

Just to be clear, we have NOT accidentally run this SQL. In this particular environment it has never even been viewed.

Any thoughts? Is this a JIRA? Or am I doing something wrong?

Bill

Creating a Population Pyramind in CDE

$
0
0
Hey there, I am interested in creating a pyramid (like the first image at http://en.wikipedia.org/wiki/Population_pyramid) I assum this could be done with two bar charts with horizontal orientation. The thing I dont really understand how to do would be to turn one of the graphs to face the left, rather than the right as is the default functionality. I also would like to make sure the values on the Y axis are on the outter edges of each of the horizontal charts so that they can be back to back nice and tight. If anyone has any idea of what properties I can change to accomplish this that would be great. Thanks!

I'm getting BigNumber(33): there was a data type error...

$
0
0
I have a very simple transformation: I read form a table and update in another, in the same database. Some fields are numeric, integer and decimal. My database is MySql. The numeric fields are defined as INT and Decimal(10,2). The first record gets numbers like 28 19 9 67.8751.

Then I get the error. I tried to change the fields defined as Int to BigInt, but I get the same error.

Where or how can I format the number I'm reading?

Execute SQL script - issues with using both variable substitution and argument

$
0
0
Hi,

I'm trying to run an update statement in execute sql script:

update ${v_table_name}
set url = regexp_replace(url ,'${regex}', E'$1$2XNAME', 'ig')
where (id between ? and ?)
and id <= ?;

I have both variable substitution and argument replacement in the same query. The problem is:

the argument is coming from a get rows from result from a previous transformation's copy rows to result. For the argument to work I've to check Execute for each row check box, but if I do that, the variable substitution doesn't work and viceversa. Not sure how to handle this.

Any help appreciated.

Thanks,
Manasa

cassandra CQL3 input not supported?

$
0
0
I am trying to use kettle 4.4.0 to read a column family from a Cassandra cluster andI am getting a weird error:

the Column family [COLFAMILY-NAME] does not seem to exist in the keyspace [KEYSPACE-NAME]

I have verified that it does using CQLSH. the one thing I noticed is that we create our keyspaces and column families using CQL 3.0.0 would this be causing this error? If it is the issue is there a workaround?

Passing specific values based on value selected

$
0
0
So I have a data cube set up and connected my dashboard to it. I have set up a chart that looks at some information across all waves of the study (there are 4 waves). I would like the default functionality to be showing the information for all 4 waves, with the ability to filter based on a specific wave. I have set up a select component using a SQL query (with a union) to create the possible selections of All (default), Wave 1, Wave 2, Wave 3, Wave 4. I am passing this to an MDX query. My query selects all waves by using the [Variable].[Value].Members, but for individual waves it looks like this [Variable].[Wave 1].

I want to know if there is a way to specify different values to pass based on the select components. I would essentially like to have my query look like this
[Variable].${wave}

where
All -> [Value].Members
Wave 1 -> [Wave 1]
Wave 2 -> [Wave 2]
Wave 3 -> [Wave 3]
Wave 4 -> [Wave 4]

Does anyone know how I can pass these specific values based on the appropriate selection?

PRD 3.9 - Refresh Excel 2010 Data Source

$
0
0
Hello - I'm not new to BI at all, but I am new to using PRD 3.9 CE. I created a simple list report, with one grouping using Excel 2010 as my data source. That worked fine. To refresh with new data, I go to the Data tab > [Query Name] > Edit Query > Import Spreadsheet > click OK. That works fine. However, when I go to [Query Name] > Select Query, one of the data types changes from "Double" to "Object". This seems to be causing weird formatting problems in the report now. Is this normal behavior?

Other than the raw data, nothing changed in the spreadsheet. There is no special formatting in the spreadsheet.

Is there a way to manually edit the data types?

Thanks.

Drill down in CDE Dashboard on same panel

$
0
0
hi,
I am newbie to pentaho
I am trying to achieve a drill down in one of panel in my dashboard like say i display an yearly sales if click on 2012 bar
it should display monthly on the same panel (on top of year chart), pentaho 4.8 and cde 13.19.0 and cdf trunk

if i have to write a java script kindly provide with a sample as i new to java as well

i don't want to open a new page(dashboard)

i know i am i missing some logic plz help, as i am on my own here to work on with pentaho

thanks a lot guys

Wrong measure calculation

$
0
0
Hello !

Let's say we have the following cube : Cube (Date_id*, Address_id*, Patient_id*, Treatment_id*, ConsultationNumber).
During a specific date, a patient could have only one address, but could have zero or many treatments !

Exemple :

March 2013 | Place 1 | Patient 1 | Treatment 1 || 1 Consultation
March 2013 | Place 1 | Patient 1 | Treatment 2 || 1 Consultation

As you can see, the patient has many treatments, but it's during a specific date (one consultation), so when grouping the treatment's column, i want the measure calculation to be correct, 1 in this case, and not the sum of the child's measures (which gives 2 in this case) !

March 2013 | Place 1 | Patient 1 | All treatments || 1 Consultation

If you have any idea how i can do this, please let me know !

Thank you.

Problems with text classifier

$
0
0
First, sorry for my english,

Hi, i'm developing a text classifier for adverts. I have never used weka before but i have tried with it and i am having few problems.

I am going to explain my issues to see if somebody kindly can help me with it.

I have classified 100.000 adverts in a dataset. (field 1 -> advert text, field 2 -> category). Then i do this:

Apply filter NominalToString to field 1.

Apply filter StringToWordVector to field 1 with stopwords and stemmer.

I remove the attributes that are not useful.

I apply/train with NaiveBayesMultinomialUpdateable algorithm and dataset but when do this, i have an error of memory heap size (with -Xmx (8gb)) and not finish.

Would anybody provide me any suggestion, documentation, links...

Thanks in advance.

Report

$
0
0
Hi,

Is there any way we can use cassandra database for the pentaho report designer without using any data integration steps.

Please give me any suggestions.

XMLA Discover unparse results error fault actor=Mondrian

$
0
0
Hi,

I am trying to enable XMLA output for mondrian. I have configured (to my best knowledge) everything and deployed the mondrian.war file. When accessing XMLA using link "JPivot pivot table by XMLA" (http://localhost:8080/mondrian/testpage.jsp?query=xmla), I got I am getting following exception:

javax.servlet.ServletException: javax.servlet.ServletException: com.tonbeller.jpivot.olap.model.OlapException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:

javax.servlet.ServletException: javax.servlet.ServletException: com.tonbeller.jpivot.olap.model.OlapException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:
at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:944)
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:879)
at org.apache.jsp.testpage_jsp._jspService(testpage_jsp.java:243)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
at com.tonbeller.wcf.controller.RequestFilter$MyHandler.normalRequest(RequestFilter.java:139)
at com.tonbeller.wcf.controller.RequestFilter.doFilter(RequestFilter.java:264)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:724)
Caused by: javax.servlet.ServletException: com.tonbeller.jpivot.olap.model.OlapException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:
at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:944)
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:879)
at org.apache.jsp.WEB_002dINF.queries.xmla_jsp._jspService(xmla_jsp.java:79)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:809)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:671)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:626)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:556)
at com.tonbeller.wcf.utils.IncludeTag.doStartTag(IncludeTag.java:59)
at org.apache.jsp.testpage_jsp._jspx_meth_wcf_include_0(testpage_jsp.java:263)
at org.apache.jsp.testpage_jsp._jspService(testpage_jsp.java:123)
... 36 more
Caused by: com.tonbeller.jpivot.olap.model.OlapException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:
at com.tonbeller.jpivot.xmla.XMLA_SOAP.discover(XMLA_SOAP.java:1453)
at com.tonbeller.jpivot.xmla.XMLA_SOAP.discoverDim(XMLA_SOAP.java:342)
at com.tonbeller.jpivot.xmla.XMLA_Model.initCubeMetaData(XMLA_Model.java:737)
at com.tonbeller.jpivot.xmla.XMLA_Model.initialize(XMLA_Model.java:173)
at com.tonbeller.jpivot.olap.model.OlapModelDecorator.initialize(OlapModelDecorator.java:132)
at com.tonbeller.jpivot.tags.OlapModelProxy$MyState.initialize(OlapModelProxy.java:77)
at com.tonbeller.jpivot.tags.StackStateManager.initializeAndShow(StackStateManager.java:76)
at com.tonbeller.jpivot.tags.OlapModelProxy.initializeAndShow(OlapModelProxy.java:160)
at com.tonbeller.jpivot.tags.OlapModelTag.doEndTag(OlapModelTag.java:81)
at org.apache.jsp.WEB_002dINF.queries.xmla_jsp._jspx_meth_jp_xmlaQuery_0(xmla_jsp.java:120)
at org.apache.jsp.WEB_002dINF.queries.xmla_jsp._jspService(xmla_jsp.java:67)
... 50 more
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:
at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:127)
at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:83)
at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:143)
at com.tonbeller.jpivot.xmla.XMLA_SOAP.soapFault(XMLA_SOAP.java:1606)
at com.tonbeller.jpivot.xmla.XMLA_SOAP.errorCheck(XMLA_SOAP.java:1482)
at com.tonbeller.jpivot.xmla.XMLA_SOAP.discover(XMLA_SOAP.java:1436)
... 60 more
Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXException: NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces.
org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces.


To handle this exception, I removed xalan.jar file in WEB-INF/lib directory. After removing this file, I got another exception as following:

JPivot had an error ...

javax.servlet.ServletException: javax.servlet.ServletException: com.tonbeller.jpivot.olap.model.OlapException: Soap Fault code=SOAP-ENV:Server.00HSBE02 fault string=XMLA Discover unparse results error fault actor=Mondrian detail:

javax.servlet.ServletException: javax.servlet.ServletException: com.tonbeller.jpivot.olap.model.OlapException: Soap Fault code=SOAP-ENV:Server.00HSBE02 fault string=XMLA Discover unparse results error fault actor=Mondrian
detail:
at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:944)
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:879)
at org.apache.jsp.testpage_jsp._jspService(testpage_jsp.java:243)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
at com.tonbeller.wcf.controller.RequestFilter$MyHandler.normalRequest(RequestFilter.java:139)
at com.tonbeller.wcf.controller.RequestFilter.doFilter(RequestFilter.java:264)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:724)


How to fix this issue?

Thanks
Chir

Connecting to JDBC (MySQL) Datasource via Report Designer

$
0
0
I am receiving the message below when trying to connect to my MySQL database. I can connect to the JDBC datasource via Data Integration. I have read various post that suggest I copy the mysql jar file into the /report-designer/ directory. That is not possible because when I installed Report Designer that directory was not created. However, i do see directories under .pentaho. Please help

Error connecting to database [bvreporting] : org.pentaho.di.core.exception.KettleDatabaseException:
Error occured while trying to connect to the database


Exception while loading class
org.gjt.mm.mysql.Driver




org.pentaho.di.core.exception.KettleDatabaseException:
Error occured while trying to connect to the database


Exception while loading class
org.gjt.mm.mysql.Driver




at org.pentaho.di.core.database.Database.normalConnect(Database.java:366)
at org.pentaho.di.core.database.Database.connect(Database.java:315)
at org.pentaho.di.core.database.Database.connect(Database.java:277)
at org.pentaho.di.core.database.Database.connect(Database.java:267)
at org.pentaho.di.core.database.DatabaseFactory.getConnectionTestReport(DatabaseFactory.java:86)
at org.pentaho.di.core.database.DatabaseMeta.testConnection(DatabaseMeta.java:2464)
at org.pentaho.ui.database.event.DataHandler.testDatabaseConnection(DataHandler.java:533)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329)
at org.pentaho.ui.xul.swing.tags.SwingButton$OnClickRunnable.run(SwingButton.java:58)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:676)
at java.awt.EventQueue$2.run(EventQueue.java:674)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:685)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:205)
at java.awt.Dialog$1.run(Dialog.java:1049)
at java.awt.Dialog$3.run(Dialog.java:1101)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1099)
at java.awt.Component.show(Component.java:1615)
at java.awt.Component.setVisible(Component.java:1567)
at java.awt.Window.setVisible(Window.java:843)
at java.awt.Dialog.setVisible(Dialog.java:984)
at org.pentaho.ui.xul.swing.tags.SwingDialog.show(SwingDialog.java:234)
at org.pentaho.reporting.ui.datasources.jdbc.ui.XulDatabaseDialog.open(XulDatabaseDialog.java:256)
at org.pentaho.reporting.ui.datasources.jdbc.ui.ConnectionPanel$EditDataSourceAction.actionPerformed(ConnectionPanel.java:159)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6414)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
at java.awt.Component.processEvent(Component.java:6179)
at java.awt.Container.processEvent(Container.java:2083)
at java.awt.Component.dispatchEventImpl(Component.java:4776)
at java.awt.Container.dispatchEventImpl(Container.java:2141)
at java.awt.Component.dispatchEvent(Component.java:4604)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4619)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4280)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4210)
at java.awt.Container.dispatchEventImpl(Container.java:2127)
at java.awt.Window.dispatchEventImpl(Window.java:2489)
at java.awt.Component.dispatchEvent(Component.java:4604)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:717)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:676)
at java.awt.EventQueue$2.run(EventQueue.java:674)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:690)
at java.awt.EventQueue$3.run(EventQueue.java:688)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:687)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:205)
at java.awt.Dialog$1.run(Dialog.java:1049)
at java.awt.Dialog$3.run(Dialog.java:1101)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1099)
at java.awt.Component.show(Component.java:1615)
at java.awt.Component.setVisible(Component.java:1567)
at java.awt.Window.setVisible(Window.java:843)
at java.awt.Dialog.setVisible(Dialog.java:984)
at org.pentaho.reporting.libraries.designtime.swing.CommonDialog.performEdit(CommonDialog.java:156)
at org.pentaho.reporting.ui.datasources.jdbc.ui.JdbcDataSourceDialog.performConfiguration(JdbcDataSourceDialog.java:759)
at org.pentaho.reporting.ui.datasources.jdbc.JdbcDataSourcePlugin.performEdit(JdbcDataSourcePlugin.java:67)
at org.pentaho.reporting.designer.core.actions.report.AddDataFactoryAction.actionPerformed(AddDataFactoryAction.java:79)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:389)
at com.apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:95)
at java.awt.MenuItem.processActionEvent(MenuItem.java:650)
at java.awt.MenuItem.processEvent(MenuItem.java:609)
at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:343)
at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:331)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:720)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:676)
at java.awt.EventQueue$2.run(EventQueue.java:674)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:690)
at java.awt.EventQueue$3.run(EventQueue.java:688)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:687)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: org.pentaho.di.core.exception.KettleDatabaseException:
Exception while loading class
org.gjt.mm.mysql.Driver


at org.pentaho.di.core.database.Database.connectUsingClass(Database.java:421)
at org.pentaho.di.core.database.Database.normalConnect(Database.java:350)
... 109 more
Caused by: java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:171)
at org.pentaho.di.core.database.Database.connectUsingClass(Database.java:412)
... 110 more

WEKA job keeps running after model saved (job finished)

$
0
0
Hi

I run weka jobs from command line or batch files on ubuntu.


Even after the job's saved the learned model it keeps on using CPU and memory as if it was still working, this can take even hours before it closes. (the process still has its PID and the resources consumed are the same as before the model was built)

I also use -v -o params to suppress any other output.This is happening regardless what model I train or regardless complexity of model and filter nesting used.

Whats the problem? Or is there a way to force it to stop after model is serialized/ stored (using -d)?

I am using:

java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)

Weka 3.6.1



thx

f

Error about Action Sequence

$
0
0
When I installed Pentaho,I can run pentaho-solutions/bi-developers/getting-started/HelloWorld.xaction.

1.but I copied HelloWorld.xaction to HelloWorld555.xaction. I can't run HelloWorld555.xaction. the error as bellow:
Error: SolutionEngine.ERROR_0007 - Action sequence run failed (org.pentaho.platform.engine.services.solution.SolutionEngine)
Debug: begin run bi-developers/getting-started/HelloWorld555.xaction (org.pentaho.platform.engine.services.solution.SolutionEngine)
Debug: get context and data(org.pentaho.platform.engine.services.solution.SolutionEngine)
Debug: loadding action sequence file (org.pentaho.platform.engine.services.solution.SolutionEngine)
Error: SolutionEngine.ERROR_0007 - Action sequence run failed (org.pentaho.platform.engine.services.solution.SolutionEngine)

Server Version: Pentaho Platform Engine Core 4.8.0-stable.51169

2. when I edited HelloWorld.xaction, but the output is not changed!

would you tell me how to get it ?

${Internal.Transformation.Filename.Directory} is blank during development

$
0
0
Is there any way to permanently set the value of ${Internal.Transformation.Filename.Directory}?

It's a bit tiresome to have to repeatedly re-enter it into the variable definitions at launch.

In production it's no problem I can set it in the invoking script.

I'm still using 4.3.0... Is this fixed in future releases?
Viewing all 16689 articles
Browse latest View live


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