<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Oozie Service (HDP 2.4.0) Failed To Start on Windows Server 2012 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-Service-HDP-2-4-0-Failed-To-Start-on-Windows-Server/m-p/169993#M25287</link>
    <description>&lt;P&gt;Thanks for the suggestions!&lt;/P&gt;&lt;P&gt;I checked the permission under the directory and also tried recreate db again. But the same problem occurred..I now changed to use MS SQL server, and it's working perfectly now.&lt;/P&gt;</description>
    <pubDate>Wed, 20 Apr 2016 01:11:31 GMT</pubDate>
    <dc:creator>jinlli</dc:creator>
    <dc:date>2016-04-20T01:11:31Z</dc:date>
    <item>
      <title>Oozie Service (HDP 2.4.0) Failed To Start on Windows Server 2012</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-Service-HDP-2-4-0-Failed-To-Start-on-Windows-Server/m-p/169988#M25282</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I set up a HDP cluster on VMs with OS Windows Server 2012. For Oozie set up, I am using default derby server. &lt;/P&gt;&lt;P&gt;However, I am not able to start the Oozieservices on Oozie host.&lt;/P&gt;&lt;P&gt;The service keeps restarting. And the error in oozie-error.log is attached below.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Jinling&lt;/P&gt;&lt;PRE&gt;2016-04-14 17:37:29,445 FATAL Services:514 - SERVER[HADOOPHDP] Runtime Exception during Services Load. Check your list of 'oozie.services' or 'oozie.services.ext'
2016-04-14 17:37:29,452 FATAL Services:514 - SERVER[HADOOPHDP] E0103: Could not load service classes, Cannot create PoolableConnectionFactory (Schema 'SA' does not exist)
org.apache.oozie.service.ServiceException: E0103: Could not load service classes, Cannot create PoolableConnectionFactory (Schema 'SA' does not exist)
	at org.apache.oozie.service.Services.loadServices(Services.java:309)
	at org.apache.oozie.service.Services.init(Services.java:213)
	at org.apache.oozie.servlet.ServicesLoader.contextInitialized(ServicesLoader.java:46)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4210)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4709)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:802)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:676)
	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:602)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:503)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1322)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:325)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1068)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
	at org.apache.catalina.core.StandardService.start(StandardService.java:525)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:759)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: &amp;lt;openjpa-2.2.2-r422266:1468616 fatal general error&amp;gt; org.apache.openjpa.persistence.PersistenceException: Cannot create PoolableConnectionFactory (Schema 'SA' does not exist)
	at org.apache.openjpa.jdbc.sql.DBDictionaryFactory.newDBDictionary(DBDictionaryFactory.java:102)
	at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDBDictionaryInstance(JDBCConfigurationImpl.java:603)
	at org.apache.openjpa.jdbc.meta.MappingRepository.endConfiguration(MappingRepository.java:1518)
	at org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:531)
	at org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:456)
	at org.apache.openjpa.lib.conf.PluginValue.instantiate(PluginValue.java:120)
	at org.apache.openjpa.conf.MetaDataRepositoryValue.instantiate(MetaDataRepositoryValue.java:68)
	at org.apache.openjpa.lib.conf.ObjectValue.instantiate(ObjectValue.java:83)
	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.newMetaDataRepositoryInstance(OpenJPAConfigurationImpl.java:967)
	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.getMetaDataRepositoryInstance(OpenJPAConfigurationImpl.java:958)
	at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:644)
	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:203)
	at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:227)
	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:154)
	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:60)
	at org.apache.oozie.service.JPAService.getEntityManager(JPAService.java:500)
	at org.apache.oozie.service.JPAService.init(JPAService.java:201)
	at org.apache.oozie.service.Services.setServiceInternal(Services.java:386)
	at org.apache.oozie.service.Services.setService(Services.java:372)
	at org.apache.oozie.service.Services.loadServices(Services.java:305)
	... 26 more
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Schema 'SA' does not exist)
	at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)
	at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
	at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:110)
	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:87)
	at org.apache.openjpa.jdbc.sql.DBDictionaryFactory.newDBDictionary(DBDictionaryFactory.java:91)
	... 46 more
Caused by: java.sql.SQLSyntaxErrorException: Schema 'SA' does not exist
	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
	at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedStatement.executeQuery(Unknown Source)
	at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
	at org.apache.commons.dbcp.PoolableConnectionFactory.validateConnection(PoolableConnectionFactory.java:658)
	at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1558)
	at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)
	... 51 more
Caused by: java.sql.SQLException: Schema 'SA' does not exist
	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
	... 63 more
Caused by: ERROR 42Y07: Schema 'SA' does not exist
	at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
	at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getSchemaDescriptor(Unknown Source)
	at org.apache.derby.impl.sql.compile.QueryTreeNode.getSchemaDescriptor(Unknown Source)
	at org.apache.derby.impl.sql.compile.QueryTreeNode.getSchemaDescriptor(Unknown Source)
	at org.apache.derby.impl.sql.compile.FromBaseTable.bindTableDescriptor(Unknown Source)
	at org.apache.derby.impl.sql.compile.FromBaseTable.bindNonVTITables(Unknown Source)
	at org.apache.derby.impl.sql.compile.FromList.bindTables(Unknown Source)
	at org.apache.derby.impl.sql.compile.SelectNode.bindNonVTITables(Unknown Source)
	at org.apache.derby.impl.sql.compile.DMLStatementNode.bindTables(Unknown Source)
	at org.apache.derby.impl.sql.compile.DMLStatementNode.bind(Unknown Source)
	at org.apache.derby.impl.sql.compile.CursorNode.bindStatement(Unknown Source)
	at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source)
	at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source)
	at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown Source)
	... 57 more


&lt;/PRE&gt;</description>
      <pubDate>Fri, 15 Apr 2016 09:04:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-Service-HDP-2-4-0-Failed-To-Start-on-Windows-Server/m-p/169988#M25282</guid>
      <dc:creator>jinlli</dc:creator>
      <dc:date>2016-04-15T09:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie Service (HDP 2.4.0) Failed To Start on Windows Server 2012</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-Service-HDP-2-4-0-Failed-To-Start-on-Windows-Server/m-p/169989#M25283</link>
      <description>&lt;P&gt;This error means that something is wrong with your Derby database. Can you check is it created? The path do Derby files is given by "Oozie Data Dir" (oozie_data_dir) in Ambari-&amp;gt;Oozie-&amp;gt;Oozie server and OOZIE_DATA in oozie-env.sh. Check permissions to that path and retry. You can also try to create the DB manually if ooziedb.bat is available, but better go through Ambari.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2016 10:46:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-Service-HDP-2-4-0-Failed-To-Start-on-Windows-Server/m-p/169989#M25283</guid>
      <dc:creator>pminovic</dc:creator>
      <dc:date>2016-04-15T10:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie Service (HDP 2.4.0) Failed To Start on Windows Server 2012</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-Service-HDP-2-4-0-Failed-To-Start-on-Windows-Server/m-p/169990#M25284</link>
      <description>&lt;P&gt;Thanks very much for your reply!&lt;/P&gt;&lt;P&gt;I was not using Ambari, but following the steps in &lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.0-Win/bk_HDP_Install_Win/content/index.html"&gt;Installing HDP for Windows&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;I checked my OOZIE_DATA path (C:\hadoop\data\oozie) and the db is created there (oozie-db).&lt;/P&gt;&lt;P&gt;Do you have any suggestion what should I do in this case? Does that mean the db is created but Oozie can't find it?&lt;/P&gt;&lt;P&gt;Or the db is created but the schema is not?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Jinling&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2016 22:24:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-Service-HDP-2-4-0-Failed-To-Start-on-Windows-Server/m-p/169990#M25284</guid>
      <dc:creator>jinlli</dc:creator>
      <dc:date>2016-04-15T22:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie Service (HDP 2.4.0) Failed To Start on Windows Server 2012</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-Service-HDP-2-4-0-Failed-To-Start-on-Windows-Server/m-p/169991#M25285</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/6069/jinlli.html" nodeid="6069"&gt;@Jinling Li&lt;/A&gt; - I'm not much familiar with oozie installation on Windows but did you check if oozie user has correct permission to modify oozie_db? can you please double check that? If its new installation then you can just remove oozie_db and recreate blank one with appropriate permissions and oozie-server daemon will take care of other things.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Apr 2016 12:22:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-Service-HDP-2-4-0-Failed-To-Start-on-Windows-Server/m-p/169991#M25285</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-04-17T12:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie Service (HDP 2.4.0) Failed To Start on Windows Server 2012</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-Service-HDP-2-4-0-Failed-To-Start-on-Windows-Server/m-p/169992#M25286</link>
      <description>&lt;P&gt;replace derby database with sql server, there are multiple questions with same issue on HCC and all stem from using Derby with Oozie on Windows.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2016 08:24:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-Service-HDP-2-4-0-Failed-To-Start-on-Windows-Server/m-p/169992#M25286</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-04-19T08:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie Service (HDP 2.4.0) Failed To Start on Windows Server 2012</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-Service-HDP-2-4-0-Failed-To-Start-on-Windows-Server/m-p/169993#M25287</link>
      <description>&lt;P&gt;Thanks for the suggestions!&lt;/P&gt;&lt;P&gt;I checked the permission under the directory and also tried recreate db again. But the same problem occurred..I now changed to use MS SQL server, and it's working perfectly now.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 01:11:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-Service-HDP-2-4-0-Failed-To-Start-on-Windows-Server/m-p/169993#M25287</guid>
      <dc:creator>jinlli</dc:creator>
      <dc:date>2016-04-20T01:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie Service (HDP 2.4.0) Failed To Start on Windows Server 2012</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-Service-HDP-2-4-0-Failed-To-Start-on-Windows-Server/m-p/169994#M25288</link>
      <description>&lt;P&gt;Thanks! I saw several posts reporting issues with Derby+Oozie and Derby+Hive on Windows. I re-configured the cluster and used MS SQL server and they work perfectly now.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 01:12:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-Service-HDP-2-4-0-Failed-To-Start-on-Windows-Server/m-p/169994#M25288</guid>
      <dc:creator>jinlli</dc:creator>
      <dc:date>2016-04-20T01:12:47Z</dc:date>
    </item>
  </channel>
</rss>

