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

How to convert to CET TimeZone ??

$
0
0
Hi ,

I have a date format as 2015-03-05T18:32:50Z . I need this to be converted to CET time zone yyyy-mm-dd hh:mm:ss CET format.
I used Metadata in Select Values, but it didt work. Kindly help me with this .Please

Thanks & Regards,
Hema

Pentaho Authentication with angualrJS

$
0
0
I am integrating pentaho with my application using angular, where i am sending a POST request. It returns an error as follows,

Code:

XMLHttpRequest cannot load http://104.236.192.147:8080/pentaho/j_spring_security_check?j_username=undefined&j_password=undefined%27. The request was redirected to 'http://104.236.192.147:8080/pentaho/Login;jsessionid=52ACD5836C9810FCBD840C1566DADA35?login_error=1', which is disallowed for cross-origin requests that require preflight.
Here is my code :

Code:

var app = angular.module("diginLogin", ['ngMaterial', 'ngAnimate','ngStorage']);
  if ($scope.loggedIn && $scope.txtUname != '') {
            $scope.txtUname = '';
            $scope.txtPwd = '';
            $http({
                method: 'POST',
                url: 'http://104.236.192.147:8080/pentaho/j_spring_security_check?j_username='+$localStorage.uname+'&j_password='+$localStorage.pwd+"'",
                //url: 'http://104.236.192.147:8080/pentaho/j_spring_security_check?j_username=admin&j_password=password',
                headers: {
                  "Access-Control-Allow-Origin": "*",
                "Access-Control-Allow-Methods": "GET, POST, PUT, DELETE, OPTIONS",
                "Access-Control-Allow-Headers": "Content-Type, X-Requested-With",
                "Content-Type": "text/json"
              }
            }).
            success(function(data, status) {
             
                window.location = "home.html";
            }).
            error(function(data, status) {
                alert("Request failed");


            });
        }

LibSVMLoader out of Memory Exception

$
0
0
Hello,

I am trying to load a dataset in LibSVM Format with weka (news 20 from this page: http://www.csie.ntu.edu.tw/~cjlin/li...ulticlass.html). Therefore I use the LibSVMLoader class.

However when I run my project (in eclipse) i always get A "java.lang.OutOfMemoryError: Java heap space" error. This is the case although I run with the "-Xmx4g" parameter. 4gb should be far enough considering, that the data file is 9MB.

Here is the code I use to load the file:

Code:

    public static Instances loadLibSVMData(String Path) throws Exception{
        LibSVMLoader loader = new LibSVMLoader();
        File file = new File(Path);
        loader.setSource(file);
        Instances data = loader.getDataSet();
        data.setClassIndex(data.numAttributes() - 1);
return data;
    }

Additonal Info:

Code:

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
    at weka.core.converters.LibSVMLoader.libsvmToArray(LibSVMLoader.java:213)
    at weka.core.converters.LibSVMLoader.determineNumAttributes(LibSVMLoader.java:244)
    at weka.core.converters.LibSVMLoader.getStructure(LibSVMLoader.java:282)
    at weka.core.converters.LibSVMLoader.getDataSet(LibSVMLoader.java:343)
    at dataset.classification.sparse.LibLinearRun.loadLibSVMData(LibLinearRun.java:78)
    at dataset.classification.sparse.LibLinearRun.main(LibLinearRun.java:26)


The exception is thrown after loader.getDataSet() is called
what did I do wrong?



Any Help is appreciated. Thanks!

Error in reading XML file if it contains special charcters like degree symbol

$
0
0
Hi ,

I am reading around 5000 XML files using "Get data from xml". but if the xml has special characters like degree symbol. It is throwing error.

To replace those characters i need to read xml files. But the iniital step itself is giving error. Kindly help me resolving the same

Regards,
Hema

Time zone settings in PDI CE 5.3

$
0
0
Hi All,

I am not getting few records even though i kept "-Duser.timezone=EDT" in spoon.bat file using PDI CE 5.3 edition. i hope we need to kept time zone setting in spoon.bat file if not is correct could you please correct me. Please suggest me somewhere else i need to apply changes to get all records.

my etl machine and database servers are placed in amazon aws. for that, time zone setting showing as EDT but when i run @@system_time_zone from DB tool it is showing as UTC.

for previous edition i.e. PDI CE 3.2 and latest editions setting are different.

Thank you

CDC (Community Distributed Cache) hanging / waiting on BA Server 5.4.0.0-EE

$
0
0
Just installed CDC from the Marketplace, copied the required jars to WEB-INF/lib as instructed. Restarted the server and now see threads hanging. The server fails to start up completely.

Any ideas?

See attached jstack output.

Thanks,

Brandon
starting_w_CDC.txt
Attached Files

Need a community substitute for Pentaho BI's "Interactive Reporting"

$
0
0
The community version of Pentaho BI server does not have Analysis Report or Interactive Report functionality. We can use the Saiku Analytics plug-in for Mondrian analysis reports, but need an OLAP tool/plug-in for more traditional relational reporting (what we can get in the EE version with Interactive Report). What has the community found?
Thank!

Parallelism

$
0
0
Hi,

I am starting jobs parallely with restartability scenario. for example i have two jobs test1 and test2 with the restartability and running in parallel. Now if test1 gets failed and test2 gets success for the first run. Next time if we start the job it has to run only test1 loop and complete the job. But if we do this scenario in sequential I got the correct result. But if i start parallel two jobs will start everytime even if it is success or parallel. How to achieve this kind of scenario in PDI.

Can you please share ur suggestions ?

is REST Client upload compressed?

$
0
0
I need to upload a ton of JSON to a Cloudant database. I'm already using the _bulk_docs API for maximum efficiency. It's going really SLOW. I suspect the HTTP requests might not be gzip compressed. Is there a way to check?

BI Server User and Admin console showing blank screen

$
0
0
Hi,

I have successfully installed BI Server 5.4 CE.
It shows login screen on localhost:8080/pentaho.
When I login as user or admin, it shows a blank screen.
Both pentaho and catalina logs shows no error at all.


Please help...

Custom Title, Text output file

$
0
0
Hello I'm making a report, where the title of the output file (Text File) must be custom, so right now im getting titles like "report-designer-preview-(and random numbers)", is there some sorth of way where I can personalize the title, and if so, can I use parametrs ive declared?
Thanks in advance

where to look up the information about the tables of the database repository?

$
0
0
I want to look up the information about the tables of the database repository. For example, I want to know what each table of the database repository is used for and what the meaning of the fields of each table is. I ask wiki for help, but I found nothing on it. Where can I look up the information about the tables of the database repository?
Thanks

Startup Error

$
0
0
Os - centos7
DB - mysql
Trying to connect with Alfresco ECM

Following is full Error log.


[xxxx@localhost ba-server]$ ./start-pentaho.sh && tail -f tomcat/logs/catalina.out
DEBUG: Using PENTAHO_JAVA_HOME
DEBUG: Found Pentaho License one folder up
DEBUG: _PENTAHO_JAVA_HOME=/opt/jdk1.7.0_75/bin/java
DEBUG: _PENTAHO_JAVA=/opt/jdk1.7.0_75/bin/java/bin/java
DEBUG: PENTAHO_INSTALLED_LICENSE_PATH=/home/dkarunanayake/alfresco-analytics-1.0_bar/ba-server/../.installedLicenses.xml
Using CATALINA_BASE: /home/dkarunanayake/alfresco-analytics-1.0_bar/ba-server/tomcat
Using CATALINA_HOME: /home/dkarunanayake/alfresco-analytics-1.0_bar/ba-server/tomcat
Using CATALINA_TMPDIR: /home/dkarunanayake/alfresco-analytics-1.0_bar/ba-server/tomcat/temp
Using JRE_HOME: /usr
Using CLASSPATH: /home/dkarunanayake/alfresco-analytics-1.0_bar/ba-server/tomcat/bin/bootstrap.jar
Jun 12, 2015 2:22:45 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Jun 12, 2015 2:22:46 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8081
Jun 12, 2015 2:22:46 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 878 ms
Jun 12, 2015 2:22:46 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jun 12, 2015 2:22:46 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.43
Jun 12, 2015 2:22:46 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive pentaho.war
14:23:06,327 ERROR [BackingRepositoryLifecycleManagerSystemListener]
java.lang.IllegalArgumentException: [Assertion failed] - this argument is required; it must not be null
at org.springframework.util.Assert.notNull(Assert.java:112)
at org.springframework.util.Assert.notNull(Assert.java:123)
at org.pentaho.platform.repository2.unified.lifecycle.MondrianBackingRepositoryLifecycleManager$1.doInTransactionWithoutResult(MondrianBackingRepositoryLifecycleManager.java:96)
at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
at org.pentaho.platform.repository2.unified.lifecycle.MondrianBackingRepositoryLifecycleManager.createEtcMondrianFolder(MondrianBackingRepositoryLifecycleManager.java:89)
at org.pentaho.platform.repository2.unified.lifecycle.MondrianBackingRepositoryLifecycleManager.startup(MondrianBackingRepositoryLifecycleManager.java:112)
at org.pentaho.platform.repository2.unified.lifecycle.DelegatingBackingRepositoryLifecycleManager.startup(DelegatingBackingRepositoryLifecycleManager.java:87)
at org.pentaho.platform.repository2.unified.BackingRepositoryLifecycleManagerSystemListener.startup(BackingRepositoryLifecycleManagerSystemListener.java:59)
at org.pentaho.platform.engine.core.system.PentahoSystem$2.call(PentahoSystem.java:421)
at org.pentaho.platform.engine.core.system.PentahoSystem$2.call(PentahoSystem.java:412)
at org.pentaho.platform.engine.core.system.PentahoSystem.runAsSystem(PentahoSystem.java:391)
at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:412)
at org.pentaho.platform.engine.core.system.PentahoSystem.access$000(PentahoSystem.java:77)
at org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:343)
at org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:340)
at org.pentaho.platform.engine.core.system.PentahoSystem.runAsSystem(PentahoSystem.java:391)
at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:340)
at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:311)
at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:212)
at org.pentaho.platform.web.http.context.SolutionContextListener.contextInitialized(SolutionContextListener.java:135)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4210)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4709)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:802)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1068)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:759)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
14:23:06,332 ERROR [Logger] Error: Pentaho
14:23:06,332 ERROR [Logger] misc-org.pentaho.platform.engine.core.system.PentahoSystem: org.pentaho.platform.api.engine.PentahoSystemException: PentahoSystem.ERROR_0014 - Error while trying to execute startup sequence for org.pentaho.platform.repository2.unified.BackingRepositoryLifecycleManagerSystemListener
org.pentaho.platform.api.engine.PentahoSystemException: org.pentaho.platform.api.engine.PentahoSystemException: PentahoSystem.ERROR_0014 - Error while trying to execute startup sequence for org.pentaho.platform.repository2.unified.BackingRepositoryLifecycleManagerSystemListener
at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:348)
at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:311)
at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:212)
at org.pentaho.platform.web.http.context.SolutionContextListener.contextInitialized(SolutionContextListener.java:135)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4210)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4709)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:802)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1068)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:759)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.pentaho.platform.api.engine.PentahoSystemException: PentahoSystem.ERROR_0014 - Error while trying to execute startup sequence for org.pentaho.platform.repository2.unified.BackingRepositoryLifecycleManagerSystemListener
at org.pentaho.platform.engine.core.system.PentahoSystem$2.call(PentahoSystem.java:430)
at org.pentaho.platform.engine.core.system.PentahoSystem$2.call(PentahoSystem.java:412)
at org.pentaho.platform.engine.core.system.PentahoSystem.runAsSystem(PentahoSystem.java:391)
at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:412)
at org.pentaho.platform.engine.core.system.PentahoSystem.access$000(PentahoSystem.java:77)
at org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:343)
at org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:340)
at org.pentaho.platform.engine.core.system.PentahoSystem.runAsSystem(PentahoSystem.java:391)
at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:340)
... 27 more
Caused by: org.pentaho.platform.api.engine.PentahoSystemException: PentahoSystem.ERROR_0014 - Error while trying to execute startup sequence for org.pentaho.platform.repository2.unified.BackingRepositoryLifecycleManagerSystemListener
at org.pentaho.platform.engine.core.system.PentahoSystem$2.call(PentahoSystem.java:422)
... 35 more
14:23:06,334 ERROR [Logger] Error end:
Pentaho BI Platform server failed to properly initialize. The system will not be available for requests. (Pentaho Business Analytics Server Enterprise Edition 5.3.0.0-213) Fully Qualified Server Url = http://localhost:8081/pentaho/, Solution Path = /home/dkarunanayake/alfresco-analytics-1.0_bar/ba-server/pentaho-solutions
Jun 12, 2015 2:23:07 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive pentaho-style.war
Jun 12, 2015 2:23:07 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Jun 12, 2015 2:23:07 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8081
Jun 12, 2015 2:23:07 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8010
Jun 12, 2015 2:23:07 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/73 config=null
Jun 12, 2015 2:23:07 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 20933 ms
Init value from Analyzer: 0

