Join us at the Everyday AI Conference in London, New York & Bengaluru! REGISTER NOW

dss backend failed to start

ninthtoe
Level 1
dss backend failed to start

Hi, im running dataiku 10 on ubuntu/WIndows

Help

dss has been fine until today when it froze while being used to creating a new dataset, i stopped dss and rebooted and since then wont restart 

dss status says

backend  FATAL exited too quickly 

backend log in the last entries keep referring to the dataset json file that was being created  when it froze  (file missing and content lost). but would this stop the whole dss from starting

lots of other lines in the backend.log file about BEAN creation exceptions (def out of my depth on those ones!)

thanks

 


Operating system used: windows/ubuntu

0 Kudos
2 Replies
ninthtoe
Level 1
Author

backend log most recent

Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.dataiku.dip.server.services.TransactionService com.dataiku.dip.dao.GeneralSettingsDAO.transactionService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'backendTransactionService' defined in URL [jar:file:/home/tony/dataiku-dss-10.0.5/dist/dataiku-dip.jar!/com/dataiku/dip/server/services/BackendTransactionService.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.dataiku.dip.server.services.BackendTransactionService]: Constructor threw exception; nested exception is java.io.IOError: java.io.IOException: The file (and NOT the directory) /home/tony/dss-data/config/projects/CONCORD/datasets/REG_PTS_JOINED.json is missing and it's content has been lost (/home/tony/dss-data/config/.ts/projects--CONCORD--datasets--REG_PTS_JOINED.json doesn't exist anymore!). This is not recoverable.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:531)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:295)
... 71 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'backendTransactionService' defined in URL [jar:file:/home/tony/dataiku-dss-10.0.5/dist/dataiku-dip.jar!/com/dataiku/dip/server/services/BackendTransactionService.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.dataiku.dip.server.services.BackendTransactionService]: Constructor threw exception; nested exception is java.io.IOError: java.io.IOException: The file (and NOT the directory) /home/tony/dss-data/config/projects/CONCORD/datasets/REG_PTS_JOINED.json is missing and it's content has been lost (/home/tony/dss-data/config/.ts/projects--CONCORD--datasets--REG_PTS_JOINED.json doesn't exist anymore!). This is not recoverable.
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1039)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:985)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:923)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:866)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:781)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:503)
... 73 more
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.dataiku.dip.server.services.BackendTransactionService]: Constructor threw exception; nested exception is java.io.IOError: java.io.IOException: The file (and NOT the directory) /home/tony/dss-data/config/projects/CONCORD/datasets/REG_PTS_JOINED.json is missing and it's content has been lost (/home/tony/dss-data/config/.ts/projects--CONCORD--datasets--REG_PTS_JOINED.json doesn't exist anymore!). This is not recoverable.
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1032)
... 84 more
Caused by: java.io.IOError: java.io.IOException: The file (and NOT the directory) /home/tony/dss-data/config/projects/CONCORD/datasets/REG_PTS_JOINED.json is missing and it's content has been lost (/home/tony/dss-data/config/.ts/projects--CONCORD--datasets--REG_PTS_JOINED.json doesn't exist anymore!). This is not recoverable.
at com.dataiku.dip.transactions.fs.AtomicWriter.enterBrokenStateAndThrow(AtomicWriter.java:47)
at com.dataiku.dip.transactions.fs.AtomicWriter.execJournal(AtomicWriter.java:248)
at com.dataiku.dip.transactions.fs.AtomicWriter.init(AtomicWriter.java:72)
at com.dataiku.dip.transactions.fs.AtomicWriter.<init>(AtomicWriter.java:51)
at com.dataiku.dip.transactions.TransactionProvider.<init>(TransactionProvider.java:152)
at com.dataiku.dip.server.services.BackendTransactionService.<init>(BackendTransactionService.java:57)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)
... 86 more
Caused by: java.io.IOException: The file (and NOT the directory) /home/tony/dss-data/config/projects/CONCORD/datasets/REG_PTS_JOINED.json is missing and it's content has been lost (/home/tony/dss-data/config/.ts/projects--CONCORD--datasets--REG_PTS_JOINED.json doesn't exist anymore!). This is not recoverable.
at com.dataiku.dip.transactions.fs.AtomicWriter.execJournal(AtomicWriter.java:206)
... 95 more

0 Kudos
AlexT
Dataiker
Dataiker

Hi @ninthtoe,

I would suggest you raise a support ticket for issues like and include the instance diagnostics for us to review what caused the current state. 

You may be able to quickly resolve this by manually creating the file :

touch /home/tony/dss-data/config/projects/CONCORD/datasets/REG_PTS_JOINED.json

Then restart DSS if that doesn't help then simply add some contents to the above you can copy it from another dataset of the same type, change the path / table name to ensure you don't overwrite. If DSS start you can go into DSS, and delete/recreate this dataset (  "path": "${projectKey}/REG_PTS_JOINED",) 

 

0 Kudos