ODI IKM SQL to the issue of planning
Can someone help me with this one? I try to run a planning revenge for updating a dimension planning metadata schema and uses the IKM SQL for planning. After execution of this fact, the operator indicates the status finished, but an exception occurred in one of the steps, "statistical report. I use the Sunopsis_Memory_Engine as my sleeping area and my flowchart begin with a flat file (LKM SQL file), transit area Sunopsis target is planning (IKM SQL to planning). In my mapping schema, I have all the columns to run on the staging area, except for columns parent and children that I performed on the source. This is the message of the step execution of 'Statistical report' which seems to fail. Someone knows how to fix this?org.apache.bsf.BSFException: exception of Jython:
Traceback (innermost last):
"< String >" file, line 2, in there?
Planning, writer load summary:
Number of rows processed successfully: 0
Number of lines dismissed: 237
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
at com.sunopsis.dwg.codeinterpretor.k.a (k.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting (SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders (SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders (SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt (SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt (SnpSessTaskSqlI.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask (SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep (SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession (SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand (DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute (DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.i (e.java)
at com.sunopsis.dwg.cmd.g.y (g.java)
at com.sunopsis.dwg.cmd.e.run (e.java)
at java.lang.Thread.run (unknown Source)
Hello
Also helped the error logs in the IKM as this newspaper should also explain why they are rejected.
The operator a failure is a red icon, icons you are pointing out are yellow, they may be a mistake but they are not serious, for example, he tries to drop a table if there is no he warns and practices, if the table is going to happen, these aren't serious failings, to worry are red.
See you soon
John
http://John-Goodwin.blogspot.com/
Tags: Business Intelligence
Similar Questions
-
ODI IKM avoid "into the temporary table.
Hi all, does anyone know how to avoid the "after and before the generated by the IKM tablename parameter.
I work with the incremental update of the IKM Oracle, but when it generates the work, flow and target table he put "in the name of the table.
I don't want to, cause when I make a statement Select I have to Brown the "to recover the data.
All suggest?
I think that tehre is something to change in this code:
create table < %=odiRef.getTable ("L", "A", "TARG_NAME") % >
(
< % = odiRef.getTargetColList ("", "\t[COL_NAME]\t[DEST_CRE_DT] NULL","\n", "") % >
)
Am I wrong? What does 'L' and 'A' in the gettable method, where I can find documentation about it?
Thank youODI will generate quotes around the name of the table if it is in mixed or lower case. If this isn't in different cases, then make sure that you have defined it without mixed case in topology and the data model. So, it doesn't have to generate quotes.
For the definition of the 'L' and 'A', search for the method of substitution in the doc, this is all described in there. -
Gidday guys
I implement SQL in my AIR app and got to the point where I have created a table running, and now I want to add data to it.
When adding, I get an error back as the column, I add to does not exist, even if the query that made the table was a success and contains this column.
I was wondering two things...
(a) is a tool available that gives you a Visual representation of your database (such as phpMyAdmin mysql)?
(b) otherwise, how can I get a trace of the structure of the table? I tried a few different bits of code SQL from different places, but they may be specific to the AIR? I found the following code, but am not sure how the asynchronous part in dbScheme()...
Is there a SQL query in the AIR which returns me some info on the table? Thanks for your help.
public void init (): void {}
sqlConn = new SqlConnection ();
sqlConn.addEventListener (SQLEvent.OPEN, connOpenHandler);
sqlFile = new File (File.applicationDirectory.nativePath);
sqlFile = sqlFile.resolvePath ("your_db.db");
sqlConn.open (sqlFile);
}
private void connOpenHandler(event:SQLEvent):void
{
sqlStatement = new SQLStatement();
sqlStatement.sqlConnection = sqlConn;
sqlStatement.addEventListener (SQLErrorEvent.ERROR, errorHandler);
dbScheme();
}
private void dbScheme()
{
trace ("Schema...");
sqlConn.loadSchema ();
var result: SQLSchemaResult = sqlConn.getSchemaResult ();
for (var j = 0; j < result.tables.length; j ++)
{
var array: SQLTableSchema = result.tables [j];
trace ("\tTable:" + table.name)
for (var i = 0; i < table.columns.length; i ++) {}
trace ("\tColumn"+ i + "-"+ table.columns [i] .name);
}
trace("");
}
}
use sqliteadmin: http://sqliteadmin.orbmu2k.de/
-
The IKM selector selection error: IKM SQL for Hyperion Planning
Hello
On the tab 'Flow' of my model, I click on my head to target. Then on the drop down 'Selector IKM', select 'IKM SQL for Hyperion Planning. It gives the error:
Internal error: ODI-15526: IKM IKM SQL for Hyperion Planning not accepted for stage director and target technology
Any ideas? I am really new green on ODI and I am at the end to try to run my dimension build. Any help is appreciated.You must select a transit area which is different to the planning, because this isn't an intermediate technology supported. What you need to do is to go to the tab definition of your interface tick the 'target different transit zone"and then select a relational technology (that is, one that takes supported SQL) in the drop-down list below. If you have no relational db on stage your data and then select ENGINE SUNOPSIS MEMORY which is the memory in DB that is provided as part of the ODI.
-
OutOfMemoryError: GC overhead limit at execution a loading interface directly sql for sql with no work table.
I get the error message: error: exception OutOfMemoryError: higher GC limit exceeded when executing an interface making a direct using IKM SQL for SQL command load Append, source a 150millions lines table.
I have increased the ODI_MAX_HEAP and the interface run longer and failed. I'm already at: ODI_MAX_HEAP = 12560 m I tested with ODI_MAX_HEAP = 52560 m and still error.
I am following up to the memory of the server and I still have available memory...
Apart from the problem of memory I know that this type of load should be possible because the step of data load on LKM SQL to Oracle is able to load the work table $ CAN. Ideally, I want to emulate this behavior by using SQL for SQL IKM.
1 - What is the right path to follow here? (change the parameters of memory or modify the IKM?)
2 - ideas on how to solve the OutOfMemoryError: GC overhead limit exceeded error? (GC means Garbage Collector)
Execution of the IKM interface in the Simulator generates this code:
Load (Source) command:
Select
source - tbl.col1 COL1,
source - tbl.col2 COL2,
source-tbl. "' COL3 ' COL3
of public.source - tbl AS source-tbl
where
(1 = 1)
Default command (Destination):
insert into the source-tbl
(
col1,
col2,
COL3
)
values
(
: COL1,.
: COL2.
: COL3
)
My experience is very limited with ODI so I don't know about changing the code to the KMs
Thanks in advance.
Find a work around the error of generals limit exceeded GC:
-in my case I was running without the IDE so that changes made to the odiparams.sh were not useful.
-This means that I need to change the JVM settings to:
$ODI_HOME/oracledi/client/odi/bin/odi.conf
AddVMOption - XX: MaxPermSize = NNNNM
$$ODI_HOME/oracledi/client/ide/bin/ide.conf
AddVMOption - XmxNNNNM
AddVMOption - XmsNNNNM
Where NNNN is a higher value.
-
IKM SQL for Hyperion Essbase (metadata) - problem when you dial the name of the Member
Hello world
I need to load the metadata to Essbase to a relational database.
Essbase: 9.3, Oracle 9i, ODI 10.1.3.5.0
I have a dimensional table contains the data in the Scenario dimension. The table has 3 columns: code, alias, consolidation.
Example of 2 lines:
Effective law-
BDG budget-
I created a rule file load_scn.rul to update the scenario dimension in my essbase cube and at the launch of the console of administration services it does not work. Each Member has his alias and it is sign of such consolidation as specified in the table.
In ODI
I created an essbase data store, a data store for my table and an interface. The interface uses the knowledge "IKM SQL for Hyperion Essbase (metadata)" module and the load_scn.rul of State of charge.
When I run the interface, it will end successfully, but when I check the Essbase outline, the two members were loaded with the name of name of Member composed of all 3 columns in the table dimensional as a single string line!
I have a member named ' law, real, + "and another called ' bdg, budget,-'."
Members have no alias and peacebuilding is the default ('+') and not '-' as shown in the dimensional table.
Has anyone of you had this problem? If so, how to solve it?
Any help will be very appreciated!
DanielaSounds like in the rule under load in the IKM options you have to have the separator rules comma value and data > defined in the tab, replace it with commas in the rule of data source properties.
See you soon
John
http://John-Goodwin.blogspot.com/ -
IKM SQL file Append-controlled fails when it is used with the Scheduler
Hello
We have an interface in our package where we use IKM SQL file Append-controlled. It is supposed to do an insert/truncate a local file destination. This step fails with the error 7000 run with the Scheduler. Looks like some sort of permission error.
When the package is run manually (in the same location as the Planner), he runs this interface successfully.
Any suggestions?
Wwhen the IKM research, it does not say that the "target file must be physically accessible by sunopsis agent." The file is local to the server running the Scheduler; by operating manually also, it is run from the server.
This is the error to "truncate": step
7000: null: java.sql.SQLException: file not found: \ < filepath > / < Filename > .tsv
java.sql.SQLException: file not found: \ < filepath > / < Filename > .tsv
Any suggestions?
Thank you
Elkaïm
Published by: 784749 on February 1st, 2011 05:47HI -.
Agent ODI connection users that you have provided to the service Windows ODI. If you have not provided one that he would use the native ID (one that was created when installing the OS I think). If you have not provided any newspaper on before its best to provide to a user that has enough previlage.-app
-
Hello, the issue with Microsoft Server-link plan with the execution of query execution
is it possible to map estimated plan (parts) to running query? for example I have a simple query worked 5 minutes already. And I have his plan estimated with 3 main rooms as the clustered index seek for one of join tables, analysis of table to the second table junction and the nested loops join operation that works with two inputs and outputs corresponding rows.can I somehow know what exact SQL Server query execute development plan part is currently - running at this minute - for example is reading pages of data #n - #m with the index clustered or / and match lines key #x - #y.
Hello
I suggest you according to the question in this forum and check if that helps:
http://social.msdn.Microsoft.com/forums/en-us/TransactSQLIt will be useful.
-
Fast and slow when issued by app SQL query on the issue mnaually
Hello
I have a more general question concerning a specific behavior of Oracle.
I update a feature of an application. The application is not responding and I finally put end. I checked Oracle if a request is long running by using the following statement:
Select s.username,s.sid,s.serial#,s.last_call_et/60 mins_running, q.sql_text from v$ session s
Join v$ sqltext_with_newlines q
On s.sql_address = q.address
When status = 'ACTIVE'.
Type <>'BACKGROUND '.
and last_call_et > 60
order of sid, serial #, q.piece
The result of the above query is:
WITH CONNECTION AS (SELECT * FROM WW_CONN C WHERE (C.FID_FROM I))
N (SELECT FID FROM WW_LINE WHERE FID_ATTR =: B1) AND C.F_CLASS_ID
FROM = 22) OR (C.FIDto IN (SELECT FID FROM WW_LINE WHERE FID_AT))
TR =: B1) AND C.F_CLASS_ID_TO = 22)) SELECT MIN (P.FID_ATTR) AS FI
CONNECTION C, WW_POINT D_FROM P WHERE (P.FID = C.FID_FROM A
C.F_CLASS_ID_FROM ND = 32 AND C.FLOW = 1) OR (P.FID = C.FID_TO
C.F_CLASS_ID_TO ND = 32 AND C.FLOW = 2)
I have another tool that shows me the connection parameter values. So I know that the value of: B1 is 5011 - the id of the feature updates. This query runs for 20 minutes and finally more time stops in front of him. The update process involves several sql statements - if it does not have the update, but is part of the process.
Here's the bit I don't understand: when I run the query in SQL Developer with value 5011: B1 it takes 0.5 seconds to return a result.
Why did the sql statement taking so long on the issue by the application, but takes less than one second when I run it manually?
I sent a dump of the data to the vendor of the application that is not able to reproduce the problem in their environment. Could someone explain to me what is happening here or give me key words for the search?
We use 11 GR 2, 64-bit.
Thank you very much
RobHi Rob,
at least, you should see some differences in the statistics for the child cursor different (one for running the application must show at least a higher value for ELAPSED_TIME). I would like to use something like the following query to verify the information for the child cursors:
select sql_id , PLAN_HASH_VALUE , CHILD_NUMBER , EXECUTIONS , ELAPSED_TIME , USER_IO_WAIT_TIME , CONCURRENCY_WAIT_TIME , DISK_READS , BUFFER_GETS , ROWS_PROCESSED from v$sql where sql_id = your_sql_id
Concerning
Martin
-
Short ODI IKM Unique key error
Hello
I am trying to load data in and short 3.1 datadomain through the IKM ODI of short downloaded from delivery. I use ODI 11.1.1.1.7 with IKM SQL for short for 3.1. I managed to solve the problem all the way until step 9 of the dataload
Here are the steps to get that:
Step 1-4 Drop, Create, load, Analyze table work
6 - integration - context properties of loading RecordWriter
7 initialize Logger
8 validate Options
9 initialize short schema (ERROR)
Above step 9 errors with:
org.apache.bsf.BSFException: exception of Jython:
Traceback (most recent call changed):
File "< string >", line 57, < module >
File '< string >", line 15, in throwException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at org.python.core.PyReflectedConstructor.constructProxy(PyReflectedConstructor.java:163)
java.lang.Exception: java.lang.Exception: there is no unique key in the schema
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine (SnpScripting
I'm sure I'm missing something and I can't find it in the documentation. Help, please.
Thanks in advance.
This cased by you did not indicate the unique key in your column of your data store in the models.
1 extend the data store in the models.
2. expand the attributes
3. double-click on the PK column you want
4. click on the Flexfields
5 uncheck "short property is Unique.
Or you do not want to set a short Server Unique key and let the server automatically generate the PK.
You can open your interface and in the configuration of IKM together the value of 'AUTO_GENERATE_RECORSPEC' is true.
-
IKM SQL for Hyperion Essbase (data)
I am trying to load data into essbase through the ODI interface however module "IKM SQL for Hyperion Essbase (data)".
Whenever data gets overwritten, how I accumulate this data during loading. As it is quite difficult for me to summarize the data, then load.
Kind regards
Amine ravi
Use a rule to load and set to add to the existing values in the State of charge, adjustable load rule name in the options of the IKM.
See you soon
John
-
ODI - Size Build for several types of plan
Hello
Application of classical planning on 11.1.2.2
I have a version of dimension for an application with two types of plans. The entity dimension is one of the six required and is shared by the two types of plans. So when I reverse engineer my target planning app in my model target in ODI, there are four new fields. Two fields of aggregation for each plan type and two plan of fields of type for each type of plan. I can then map my SQL Server source that has all four.
However, I have exactly the same to a custom dimension called 'Project' and when I reverse in the dimension of 'Project' target only two fields for the aggregation appear for each type of plan. The Type of Plan of those who are not there so I can't have my model source card.
This is normal and it is assumed that this dimension is shared and the two contours will be updated? Or something is wrong and I should / need to have these "Type Plan" for each type of plan on the target model? The fact is required dimension feature have nothing to do with it? I rechecked and the two Types of Plan are verified in the screen "Administration-> Dimension.
Just confused with ODI runs. No sense sometimes
The two types of plan are updated every hour.
As I said, when loading dimensions in Hyperion Planning with ODI, ODI adapters that connect to the planning will limit the options on the dimension build based on the rules that apply in Hyperion planning.
So what I mean is that if you can not do in planning directly then used ODI will give the option to do either.
Remember you when loading dimensions in planning directly (in the user interface or through ODI) you are loading in planning first and then it is a refresh of Essbase growing dimensions and members to essbase and plan types in Essbase. Loading dimensions in Planning with ODI you're ALWAYS updated of all types of plan. The options you see in ODI on the Plan Types and aggregations are options/parameters for the Member. Its not what type of plan is being updated. The Plan Type of option in the entity dimension is a setting that says: is this valid member for this type of plan. It is to say is that members actually exist in this type of plan. This is not an option to say update the members for that plan type.
But back to what I said about the custom dimensions. Custom dimensions are valid for the Types of Plan, that are set at the level of the dimension. That is to say members of level you can't say member 1 is valid for type 1 and type plan 2 plan and member 2 is valid for the Type 1 Plan. If the dimension is valid for both, then all members of this dimension are valid for both. You can not change at the level of the Member and so if the option is not relevant and ODI has so no need to get this option
I think you're confused as to what Type Plan of ODI fields are actually for. As I say, is not here to say what plan update types. His option to tell whether or not this member exists in this type of plan.
So in your case because the project is valid for the two types of plan, then you don't need to specify the type of plan at the Member level because by default both will be updated, because you do not have the option for both during the loading of the dimension with the help of ODI is not to be updated.
-
Hello
I went through this link:
Ask about the creation and filling I$ table on different condition
But I read in the case of IKM SQL FOR SQL add no I$ table is created.
If this is true please tell me why not I$ is created for this IKM?
So please tell me how the Frother is checked it to Check Knowledge Module (CKM)?
Thank you
Sébastien
PS:
I'm a freshness in tech ODI. So I can fool me please don't bother me1. you need to create a mapping. Next, you need to see the code generated at each stage of all.
Try to analyze it. Then you will have a clear idea.If see vedio carefully as given below, you can find staging area is on the source. So its directly select all the columns in the source tab and the insertion of these value in the tab target. No need to use I$ table. Yet once there is no option of flow_control. You can find the static_control.
http://S3.amazonaws.com/ora/ODI-Simple_SELECT_and_INSERT-interface.swfTo learn more about flow_control and static_control please go through
http://odiexperts.com/flow-control-and-static-control/Thank you.
-
IKM Oracle incremental vs. IKM SQL command Append
We will charge a lot of files at the same TIME (asynchronous mode) on a daily basis. We develop interfaces to load these files in the Oracle database. Data can be sometimes important. What IKM (IKM Oracle incremental update vs. IKM SQL command Append) is best to use in interfaces? If we use IKM SQL append, it a problem if load us several files at the same time (asynchronous mode) this charge table IKM target mode replace. I don't know what is this mode of replace? It truncates the temporary tables for each load?
I would be grateful if someone clarifies and suggest what is the best way to use one of these IKMs in interfaces design.
Thank you
RPHi, PR,
Good to know that your issue has been clarified.
Please close the message if you feel.
Thank you
Guru -
ODI: how to trigger the error return prior to loading in Essbase?
Hi John... If you read my post, I want to say that you impress me! really, thank you for your blog.
Today, my problem is:
-J' received a poor quality of extract of ERP data file
-J' saw the reference table (Source == > target)
-> > How to trigger the error prior to loading in Essbase!
My idea is this, (first of all, I don't know if it's a good thing, and also I have the problem to do in ODI!)
-Step 1: make the JOIN between data.txt and cross-reference Table == > create a DATA_STEP1 table in the ODISTAGING schema (columns of DATA_STEP1 are adding data.txt columns than the table of cross references (... there more than 20 columns in my case))
-Step 2: Control if there is no NULL value in the target column (NULL means that the data.txt file contains the value that are not defined in my Table of cross references) by using the filter (filter = Target_Account IS NULL or Target_Entity IS NULL or...)
The result of this interface is sent to the queue of reject.txt - if reject.txt file is not empty, then a mail is sent to the administrator
-Step 3: do the opposite: filter NOT (Target_Account IS NULL or Target_Entity IS NULL...) == > the result is sent in the DATA_STEP3 Table
-Step 4: run correctly mapping: source: DATA_STEP3 (own and verified data!) with reference Tables and send data into Essbase - NORMALLY, it is not rejected record!
My main problem is: what is the right IKM to send data in the DATA_STEP3 Table, which are the Oracle Table in my scheme of ODISTAGING or DATA_STEP1! I tone with Oracle IKM incremental update but I get error and in fact I don't need an update (which is a time trust), I just need an insert!
"I'm just lookiing for a ' IKM SQL for Oracle...
concerning
XavierCreate a sequence in oracle, you use the sequence in the mapping of your target.
< %="odiRef.getObjectName" ("l",="">
"," ","< d="" ou="" w="">") %>.nextval" so, for example, it might be
<%=odiRef.getObjectName("L","DATASEQUENCE","DATALOGICALSCHEMA","D")%>.nextval
Make sure that you run the mapping target or intermediary.
See you soon
John
http://John-Goodwin.blogspot.com/
Maybe you are looking for
-
Total charge for Skype to Go!
I just want to go right. I live in Singapore, and my mobile phone operator is SingTel. I want to call my mother in India. I went in its details and obtained a number of Singapore as its Skype to go. Then when I call this number, what are the fees tha
-
Hello I encountered a problem, that I was hoping I could get feedback. In my VI that I create, we have a series of valve opening and closing followed delays to allow a reaction. However, in terms of security although these reactions are going out the
-
Why are there no microsoft meets bucket fault?
-
Vista frozenwon can't go to the login page
Palyin game last night and suddenly frozenot the first time, he didnow its so bad that when its time to go to connect it just does nothingWhile even in safe mode
-
HP Envy 5530 cannot print even if the connected printer
I installed the HP Envy 5530 series software on my Mac, OS 10.9.3 computer. I get a message that the printer is not connected. I ran the tests wireless network, everything going. I even reinstalled the software. I am able to print successfully