Incremental Design error
I am using Vertica 7.0. However I did not encounter this problem in Vertica 6.0, the problem is related to the incremental design from database designer. When I run the incremental design in admintools, after setting related parameter ( input and output file ) the design operations starts but throws an exception immediately: Database Designer started. For large databases a design session could take a long time; allow it to complete uninterrupted. Use Ctrl+C if you must cancel the session. Setting up design session... --- 2014-01-07 13:12:58 --- Raised error: Traceback (most recent call last): File "/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/designer/Designer.py", line 454, in _handle_exception raise pException KeyError: 'DesignPolicy' LOG FILE: /home/dbadmin/dbd_log//designer.log REPORT THIS INFORMATION TO TECHNICAL SUPPORT AND INCLUDE CONTENTS OF THE LOG FILE IN YOUR REPORT --- designer.log content is below ---- Starting database designer ... 2014-01-07 13:12:54 [Designer.run] starting with parameters: 2014-01-07 13:12:54 [Designer._run] Beginning 2014-01-07 13:12:54 [Designer.init] Beginning: self.interactive=True 2014-01-07 13:12:54 Database Designer started. 2014-01-07 13:12:54 [Designer.fPrint] Output: Database Designer started. 2014-01-07 13:12:54 [Designer.validateSearchPath]: Validating path public 2014-01-07 13:12:54 [Designer.send_sql_text] Sending SQL: set search_path=public; 2014-01-07 13:12:54 [Designer.sendCommand] Sending commands in /home/dbadmin/dbd_log//command.sql 2014-01-07 13:12:54 Setting search path: SET search_path=public,public; 2014-01-07 13:12:54 [Designer.sendCommand] Executing: set search_path=public; 2014-01-07 13:12:54 [Designer.sendCommand] Status: 0. Result: ['SET'] 2014-01-07 13:12:55 Schema search path validated: public 2014-01-07 13:12:55 Sending export catalog request 2014-01-07 13:12:55 [Designer.sendCommand] Sending commands in /home/dbadmin/dbd_log//command.sql 2014-01-07 13:12:55 Setting search path: SET search_path=public,public; 2014-01-07 13:12:55 [Designer.sendCommand] Executing: select export_catalog('/home/dbadmin/dbd_log//catalog_dump.sql', 'design' ); 2014-01-07 13:12:55 [Designer.sendCommand] Status: 0. Result: ['Catalog data exported successfully', ''] 2014-01-07 13:12:55 [Designer.sendCommand] Executing: select export_catalog('/home/dbadmin/dbd_log//schema_dump.xml', 'projections'); 2014-01-07 13:12:55 [Designer.sendCommand] Status: 0. Result: ['Catalog data exported successfully', ''] 2014-01-07 13:12:55 For large databases a design session could take a long time; allow it to complete uninterrupted. 2014-01-07 13:12:55 [Designer.fPrint] Output: For large databases a design session could take a long time; allow it to complete uninterrupted. 2014-01-07 13:12:55 Use Ctrl+C if you must cancel the session. 2014-01-07 13:12:55 [Designer.fPrint] Output: Use Ctrl+C if you must cancel the session. 2014-01-07 13:12:55 Setting up design session... 2014-01-07 13:12:55 [Designer.fPrint] Output: Setting up design session... 2014-01-07 13:12:55 [Designer.send_sql_text] Sending SQL: select dbd_create_workspace('inc',True); 2014-01-07 13:12:55 [Designer.sendCommand] Sending commands in /home/dbadmin/dbd_log//command.sql 2014-01-07 13:12:55 Setting search path: SET search_path=public,public; 2014-01-07 13:12:56 [Designer.sendCommand] Executing: select dbd_create_workspace('inc',True); 2014-01-07 13:12:56 [Designer.sendCommand] Status: 0. Result: ['0'] 2014-01-07 13:12:56 cancelExecution called 2014-01-07 13:12:56 [Designer.send_sql_text] Sending SQL: select dbd_remove_design('inc','inc'); 2014-01-07 13:12:56 [Designer.sendCommand] Sending commands in /home/dbadmin/dbd_log//command.sql 2014-01-07 13:12:56 Setting search path: SET search_path=public,public; 2014-01-07 13:12:56 [Designer.sendCommand] Executing: select dbd_remove_design('inc','inc'); 2014-01-07 13:12:56 [Designer.sendCommand] Status: 0. Result: ['ERROR 3480: Given design inc does not exist'] 2014-01-07 13:12:57 [Designer.send_sql_text] Sending SQL: select dbd_drop_design('inc','inc'); 2014-01-07 13:12:57 [Designer.sendCommand] Sending commands in /home/dbadmin/dbd_log//command.sql 2014-01-07 13:12:57 Setting search path: SET search_path=public,public; 2014-01-07 13:12:57 [Designer.sendCommand] Executing: select dbd_drop_design('inc','inc'); 2014-01-07 13:12:57 [Designer.sendCommand] Status: 0. Result: ['ERROR 3480: Given design inc does not exist'] 2014-01-07 13:12:57 [Designer.send_sql_text] Sending SQL: select dbd_drop_workspace('inc'); 2014-01-07 13:12:57 [Designer.sendCommand] Sending commands in /home/dbadmin/dbd_log//command.sql 2014-01-07 13:12:57 Setting search path: SET search_path=public,public; 2014-01-07 13:12:58 [Designer.sendCommand] Executing: select dbd_drop_workspace('inc'); 2014-01-07 13:12:58 [Designer.sendCommand] Status: 0. Result: ['0'] 2014-01-07 13:12:58 --- 2014-01-07 13:12:58 --- Raised error: Traceback (most recent call last): File "/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/designer/Designer.py", line 454, in _handle_exception raise pException KeyError: 'DesignPolicy' LOG FILE: /home/dbadmin/dbd_log//designer.log REPORT THIS INFORMATION TO TECHNICAL SUPPORT AND INCLUDE CONTENTS OF THE LOG FILE IN YOUR REPORT 2014-01-07 13:12:58 [Designer.fPrint] Output: --- 2014-01-07 13:12:58 --- Raised error: Traceback (most recent call last): File "/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/designer/Designer.py", line 454, in _handle_exception raise pException KeyError: 'DesignPolicy' LOG FILE: /home/dbadmin/dbd_log//designer.log REPORT THIS INFORMATION TO TECHNICAL SUPPORT AND INCLUDE CONTENTS OF THE LOG FILE IN YOUR REPORT
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.