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

Does pentaho support data in any other language like hindi.

$
0
0
Our Database consist data which is in hindi and english language. We are facing issues in passing the parameter in MDX for data in hindi language.

Thanks in Advance.
It is most Important.

Newbie want some advice on plugin developing

$
0
0
Now i'm developing a plugin for data mining and i want to pull out data from Pentaho and put it into my plug-in.
Can you give me some advice or instruction ?

ps. this is the first time that i use pentaho if you want to share me something pls do so thanks.

Open report/dashboard in User Console via direct link

$
0
0
Hi all,

I'd like to implement the following scenario:
1. User clicks on the report/dashboard link in an external system (wiki, email etc...);
2. Pentaho User Console is opened (following clicked link) and authentication takes place (if this is the first execution of the scenario, otherwise authentication is bypassed);
3. Specific file (report/dashboard/...) requested in the link' url is displayed in the User Console.

I haven't found a way to implement p.3, so User Console' landing page is opened and user has to open required file with additional clicks.

I know about /pentaho/api/repos/<file>/generatedContent feature, but it doesn't display portal layout (headers, footers, ...)

Thanks in advance,
Oleg.

problem with crosstab when order or rowbanding, pls hep ,thanks

$
0
0
Dear,
when I use crosstab, I can get
I use below SQL:

SELECT
INVMA.MA003 AS GROUPID,INVMB.MB500 AS PRODUCT,INVMB.MB002 AS DEVICE,INVMB.MB550 AS ASSYPhase,SUM(IDLMG.MG008*IDLMG.MG009) AS DEVICENUM,INVMB.MB003 AS PackageType
FROM
INVMB INNER JOIN IDLMG ON IDLMG.MG006 = INVMB.MB001 INNER JOIN INVMA ON INVMA.MA002=INVMB.MB007
WHERE
IDLMG.MG015='Y' AND MG017 <>'FAIL-HK' AND IDLMG.MG012<'20150305'
GROUP BY
INVMA.MA003,INVMB.MB500,INVMB.MB002,INVMB.MB550,INVMB.MB003
ORDER BY
INVMA.MA003 ASC,INVMB.MB500 ASC,INVMB.MB550 ASC,INVMB.MB002 ASC

and put GROUPID, PRODUCT,DEVICE,PackageType in ROW Axis and ASSYPhase in COLUMN Axis, DEVICENUM in Data Cell. The table can show the result.


But, the COL ASSYPhase has '1-4' value , but the order is not '1, 2, 3, 4' , it show '1, 3, 2, 4 ' as below screen:

002.jpg

And I adjust order by in SQL, there is no change with the report sheet.

Question: how to avoild such proble? I want to order ASSYPhase with '1 , 2 , 3 , 4'

Another, when I set RowBanding Function with this crosstab, but the sheet result as below:
001.jpg


Question: How to resolve rowband on crosstab? Have close ignore crosstab.
Thanks a lot.
Attached Images

Error loading saved job with Pig Script Executor step from DB repository

$
0
0
Hi,
I'm trying to use the Pig Script Executor step in a job but there is a problem with such step.

I fill all the field of the step, I save and close it. When I re-open the job which contains the step all its fileds are empty!
I have this problem only with this step, all the other steps in a job are retrieved correctly.

I made some test using ORACLE 11g and POSTGRES 9.3 as RDBMS for the repository and both PDI 5.2 and 5.3, with same results.

Do you have any idea about this problem?

Regards
Nico.

[PDI4.4] Log file on subtransformation occasionally empty

$
0
0
After spending a couple of hours searching through the documentation, wiki, jira, stackoverflow, I'm a little lost with the following problem.

