Guy Segev resolved HHQ-5761.
-
Resolution: Fixed
.h3 Root Cause:
hq-migrate.bat script had no affect on the ant's Xmx settings which by default were too small for the given dataset
.h3 Fix:
1. set 1024 as the default size (and ensured that it actuall affects the ant's JVM setting)
2. Added cmd arguments analysis and if the -Dscale=true was found, set the Xmx to 5000m
Migration -the export db failed in windows.
-------------------------------------------
Key: HHQ-5761
URL: https://jira.hyperic.com/browse/HHQ-5761
Project: Hyperic HQ
Issue Type: Bug
Components: Installation / Upgrade
Affects Versions: 5.7
Environment: builds/daily/HQEE-HQ57EEDAILY-JOB1/9/
build release 4.6.5
windows 2008, oracle 10.2
Reporter: rivka pints (c)
Assignee: Mayan Weiss
Priority: Critical
Migration -the export db failed in windows.
steps:
install hyperic server in windows + oracle external db
stay to work some days 2-3
do migrate to the server: hq-migrate.bat hq-export -Dhqserver.install.path=c:\hyperic\server-4.6.5-EE -Dstaging.dir=c:\hyperic
excpted result:
export data build will created within a few minutes
actual result:
the migrate script is stuck and throw exceptions:
[JIRA] (HHQ-5761) Migration -the export db failed in windows. rivi pints: [JIRA] (HHQ-5761) Migration -the export db failed in windows.org.hyperic.tools.dbmigrate.TableExporter$Worker : an Error had occured while processing entity: BigTable [tableName=HQ_METRIC
[JIRA] (HHQ-5761) Migration -the export db failed in windows. java.sql.SQLException: Protocol violation
[JIRA] (HHQ-5761) Migration -the export db failed in windows. at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:459)
[JIRA] (HHQ-5761) Migration -the export db failed in windows. at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
[JIRA] (HHQ-5761) Migration -the export db failed in windows. at oracle.jdbc.driver.T4C7Ocommoncall.doOROLLBACK(T4C7Ocommoncall.java:68)
[JIRA] (HHQ-5761) Migration -the export db failed in windows. at oracle.jdbc.driver.T4CConnection.doRollback(T4CConnection.java:649)
[JIRA] (HHQ-5761) Migration -the export db failed in windows. at oracle.jdbc.driver.PhysicalConnection.rollback(PhysicalConnection.java:3877)
[JIRA] (HHQ-5761) Migration -the export db failed in windows. at org.hyperic.tools.dbmigrate.Forker$ForkWorker.call(Forker.java:144)
[JIRA] (HHQ-5761) Migration -the export db failed in windows. at org.hyperic.tools.dbmigrate.Forker$ForkWorker.call(Forker.java:97)
[JIRA] (HHQ-5761) Migration -the export db failed in windows. at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
[JIRA] (HHQ-5761) Migration -the export db failed in windows. at java.util.concurrent.FutureTask.run(FutureTask.java:138)
[JIRA] (HHQ-5761) Migration -the export db failed in windows. at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[JIRA] (HHQ-5761) Migration -the export db failed in windows. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[JIRA] (HHQ-5761) Migration -the export db failed in windows. at java.lang.Thread.run(Thread.java:662)
[JIRA] (HHQ-5761) Migration -the export db failed in windows. ----------------- [Table[HQ_METRIC_DATA_8D_0S];Partition[8]]: File streamer finished succesfully
[JIRA] (HHQ-5761) Migration -the export db failed in windows. [pool-1-thread-1[13.Close()]]: before joining
[JIRA] (HHQ-5761) Migration -the export db failed in windows. [pool-1-thread-1[13.Close()]]: after join, isAlive=false
[JIRA] (HHQ-5761) Migration -the export db failed in windows. java.sql.SQLException: Protocol violation
[JIRA] (HHQ-5761) Migration -the export db failed in windows. at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:459)
[JIRA] (HHQ-5761) Migration -the export db failed in windows. at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
[JIRA] (HHQ-5761) Migration -the export db failed in windows. at oracle.jdbc.driver.T4C7Ocommoncall.doOLOGOFF(T4C7Ocommoncall.java:61)
[JIRA] (HHQ-5761) Migration -the export db failed in windows. at oracle.jdbc.driver.T4CConnection.logoff(T4CConnection.java:498)
[JIRA] (HHQ-5761) Migration -the export db failed in windows. at oracle.jdbc.driver.PhysicalConnection.close(PhysicalConnection.java:3915)
[JIRA] (HHQ-5761) Migration -the export db failed in windows. at org.hyperic.tools.dbmigrate.Utils.close(Utils.java:127)
[JIRA] (HHQ-5761) Migration -the export db failed in windows. at org.hyperic.tools.dbmigrate.Forker$ForkWorker.dispose(Forker.java:184)
[JIRA] (HHQ-5761) Migration -the export db failed in windows. at org.hyperic.tools.dbmigrate.TableExporter$Worker.dispose(TableExporter.java:416)
[JIRA] (HHQ-5761) Migration -the export db failed in windows. at org.hyperic.tools.dbmigrate.Forker$ForkWorker.call(Forker.java:164)
[JIRA] (HHQ-5761) Migration -the export db failed in windows. at org.hyperic.tools.dbmigrate.Forker$ForkWorker.call(Forker.java:97)
[JIRA] (HHQ-5761) Migration -the export db failed in windows. at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
[JIRA] (HHQ-5761) Migration -the export db failed in windows. at java.util.concurrent.FutureTask.run(FutureTask.java:138)
[JIRA] (HHQ-5761) Migration -the export db failed in windows. at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[JIRA] (HHQ-5761) Migration -the export db failed in windows. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[JIRA] (HHQ-5761) Migration -the export db failed in windows. at java.lang.Thread.run(Thread.java:662)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.hyperic.com/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira