Project

General

Profile

Task #6078

The installation of dataone-cn-processdaemon hangs on cn-dev-ucsb-1

Added by Jing Tao over 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Category:
d1_log_aggregation
Target version:
Start date:
2014-08-27
Due date:
% Done:

100%

Milestone:
None
Product Version:
*
Story Points:
Sprint:

Description

I tried to upgrade cn-dev-ucsb-1. The process hung on the command to start d1-processing. I checked the file /var/log/dataone/daemon/d1-processing-jsvc.log and found:

ERROR] 2014-08-27 00:24:37,115 (StdOutErrLog$2:print:51) java.lang.reflect.InvocationTargetException
[ERROR] 2014-08-27 00:24:37,115 (StdOutErrLog$2:print:51) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] 2014-08-27 00:24:37,115 (StdOutErrLog$2:print:51) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[ERROR] 2014-08-27 00:24:37,116 (StdOutErrLog$2:print:51) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR] 2014-08-27 00:24:37,116 (StdOutErrLog$2:print:51) at java.lang.reflect.Method.invoke(Method.java:606)
[ERROR] 2014-08-27 00:24:37,116 (StdOutErrLog$2:print:51) at org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:243)
[ERROR] 2014-08-27 00:24:37,116 (StdOutErrLog$2:print:51) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'logAggregationScheduler' defined in URL [file:/etc/dataone/process/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
[ERROR] 2014-08-27 00:24:37,116 (StdOutErrLog$2:print:51) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)
[ERROR] 2014-08-27 00:24:37,116 (StdOutErrLog$2:print:51) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
[ERROR] 2014-08-27 00:24:37,117 (StdOutErrLog$2:print:51) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
[ERROR] 2014-08-27 00:24:37,117 (StdOutErrLog$2:print:51) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
[ERROR] 2014-08-27 00:24:37,117 (StdOutErrLog$2:print:51) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
[ERROR] 2014-08-27 00:24:37,117 (StdOutErrLog$2:print:51) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
[ERROR] 2014-08-27 00:24:37,117 (StdOutErrLog$2:print:51) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
[ERROR] 2014-08-27 00:24:37,117 (StdOutErrLog$2:print:51) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
[ERROR] 2014-08-27 00:24:37,118 (StdOutErrLog$2:print:51) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
[ERROR] 2014-08-27 00:24:37,118 (StdOutErrLog$2:print:51) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
[ERROR] 2014-08-27 00:24:37,118 (StdOutErrLog$2:print:51) at org.springframework.context.support.FileSystemXmlApplicationContext.(FileSystemXmlApplicationContext.java:140)
[ERROR] 2014-08-27 00:24:37,118 (StdOutErrLog$2:print:51) at org.springframework.context.support.FileSystemXmlApplicationContext.(FileSystemXmlApplicationContext.java:84)
[ERROR] 2014-08-27 00:24:37,118 (StdOutErrLog$2:print:51) at org.dataone.cn.batch.daemon.SchedulerDaemon.start(SchedulerDaemon.java:86)
[ERROR] 2014-08-27 00:24:37,118 (StdOutErrLog$2:print:51) ... 5 more
[ERROR] 2014-08-27 00:24:37,119 (StdOutErrLog$2:print:51) Caused by: java.lang.NullPointerException
[ERROR] 2014-08-27 00:24:37,119 (StdOutErrLog$2:print:51) at java.lang.String$CaseInsensitiveComparator.compare(String.java:1177)
[ERROR] 2014-08-27 00:24:37,119 (StdOutErrLog$2:print:51) at java.lang.String$CaseInsensitiveComparator.compare(String.java:1170)
[ERROR] 2014-08-27 00:24:37,119 (StdOutErrLog$2:print:51) at java.lang.String.compareToIgnoreCase(String.java:1220)
[ERROR] 2014-08-27 00:24:37,119 (StdOutErrLog$2:print:51) at org.dataone.cn.batch.logging.LogAggregationScheduleManager.init(LogAggregationScheduleManager.java:190)
[ERROR] 2014-08-27 00:24:37,119 (StdOutErrLog$2:print:51) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] 2014-08-27 00:24:37,120 (StdOutErrLog$2:print:51) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[ERROR] 2014-08-27 00:24:37,120 (StdOutErrLog$2:print:51) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR] 2014-08-27 00:24:37,120 (StdOutErrLog$2:print:51) at java.lang.reflect.Method.invoke(Method.java:606)
[ERROR] 2014-08-27 00:24:37,120 (StdOutErrLog$2:print:51) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1581)
[ERROR] 2014-08-27 00:24:37,120 (StdOutErrLog$2:print:51) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1522)
[ERROR] 2014-08-27 00:24:37,120 (StdOutErrLog$2:print:51) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
[ERROR] 2014-08-27 00:24:37,121 (StdOutErrLog$2:print:51) ... 17 more

History

#1 Updated by Jing Tao over 10 years ago

  • Subject changed from The installation of dataone-cn-index hangs on cn-dev-ucsb-1 to The installation of dataone-cn-processdaemon hangs on cn-dev-ucsb-1

#2 Updated by Peter Slaughter about 10 years ago

  • Assignee set to Peter Slaughter

#3 Updated by Peter Slaughter about 10 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
  • translation missing: en.field_remaining_hours set to 0.0
  • Target version set to 2014.30-Block.4.3
  • Category set to d1_log_aggregation

Fixed LogAggregationScheduleManager.java) to check if the property cn.nodeId.active (from /etc/dataone/node.properties) is set, i.e. not null.
With this fix, log agg processing now starts normally.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)