Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all 5653 articles
Browse latest View live

Is there a way to uninstall XS Advanced Runtime?

$
0
0

We seem to be having problems with having restored a backup of identical version of HANA 112.02 with the XS Advanced enabled on another HANA 112.02 system with different SYSTEM and XSA_ADMIN credentials. We wanted to uninstall XSA but there seems not to be a native hdblcm support for uninstallation until SPS12 based on some resources. Has anyone have experience on managing such uninstallation without uninstalling the whole DB instance? Currently the XS Controller is not starting and logs points out to authentication failure. We tried changing the passwords for XSA_ADMIN, SYSTEM to match but it did not help.

 

I have seen a link below in SCN but I am looking for something a little less invasive if there is a way.

 

https://scn.sap.com/thread/3874554


Thanks in advance.


How to build XS APPLICATION to upload Excel to HANA DB Table

$
0
0

Hi Experts,

 

I am very new to HANA and currently working on a solution to upload a Excel file to HANA DB table via XS APPLICATION.

 

These are the steps which I have completed so far:

 

Step 1: Create HCP trail account

Step 2: Create HANA DB within HCP enviroment

Step 3: Connect to  HANA DB (HCP)  using Eclipse

Step 4: Create a XS Project> Create Schema>Create KPI_MASTER_TABLE

 

 

Outstanding steps:

 

Step 5: Create XS application to upload the Excel file from an URL link to KPI_MASTER_TABLE

 

Which possibilities are there to successfully cover step 5?

Any advise or solution is appreciated.

 

 

Thanks in advance.

 

 

Cheers,

 

Rabie

Converting a hdbtable

$
0
0

Hi,

 

I have created a hdb table of row type and could any one let me know how it can be converted to a column table.

 

Thanks in advance.

 

 

Regards,

Jyothirmayi

Create a user in Tenant DB via Cockpit

$
0
0

Hello Experts,

 

Is it possible to create users in the Tenant DBs or manage Roles of Tenant DBs via Cockpit.

 

if a user exists only in tenant DB, can that user access cockpit ?

HANA to Oracle

$
0
0

Hi,

 

Can I use DMO to migrate from my BW-HANA to BW-Oracle? I have done it the other way round, but not sure of migrating HANA to Oracle.


Thanks

Column Store Error on importing schema

$
0
0

Hi,

 

I am trying to migrate schema from one hana instance (SPS 8) to another instance (SPS 9) using EXPORT/IMPORT. I exported the schema to a folder and then copied the folder to new hana instance via scp. When I try to import the schema using the import command as follows it gives the following error.

 

IMPORT "SCHEMA"."*" AS BINARY from '/Backup/Export/'  (also tried with Rename option)

 

Error generated is:

Could not execute 'IMPORT "SCHEMA"."*" AS BINARY from .........

SAP DBTech JDBC: [2048]: column store error: table import failed:  [30151] Object not found in the import directory;object=TN:Rolesen

 

It appends en to the not found table names. The table name is "Roles". Also when I see the indexserver trace file it contains the error:

ImportExport.cpp(03287) : Import location does not exist: /Backup/Export//index/TN/Roles

 

Also, its confusing to me that why is it looking for Roles in index because Roles is a Row store table and in index folder only column store tables are present.

Moreover, inside index folder there are many sub-folders like Be,Se,Ge, so on... and inside them there are further sub-folders for tables but according to error statement in trace file it seems it is looking for Roles table directly in TN folder inside index.

 

Can anyone suggest if i am doing the migration right way or what is going wrong here?

I also tried removing all kinds of interdependencies on other user defined schemas in SPS 8 using the "SYS"."OBJECT DEPENDENCIES" table but still the same error.

 

TIA,

Nikhil

Copy HANA Views across schemas

$
0
0

Hi Experts,

 

I have a requirement where I need to make 20 HANA views with same set of ECC tables and with same logic of derivation. I have graphical view for one schema and I need to create similar views for all remaining 19 schemas.

 

Now I want to know any script or way where I do not need to recreate views manually.

 

Can I simply copy and replace schema names in the definition of the graphical calculation views? Is there any way to edit the defnition of graphical calculation views in background?

 

Regards,

Shiwesh

2 billion row limit?

$
0
0

I am new to SAP HANA and came across several issues when handling large tables (>2 billion rows).

 

 

As far as I understood, such tables need to be partitioned when written but apart from that on does not need to bother. Therefore I am quite surprised to run constantly into trouble when querying large tables. Regardless of performance-reasons to split such large tables, I am wondering whether there is really no other option.

 

 

