Hi,
In preparation for converting an existing single containter HANA DB from single container mode to multitenant I migrated the statistics server, per SAP Note 1917938. All checks detailed in the note and associated documentation were successful during the migration of the statistics server. Therefore, I proceeded with the multitenant database conversion. After the multitenant database conversion, I receive the following error in HANA Studio:
SAP DBTech JDBC: [259] (at 42): invalid table name: Could not find table/view STATISTICS_CURRENT_ALERTS in schema _SYS_STATISTICS: line 1 col 43 (at pos 42)
com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: [259] (at 42): invalid table name: Could not find table/view STATISTICS_CURRENT_ALERTS in schema _SYS_STATISTICS: line 1 col 43 (at pos 42)
at com.sap.db.jdbc.exceptions.SQLExceptionSapDB.createException(SQLExceptionSapDB.java:345)
at com.sap.db.jdbc.exceptions.SQLExceptionSapDB.generateDatabaseException(SQLExceptionSapDB.java:176)
at com.sap.db.jdbc.packet.ReplyPacket.buildExceptionChain(ReplyPacket.java:102)
at com.sap.db.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:1033)
at com.sap.db.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:823)
at com.sap.db.jdbc.StatementSapDB.sendCommand(StatementSapDB.java:896)
at com.sap.db.jdbc.StatementSapDB.sendSQL(StatementSapDB.java:945)
at com.sap.db.jdbc.StatementSapDB.execute(StatementSapDB.java:256)
at com.sap.db.jdbc.StatementSapDB.execute(StatementSapDB.java:228)
at com.sap.db.jdbc.trace.Statement.execute(Statement.java:132)
at com.sap.ndb.studio.jdbc.util.SQLExecutor$1.run(SQLExecutor.java:118)
The traces files are also logging the following message:
exception throw location:
1: 0x00007f499ac0f7c0 in StatisticsService::CallInterfaceDirect::install()+0x2b0 at CallInterfaceDirect.cpp:243 (libstatisticsserver2.so)
2: 0x00007f499aa071ba in StatisticsService::NameServerControllerThread::run(void*)+0xd6 at NameServerControllerThread.cpp:306 (libhdbns.so)
3: 0x00007f4990860594 in TrexThreads::PoolThread::run()+0x810 at PoolThread.cpp:256 (libhdbbasement.so)
4: 0x00007f4990862070 in TrexThreads::PoolThread::run(void*&)+0x10 at PoolThread.cpp:124 (libhdbbasement.so)
5: 0x00007f49822e5759 in Execution::Thread::staticMainImp(void**)+0x875 at Thread.cpp:492 (libhdbbasis.so)
6: 0x00007f49822e63bd in Execution::Thread::staticMain(void*)+0x39 at ThreadMain.cpp:26 (libhdbbasis.so)
[46268]{-1}[-1/-1] 2015-04-30 14:49:21.124089 e STATS_WORKER CallInterfaceDirect.cpp(00216) : error updating installation state with statement "update _SYS_STATISTICS.STATISTICS_PROPERTIES set value='Done (error) since '||current_utctimestamp where key='internal.installation.state'", exception 9002003: Unknown catalog object.
[46268]{-1}[-1/-1] 2015-04-30 14:49:21.124157 e STATS_CTRL NameServerControllerThread.cpp(00327) : error installing: exception 1: no.9002004 (StatisticsServerAsSQLScript/global/CallInterfaceDirect.cpp:243)
Error during installation: exception 9002002: Duplicate catalog object.
I have not been able to find any documentation on this error. What do I need to do to resolve it?
Thanks in advance for your help!
Best Regards,
Tommye Horton