[I'm not the developer of the transformation code in use here, and my knowledge of Pentaho is limited. Apologies if I should miss anything obvious to the experienced eye.]

I'm having a Kettle job (.kjb) which watches some folder for new files put there. If it finds one, it will eventually call a transformation on the file using the following entry:

Code:

       
        <entry>
            <name>03.a - Transform Source</name>
            <description>Transformation</description>
            <type>TRANS</type>
            <launch_in_parallel>Transformation</launch_in_parallel>
            <filename>${CUSTOM_DIRECTORY_KTR}/${V_TRANSNAME}.ktr</filename>
            <transname/>
            <arg_from_previous>N</arg_from_previous>
            <exec_per_row>N</exec_per_row>
            <clear_rows>Y</clear_rows>
            <clear_files>Y</clear_files>
            <set_logfile>Y</set_logfile>
            <logfile>${CUSTOM_DIRECTORY_LOG}/${V_TRANSNAME}#${V_SOURCE}#</logfile>
            <logext>log</logext>
            <add_date>Y</add_date>
            <add_time>Y</add_time>
            <loglevel>Basic</loglevel>
            <cluster>N</cluster>
            <slave_server_name/>
            <set_append_logfile>N</set_append_logfile>
            <argument0>${CUSTOM_DIRECTORY_SELECTED}/${V_SOURCE}</argument0>
            <argument1>${CUSTOM_LOADING_FORCEMODE}</argument1>
            <parallel>N</parallel>
            <draw>Y</draw>
            <nr>0</nr>
            <xloc>1560</xloc>
            <yloc>220</yloc>
        </entry>

It does this repeatedly with all files found, but it uses a separate log file for each processed input file. The problem now is that the logfile are always created, but sometimes (not always) they are empty. This has been working fine in PDI 3.2.5, and also seems to be working fine in 4.2. For business reasons, I'm stuck with 4.4 right now. Is there anything I can do to ensure the logfile contents always appear?

Any solution, including a pointer towards patching PDI 4.4 is appreciated.

Regards,
Stefan

Pentaho Reporting Output: HTML with no images

$
0
0
Hi,

I am trying to automatize the generation of a PRPT report with PDI.
The report contains images and charts and I need to export it in HTML and send it by email.

Now the problem is: with Pentaho Reporting Output step, specifying "Paged HTML" or "Streaming HTML" as the value for the Output processor option, I get a simple HTML page with no images/charts.

The only reference about this issue I have been able to found is:
http://forums.pentaho.com/showthread...d-chart-images

Exporting the report from Pentaho Report Design gives me all the html and images correctly.

Is there anyone that can help me to implement a correct html export with kettle?

Thanks,
Emanuele

Reading unstructured CSV file

$
0
0
I have one csv file and i want to read and want output in structured csv(commna or tab delimeted).
I tried my best however m new to this so couldnt get through in can anyone help me out.
I have attached SAMPLE1.txt please can anyone create a sample transformation and sent it to me.
Help would be appreciated a lot
Attached Files

Problem with mondrian Saiku , Process that Never Dies

$
0
0
I have a small problem with mondrian Saiku .


When throw a query on mdx selecting many dimensions of the same fact to try cause a timeout response from Saiku , a mondrian process remains active and never dies .


If I execute the instruction kill -3 on the console, I can see on catalina.out a message saying it is waiting for a response from : mondrian.rolap.RolapResultShepherd$executor

Im using pentaho 5.01 CE and saiku 3.09CE (that one use a mondrian -3.6.7)

A part of that message is:

Full thread dump Java HotSpot(TM) 64-Bit Server VM (20.45-b01 mixed mode):


"mondrian.rolap.RolapResultShepherd$executor_1" daemon prio=10 tid=0x00002b20187d4000 nid=0x2d14 runnable [0x00002b2024806000]
java.lang.Thread.State: RUNNABLE
at mondrian.rolap.RolapResult$AxisMemberList.mergeTuple(RolapResult.java:1493)
at mondrian.rolap.RolapResult$AxisMemberList.mergeTupleIter(RolapResult.java:1476)
at mondrian.rolap.RolapResult$AxisMemberList.access$000(RolapResult.java:1409)
at mondrian.rolap.RolapResult.executeAxis(RolapResult.java:891)
at mondrian.rolap.RolapResult.evalLoad(RolapResult.java:700)
at mondrian.rolap.RolapResult.loadMembers(RolapResult.java:656)
at mondrian.rolap.RolapResult.<init>(RolapResult.java:288)
at mondrian.rolap.RolapConnection.executeInternal(RolapConnection.java:671)
at mondrian.rolap.RolapConnection.access$000(RolapConnection.java:51)
at mondrian.rolap.RolapConnection$1.call(RolapConnection.java:622)
at mondrian.rolap.RolapConnection$1.call(RolapConnection.java:621)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)


"mondrian.util.ExpiringReference$timer" daemon prio=10 tid=0x0000000045352800 nid=0x2ccc in Object.wait() [0x00002b201f199000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000006866040c8> (a java.util.TaskQueue)
at java.lang.Object.wait(Object.java:485)
at java.util.TimerThread.mainLoop(Timer.java:483)
- locked <0x00000006866040c8> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)


"mondrian.rolap.RolapResultShepherd#timer" daemon prio=10 tid=0x00002b2020451800 nid=0x2cab in Object.wait() [0x00002b201e78f000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x000000068375b450> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Timer.java:509)
- locked <0x000000068375b450> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)


"mondrian.rolap.agg.SegmentCacheManager$ACTOR" daemon prio=10 tid=0x00002b2020b43800 nid=0x2caa waiting on condition [0x00002b201ea92000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000006838c4888> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:156)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1987)
at java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:322)
at mondrian.rolap.agg.SegmentCacheManager$Actor.run(SegmentCacheManager.java:950)
at java.lang.Thread.run(Thread.java:662)


"Mondrian Monitor" daemon prio=10 tid=0x00002b2020531800 nid=0x2ca9 waiting on condition [0x00002b201ec94000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x0000000686f8e6b0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:156)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1987)
at java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:322)
at mondrian.server.MonitorImpl$Actor.run(MonitorImpl.java:973)
at java.lang.Thread.run(Thread.java:662) ....

Anyone knows what happen and how ca i solve this problem?
Thanks

Lightweight solution to launch Kettle jobs remotely ?

$
0
0
Hi !

I'm in need of a very simple, user-oriented solution to launch Kettle jobs remotely. Basically I'd need to browse through a list of jobs stored in a repository (file or db), launch them, an monitor execution results.


For now I'm using Carte, installed as a service. I'm considering writing a small webapp that would interact with Carte and provide a more functional & appealing UI on top of Carte services.


Should I go for a Java webapp on a Tomcat, along with Carte used as a service on another port ? Or is there a easier/proper way of achieving my goal ? This architecture with Carte along Tomcat doesn't seem to be the cleanest way.


Thanks for your help !

404 Not found with dynamic client no-ip BI SERVER..

$
0
0
Hello there,


Hi, Im using No-Ip for some days in windows for rdp and having a webpage published with tomcat server, then i shifted to Ubuntu and its was no problem i got both the things working fine. Now im in Redhat server i pretty much configured every thing with no-ip but when i navigate to the Biserver(sample.hopto.org:8080/pentaho)page it gives 404 Not found. can u help me with it.


Thankz in advance.

Table output step, using ${variable} for Target table

$
0
0
I have a "generic" job that executes several transformations. This "generic" job will be executed hundreds of times to migrate data from one platform to another.


For one of the transformation there is a table input (that has a dynamic query using a variable set in another transformation), I need to output to 2 tables. One of the Table output steps now needs to be dynamically change the "Target table" property. The new requirement is to add an additional identifier to end of table name. i.e. Target table used to be customfieldvalue, now it needs to be customfieldvalue_abc, customfieldvalue_xyz, etc. (where abc, xyz will change based on data that is being loaded).


I have tried Target table = sometablename_{$module} and Target table = {$module} for the Table output step. I have put module in the "Parameters" list on the job. I have a bat file that executes all the iterations of the job where I set the value of module parameter.