To be more specific, I am working in the following setup:

- A table "T" with primary key "a" and roughly 2.2 billion rows

- A table "S" with several million rows

- A decomposition of "T" into "T1 and "T2" of similar size such that T=T1 union T2

 

On these tables the following statements fail:

 

1.

select T.a, S.a

from T

inner join S

on T.a=S.a

 

--> SAP DBTech JDBC: [2048]: column store error: search table error:  [2598] column search intermediate result exceeds 2 billion rows limitation

 

 

 

2.

select b, count(a)

from (

    select a, b from T1

    union

    select a, b from T2

);

 

--> SAP DBTech JDBC: [2048]: column store error: search table error:  [34104] Intermediate result is too large in CalculationEngine.

 

 

 

3.

create column table MYTABLE as (

    select a from T

) partition by roundrobin partitions 16;

 

--> [129]: transaction rolled back by an internal error: exception 10001001: Search result size limit exceeded: 2236482994

 

 

 

In general, it appears that large tables (>2 billion rows) can be handled whenever they are already partitioned and written. In contrast, when they are created during a query (e.g. by an outer join or a union), HANA mostly terminates with an errror.

Is this behaviour intended by HANA?

Is there an explicit rule what HANA can handle?

Are there hints or other routines to overcome the described issues?

 

 

I really appreciate any clarifications.

 

Cheers,

 

 

Mapkyc


disk size on /vol_HDB/shared

$
0
0

Hi all,

 

When I check disk usage, I observe that 94% on the /vol_HDB/shared volume.


But this time it is coming from following directories

22G on /vol_HDB/shared/HDB/global/hdb/log/mnt00001/

14G on /vol_HDB/shared/HDB/exe/


When I have a look at /vol_HDB/shared/HDB/global/hdb/log/mnt00001/

I see that there are 4 directories (hdb00001, hdb00002, hdb00003, hdb00004) and in each directory there are some dat files also says DO_NOT_TOUCH_FILES_IN_THIS_DIRECTORY as you can see below in the pic.

 

So I didn't delete these dat files. Should I delete them to make more free space or what do you suggest to me? Or is it normal to have 94% on /vol_HDB/shared ?

 

2016-05-25_20-01-27.png

 

Thanks,

Inanc

Understanding authentication trace errors

$
0
0

Hello,

 

I am attempting to enable SSO for an application and have limited visibility into the HANA side of things. I have the authentication trace, and though I understand what the strings mean in general, I'm hoping to get a more verbose description and understanding of the entire process.

 

Relevant snippet:

[68075]{-1}[-1/-1] 2016-05-24 19:19:11.723751 i Authentication ManagerAcceptor.cpp(00206) : Extending list of expected external names by someusername@somecompany.com (method: GSS)

[68075]{-1}[35/-1] 2016-05-24 19:19:11.723977 i Authentication AuthenticationInfo.cpp(00211) : Found no user with expected external name!

[68075]{-1}[-1/-1] 2016-05-24 19:19:11.724049 d Authentication ManagerAcceptor.cpp(00273) : Injecting logon name into method:

[68075]{-1}[-1/-1] 2016-05-24 19:19:11.724054 d Authentication MethodGSSAcceptor.cpp(00047) : ENTER evaluate, status=INITIAL

[68075]{-1}[-1/-1] 2016-05-24 19:19:11.724065 d Authentication MethodGSSAcceptor.cpp(00152) : parseInput: mechanism=Kerberos 5

[68075]{-1}[-1/-1] 2016-05-24 19:19:11.724081 d Authentication MethodGSSAcceptor.cpp(00179) : checkUserPrincipalName: name type=GSS_KRB5_NT_PRINCIPAL_NAME

[68075]{-1}[-1/-1] 2016-05-24 19:19:11.724084 w Authentication MethodGSSAcceptor.cpp(00193) : checkUserPrincipalName: User Principal Name != External Name! UPN=someusername@somecompany.com, EN=

[68075]{-1}[-1/-1] 2016-05-24 19:19:11.724087 w Authentication MethodGSSAcceptor.cpp(00070) : evaluate: check UPN failed

...

[68075]{-1}[-1/-1] 2016-05-24 19:19:11.725645 i Authentication SAMLAuthenticator.cpp(00400) : Unable to verify XML signature

[68075]{-1}[-1/-1] 2016-05-24 19:19:11.725658 d Authentication ManagerAcceptor.cpp(00273) : Injecting logon name into method:

[68075]{-1}[-1/-1] 2016-05-24 19:19:11.725675 d Authentication SAPLogonManager.cpp(00360) : Store chosen for assertion ticket validation: /usr/sap/HD1/HDB01/somehost.somesite.somecompany.com/sec/saplogonSign.pse

[68075]{-1}[-1/-1] 2016-05-24 19:19:11.725749 w Authentication SAPLogonManager.cpp(00504) : The base64 decode of the received ticket failed. SSO_RC return value: 1281

[68075]{-1}[-1/-1] 2016-05-24 19:19:11.725755 d Authentication SAPLogonManager.cpp(00513) : Use SSO Validation PSE >>>/usr/sap/HD1/HDB01/somehost.somesite.somecompany.com/sec/saplogonSign.pse<<<

 

What I want to understand is if, when the service account connects to HANA on behalf of the user using the application, the failure for the service account to be identified switches to the the credentials for that particular user that is initially represented by the service account. I can see the UPN doesn't match the external name and it fails, but is that for the service account or is the second "Injecting logon name into method" the switch to the other credentials? Specifically, if it's failing early in this process, is it continuing through these steps, guaranteed to fail, or is it iterating through other options (i.e., first tries service account, fails, then passes user credentials)?

 

Last of all, the message that "the base64 decode of the received ticket failed" suggests the ticket is not properly formatted. Is this the case with this message or do the cumulative failures above return this, as it results in inability to even get so far as to decode it?

 

I am relatively new to HANA so please forgive my ignorance. Any help anyone can offer is appreciated.

 

R

Calculation View - Transporting Labels-Multiple Languages

$
0
0

Hello guys,

 

We have developed many global reports, using Multiple Languages labels according sap help ( http://help.sap.com/saphelp_hanaplatform/helpdata/en/f7/29a2d8921940f4b786fe306abde09c/content.htm ) and that works fine in development enviroment.

 

Landscape: SAP HANA  SP10

translate_languages.png

 

But after to transport it, the translated texts does not appear in quality enviroment. I have also checked on target system and the translated texts are not in ["_SYS_REPO"."ACTIVE_CONTENT_TEXT_CONTENT"] table.

 

translate_languages_empty.png

 

What is necessary to transport these translated texts ? We have tried two options: Delivery Unit and Import/Export content.

 

 

Steps for Reconstruction this issue:

- Create Calculation View

- Create Translated texts

- Transport to another HANA environment

- Run report based on calculation view

- Change language of internet browser

 

Regards,

Rodrigo

Try to register DP agent to HANA Server - connection problem

$
0
0

Hello community :-)!

 

I am quite new to all the SDI topic and I try to register my freshly installed SAP HANA Data Provisioning Agent with the HANA Server for the first time.

 

I was following the guide available here:

 

http://help.sap.com/download/multimedia/hana_options_eim/SAP_HANA_EIM_Administration_Guide_en.pdf

 

So I have the sufficient user rights. I can connect to the HANA, see all the Adapters, but when I click on Register Agent, give a name (in this example agent_dev01) and type in the hostname I  just get as an Error Message the following:Capture.PNG

 

Is this maybe a problem with the 5050 port (as I used the default one?), that it might be blocked or is there any other possibility what could be wrong here?!

 

I would be grateful for every little help!

 

Thanks in advance!
Max

HANA XSJS/XSOData

$
0
0

Hi,

 

Couple of questions related to XSJS..

 

We use some xsjs and xsodata endpoints which invokes procedure or calc views in HANA content and gets result in JSON format to bind to UI.

 

How can we test the data flow b/w XSJS (or XSOData) and HANA views/procedures.? 

Is there any way to test this flow without UI dependency?

How to debug the XSJS/XSOData endpoint in HANA Studio?

 

Appreciate the responses ... !

 

Regards,

Bala

Migrate "HANA x86" to "HANA on Power" - DMO?

$
0
0

Hi,

 

We like migrate our CRM on HANA x86 based systems to CRM on HANA on Power. Unfortunately the different endian of the technologies makes a backup/restore not possible so a migration is required.

 

We wanted to use SUM, but the SUM sp14 note states that HANA is the only DB it cannot use as source systems. This should really be an option for this type of migration I believe!

 

So the only other migration option seems to  be a DB/OS migration (import/export) from the one HANA to the other I guess.  If this can be done then surely DMO should be able to handle this too???

 

Is there anyone who has done this type of migration or who can give some educated advice?  Perhaps the SUM with DMO will work regardless?

 