Creating logging when a CI is stored

$
0
0
Hello Team,

I got the requirement to design the logging in such a way that if a CI's coming from a source with a value of New (new value will be stored in one temporary variable) are not creating in one dataset. So, I need to create logging to capture that error in Atrium Spoon.

Please suggest how I can achieve this!!

Thanks in advance.

Regards,
-Babajan.

Predicting class with WEKA when the test set has less attributes

$
0
0
Greetings in my first post to this forum.

I'm learning WEKA right now and I don't know how to forecast/predict the following scenario.

Imagine an ARFF file similar to this:

..........
some_text,0,0,0,0,1,1,0,0,0,1,0,0,0,CLASS_A
other_text,0,0,0,0,0,1,0,0,0,0,0,0,0,CLASS_B
other_text,0,0,0,0,0,1,0,0,0,1,0,0,0,CLASS_C
.........

The training ARFF file would consist of a fixed number of attributes (don't know, maybe 50 or 500) and I'd like to predict the class of a new instance without having the total number of attributes. For example, for a instance with only 5 attr. (whatever_text,0,0,1,1,0), which is the highest accuracy for all the classes studied beforehand. What I've seen for now covers a prediction when using the same set of attributes, so I don't really well know how to build this or which classifier/model to use.

Sorry, just starting... I'd be very glad if someone could suggest anything.

Best,
Jordi

Fuzzy Match throws error when matching Integer, Boolean and Null fields

$
0
0
I am using Fuzzy match to compare the default database that comes with the Pentaho install.

Table Input 1

Select default db connection, AgileBI,
SELECT *
FROM sys.columns

Table Input 2

Select default db connection, AgileBI,
SELECT *
FROM sys.columns

Input Stream, selected ID. MainStream selected ID

After running the job, I got the error below.

2015/06/13 18:30:26 - Fuzzy match.0 - ERROR (version 5.4.0.0-128, build 1 from 2015-06-03_13-41-59 by buildguy) : Because of an error, this step can't continue:
2015/06/13 18:30:26 - Fuzzy match.0 - java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String
2015/06/13 18:30:26 - Fuzzy match.0 - java.lang.Long cannot be cast to java.lang.String
2015/06/13 18:30:26 - Fuzzy match.0 - Finished processing (I=0, O=0, R=301, W=0, U=0, E=1)

If I use Input Stream: Name and Mainstream: Name. It works without problem.

Any suggestion how to resolve it?
Attached Files

Use Community Distributed Cache (CDC) in standalone saiku and mondrian

$
0
0
Hi guys,
We are trying to deploy our own saiku instance in a tomcat and include mondrian 4.3 jar in the WEB-INFO/lib directory.
If we want to use CDC as the external segment cache for mondrian, is there a workaround that can achive this goal ? I found
the github branch of CDC plugin for pentaho in the link : https://github.com/webdetails/cdc
However, I found no way to build or compile the release source code.
Really hope someone can share any available suggestions.

Best Regards,
Sun.

where to look up the information about the tables of the database repository?

$
0
0
I want to figure out what each table in the database repository is used for and the meaning of the fields in the tables. I appeal to the wiki, but I found nothing on it. Where can I look up the information about the tables of the database repository?
Thanks for your advice!

size of the file

$
0
0
Hi All,

How to get the size of file in pentaho? I have used JavaScript to calculate. Is there any other way to do it?



Ramya.

How to control Logout???

$
0
0
Dear all,

After I restrict concurrent user login ( Reference : http://wiki.pentaho.com/display/Serv...e+Than+Once%29 ), I found a problem.

When user login and close the browser without logout from system, that user account cannot login again into system. :(
That user can login again only after tomcat server is restarted.

I think some cache is needed to clear.

If someone have knowledge about how to handle this error, please share your knowledge.
Thanks and Best Regarts,
Kyi
Viewing all 16689 articles
Browse latest View live


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