Here is the calling statement in my batch file:
call %KITCHEN_DIR%\kitchen.bat /file=%FILE_DIR%\jb_oldDB_to_newDB.kjb /level=BASIC /logfile=%LOG_DIR%\tr_NONCONFORMANCE_to_nonconformance.log "-param:tables='NONCONFORMANCE'" "-param:newTable=nonconformance" "-param:module=customfieldvalue_ncm" "-param:transName=tr_NONCONFORMANCE_to_nonconformance.ktr" /norep


When I run this batch file, I receive the following error, it does not translate ${module} to the actual value:
2015/03/11 10:15:04 - customfieldvalue auto-gen.0 - ERROR (version 4.3.0-stable, build 16786 from 2012-04-24 14.11.32 by buildguy) : Table 'iqsstaging.{$module}' doesn't exist


The value of "iqsstaging" is also in a variable in my kettle.properties but I cannot use kettle.properties for ${module} because it will change with each iteration of calling jb_oldDB_to_newDB.kjb


The param:transName=tr_NONCONFORMANCE_to_nonconformance.ktr, in my job I use the variable ${transName} to call different transformations and that works with just having transName in the parameters list and on the call statement. Not sure why ${module} does not work.


I would like to keep this all generic, just need to figure out a way for it to recognize ${module} for the "Target table" property of the Table output step.


Thank you in advance for any assistance!

exportComponent

$
0
0

I used export component in local vmware (win - pentaho 5.2). Everything ok. the button export the contents of a table in excel and csv.
I imported the report server on a linux (centos 5.5 and pentaho 5.2) and the button has become invisible (hide) while everything else works ok.
how so? What should I set to see export compont?
I need to update anything at linux? I have to install something?


sorry for my english
Thanks in advance
Ettore

CI-BusinessServiceInput.0 - ERROR (v 4.1.0) No file(s) specified! Stop processing

$
0
0
Hi All,
This is my first post and I'm not sure if it's the right place to throw the problem.

OK,
We're implementing BMC Remedy ITSM81.0p002

We use Pentaho/Spoon to develope transformations in order to o populate CMDB Ci's and Relationships.

We normally execute these transformations using DMT (Data Management Tool -> Atrium Core CMDB).

Every time we launch a Job using DMT we get the error:

2015/03/11 12:28:35 - CTTI_CI-CMDB-3-Aplicacions-BusinessServices - Transformación va a asignar paso [Impact 5] de tipo [ValueMapper]
2015/03/11 12:28:35 - CTTI_CI-CMDB-3-Aplicacions-BusinessServices - Paso tiene númcopias=1
2015/03/11 12:28:35 - Impact 5.0 - distribución activada
2015/03/11 12:28:35 - Impact 5.0 - Iniciando asignación de buffers & nuevos hilos...
2015/03/11 12:28:35 - Impact 5.0 - Información paso: nrinput=1 nroutput=1
2015/03/11 12:28:35 - Impact 5.0 - Obtenido paso anterior de [Impact 5] #0 --> Status 5
2015/03/11 12:28:35 - Impact 5.0 - relación de entrada es 1:1
2015/03/11 12:28:35 - Impact 5.0 - Se ha encontrado el conjunto de filas de entrada [Status 5.0 - Impact 5.0]
2015/03/11 12:28:35 - Impact 5.0 - relación de salida es 1:1
2015/03/11 12:28:35 - Impact 5.0 - Se ha encontrado el conjunto de filas de salida [Impact 5.0 - Urgency 4.0]
2015/03/11 12:28:35 - Impact 5.0 - Envio terminado
2015/03/11 12:28:35 - CTTI_CI-CMDB-3-Aplicacions-BusinessServices - Transformación ha asignado un paso nuevo: [Impact 5].0
2015/03/11 12:28:35 - CTTI_CI-CMDB-3-Aplicacions-BusinessServices - Transformación va a asignar paso [Urgency 4] de tipo [ValueMapper]
2015/03/11 12:28:35 - CTTI_CI-CMDB-3-Aplicacions-BusinessServices - Paso tiene númcopias=1

[...]