Many thanks in advance,

Adriaan.

How to select multiple values from table While using Input Parameters derived from table..?

$
0
0

Hello Experts,

When i tried to create calculated column using Input Parameters with 'Parameter Type:Derived from Table', input parameter  returns the single value instead of multiple values. where as i can see multiple entries in back end table for the same selection.can  you Please help me in resolving this issue.

 

Here is the snap shots

1. Created the input parameter derived form table. (Here multiple entries box is grayed out)

IP1.JPG

2. I have include the input parameter in calc. column to display the result

CC1.JPG

 

3. If you see the data displayed in Graphical cal. view, it is resulting single value olnly. where as in back end table i have 11 entries for the same selection/Filter. Please find the below snapshot,

 

Data in HANA View, ( Here only   1 value fetched)

HV.jpg

Data in Back end table  ( 11 Entries Fetched)

BT.JPG


Postgresql to Hana data migration

$
0
0

Hi,

 

I am new to the HANA, is there any article which supports data migration from postgresql to HANA database. This is about abstract level question.

 

In specific I have one doubt about bytearray in postgresql which is used to store image information. Now I want to copy this data to Hana instance. For that I converted postgresql table to CSV file and I import this file into the SYSTEM schema as some table by HANA Studio. At the time of datatype mapping, Hana takes bytearray as blob. But the data which is in CSV file is in text format (correct me if I am wrong), it means ASCII format. Right? But BLOB is for Binary Large Object. So when I am trying to copy the text file (which is in ASCII) how Hana converts it to binary or byte data. As I am trying to fetch the same data from java program through JDBC connection. The program is working fine for postgresql for bytearray. But in case of blob from hana its not. I tried to fetch the blob and then convert it to bytearray.

Its simple blob.getBytes and following methods from http://docs.oracle.com/javase/6/docs/api/java/sql/Blob.html. While debugging I find that object size is retrieving like 4770 bytes (or some thing). but while accessing that object image is not getting created. If byteArray object is really fetched without any error, then I should have get the images properly. But in my case no error or exception from application point of view and no output.

 

Clear me on, Blob only accepts binary data or we can also give CSV file like explained above.

Kindly help me on this.

 

Thanks

Tirumala Srinivas Pujyam

Export HANA roles

$
0
0

Hello, we are on HANA rev 102 and would like to export roles from Dev and Import to Quality using CTS+, would anyone have the steps on how to do the same .

 

Thank you

Jonu Joy

Error while launching HANA studio - Need resolution.

$
0
0

All,

 

I am getting below error while launching HANA studio.

 

 

Capture.JPG

When HANA studio is opened and system gets shutdown/restart without closing HANA studio. Above error comes.

 

I tired deleting file inside:c:\users\userid\hdbstudio\ .metadata.

 

Resolution is interesting here as we have VPC server(Citrix) we do not have admin rights.So now when admin rights are assign to me temp. and rebooted the system issues gets resolved.

 

But its against compliance I cant have admin rights its just temp.

 

HANA studio is installed with admin rights and later revoked. Normally HANA studio works but when anything opended and system gets closed/restarted I am getting above error.

 

 

so what is permanenet solution to this problem?

with out getting admin rights, how I can resolved this issue ?

 

 

Log file(also attached):

 


Capture.JPG

 

 

Regards,

Jeetendra

HANA Studio Authorization Error

$
0
0

Dear experts,

 

May I know which authorization that I need for below error?

 

 

 

Thank you.

 

Regards,

Fadzly Iqbal

Add host failed

$
0
0

Hi,

 

I tried to add host into my existing HANA system, but  received below errors:

 

Header 1

06:28:21.600 - INFO: -----------------------------------------------------------

06:28:21.600 - INFO: Adding additional host to SAP HANA Database...

06:28:21.600 - INFO: -----------------------------------------------------------

06:28:21.601 - INFO:   Starting external program /hana/shared/TDB/global/hdb/install/bin/hdbmodify

06:28:21.601 - INFO:     Command line is: /hana/shared/TDB/global/hdb/install/bin/hdbmodify -b --instlog_dir=/var/tmp/hdb_TDB_hdblcm_add_hosts_2016-05-30_06.27.42 --addhosts=c9t22875:role=worker:group=default --sid=TDB --nostart=0 --root_user=root --sapmnt=/hana/shared --install_ssh_key=1 --skip_hostagent_password=1 --remote_execution=ssh --install_hostagent=1 --read_password_from_stdin=xml