2015/03/11 12:28:35 - CI-BS-CMDBErrorOutput.0 - Running on slave server #0/1.
2015/03/11 12:28:35 - CI-BS-CMDBErrorOutput.0 - Connecting to ARSystem...
2015/03/11 12:28:35 - CI-BS-CMDBErrorOutput.0 - Running on slave server #0/1.
2015/03/11 12:28:35 - CI-BS-CMDBErrorOutput.0 - Connecting to ARSystem...
2015/03/11 12:28:35 - Get Variables 5.0 - Running on slave server #0/1.
2015/03/11 12:28:35 - CI-BusinessServiceInput.0 - Running on slave server #0/1.
2015/03/11 12:28:35 - CI-BusinessServiceInput.0 - ERROR (version 4.1.0, build 1 from 2012-11-06 13.20.53) : No file(s) specified! Stop processing.
2015/03/11 12:28:35 - CI-BusinessServiceInput.0 - ERROR (version 4.1.0, build 1 from 2012-11-06 13.20.53) : Error inicializando paso [CI-BusinessServiceInput]


[...]


We are on a Unix/Lynux load balanced environment.

- Folder: /opt/bmc/ARSystem/dmtLoadFiles (created on each server group member)
- FS Shared and working

Any help would be appreciated!

Regards.

Migrate report from 4.8 to 5.3

$
0
0
Hi all,
to transfer my report from 4.8 to 5.3 BA server I'm trying to use two methods:
1) open the report from Report Designer 5.3 and Publish it to Pentaho server
2) from pentaho user console, browse files and upload the report file (.prpt)

In both cases the result is that the PUC does not display the "Title" property of the report but its physical name.

For example, my prpt file name is "report_test_12345.prpt" and his Title property is "Customer List" (see attached image from Report Designer):
2.jpg

and this is the image from the PUC:
1.jpg

Any ideas?
Perhaps is it a bug?

Thanks
Attached Images

Table Component - Customize the error message

$
0
0
Hello all,

I am working with the table component which interacts with multiple filters from selectors. If I choose a combination of filters that returns no data, the table component displays the following message "Error processing component (tableList)"

Is there a way I can customize that error message to a different error message?

Thanks,

Trying to use CFR with CDE

$
0
0
Hello.

I'm trying to understand how to work with the CFR plugin in CDE. I created a dashboard with a row and 2 columns. Then I've put a file uploader in the first column and a file browser in the second column.

But the problem is that none of those were rendered. Well, actually they seem to be rendering, because I've put alerts in the post execution properties of these components and they worked. But what I mean is that the dashboard is just a blank page. Is there any additional configuration I need to do?

Just in case it matters, I'm using Pentaho CE 5.01.

Thanks for any help.

creating jdbc connection to oracle conatiner database

$
0
0
I'm unable to using the pentaho connection manager to create a connection to a pluggable database instance of an oracle 12c container database.

I've tried various methods of attempting to specify the pluggable database instance but the database is unreachable. if I just leave out attempting to pluggable database instance then I get the expected "invalid user/name password" message from the database.

fractional fontsize in PRD?

$
0
0
Hi!
Is it possible to use fractional font sizes like Arial 8.5 in PRD? Word can do that and i have to make a pixelperfect replique of a document.

cheers,

mgie

Transformations not evaluating in Job!

$
0
0
Hi, I have a little problem but dont know any workaround, Im new in PDI, Im trying to do a very simple Job, is copy some tables from my local sql server to my internet sql server.
My Job in PDI consist in several transformations (table input -> table output) every transformations work perfect when executed, the problem is, when I put all transformations in a new Job, and try to execute them, sometimes some of the transfomations are not being evaluated, dont know why, the job finish without errors but some of the transformations never been executed!!
This problem appears random!! so sometimes it works, sometimes dont!, and sometimes occurs in different transformations,
I tried several workarounds, executing the transformations in parallel, executing the transformations sequentially, but the problem remains the same, the log never shows any errors.

Does anybody have a problem like this? is something that Im missing??

Thanks for your help
Viewing all 16689 articles
Browse latest View live


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