06:28:23.177 - INFO:     Output line 1:

06:28:23.177 - INFO:     Output line 2:

06:28:23.177 - INFO:     Output line 3: SAP HANA Lifecycle Management - hdbmodify_addhosts  1.00.102.02.1446663129

06:28:23.177 - INFO:     Output line 4: **************************************************************************

06:28:23.177 - INFO:     Output line 5:

06:28:23.274 - INFO:     Output line 6:

06:28:23.274 - INFO:     Output line 7: System Properties:

06:28:23.274 - INFO:     Output line 8: TDB /hana/shared/TDB HDB_ALONE

06:28:23.274 - INFO:     Output line 9:         HDB01

06:28:23.274 - INFO:     Output line 10:        version: 1.00.102.02.1446663129

06:28:23.275 - INFO:     Output line 11:        host: c9t22874.ijsc.testcorp.net (Database Worker (worker))

06:28:23.275 - INFO:     Output line 12:

06:28:23.804 - INFO:     Output line 13: Start reading from input channel...

06:28:23.810 - INFO:     Output line 14: ... Done.

06:28:23.847 - INFO:     Output line 15: Modifying configuration of SAP HANA System 'TDB'...

06:28:23.868 - INFO:     Output line 16:

06:28:23.869 - INFO:     Output line 17: Summary before execution:

06:28:23.869 - INFO:     Output line 18:    Installation Path: /hana/shared

06:28:23.869 - INFO:     Output line 19:    SAP HANA System ID: TDB

06:28:23.869 - INFO:     Output line 20:    Additional Hosts: c9t22875:role=worker:group=default

06:28:23.869 - INFO:     Output line 21:    Enable the installation or upgrade of the SAP Host Agent: Yes

06:28:23.869 - INFO:     Output line 22:    Remote Execution: ssh

06:28:23.869 - INFO:     Output line 23:    Root User Name: root

06:28:23.869 - INFO:     Output line 24:

06:28:23.873 - INFO:     Output line 25: Adding additional host...

06:28:23.895 - INFO:     Output line 26: Adding host 'c9t22875'...

06:28:26.616 - INFO:     Output line 27: Reconfiguring SAP HANA system failed!

06:28:26.617 - INFO:     Output line 28:   Add hosts:

06:28:26.617 - INFO:     Output line 29:     Creating a multiple host system failed

06:28:26.617 - INFO:     Output line 30:       Adding host 'c9t22875' failed!

06:28:26.618 - INFO:     Output line 31:         Add host failed

06:28:26.618 - INFO:     Output line 32:           Running in batch mode

06:28:26.618 - INFO:     Output line 33:             Wrong password

06:28:26.618 - INFO:     Output line 34:               AccessCheck request failed: Permission denied

06:28:26.619 - INFO:     Output line 35:

06:28:26.642 - INFO:     Output line 36: Log file written to '/var/tmp/hdb_TDB_hdblcm_add_hosts_2016-05-30_06.27.42/hdbmodify_addhosts.log' on host 'c9t22874.ijsc.testcorp.net'.

06:28:26.891 - INFO:     Program terminated with exit code 1

06:28:26.892 - INFO: -----------------------------------------------------------

06:28:26.892 - INFO: END: End adding additional host to SAP HANA Database (start: 06:28:21.600 duration: 00:00:05.292)

06:28:26.892 - INFO: -----------------------------------------------------------

06:28:27.886 - ERR : Addition of hosts to the SAP HANA system failed.

06:28:28.038 - INFO: Summary of critical errors

06:28:27.886 - ERR :   Addition of hosts to the SAP HANA system failed.

06:28:26.895 - ERR :     Error occurred while executing Add Additional Hosts to SAP HANA System.

06:28:26.893 - INFO:       Reconfiguring SAP HANA system failed!

06:28:26.893 - INFO:         Add hosts:

06:28:26.894 - INFO:           Creating a multiple host system failed

06:28:26.894 - INFO:             Adding host 'c9t22875' failed!

06:28:26.894 - INFO:               Add host failed

06:28:26.894 - INFO:                 Running in batch mode

06:28:26.894 - INFO:                   Wrong password

06:28:26.895 - INFO:                     AccessCheck request failed: Permission denied

 

It seems like failed with wrong password, I tried so many ways including configure root ssh equivalent, changing root password, setup saphostagent in the new node and install with --remote_execution=saphostagent, but nothing work, appreciate if anyone can help here.

 

Thanks

 

regards

Viewing all 5653 articles
Browse latest View live