<?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: Sqoop2 metastore configuration error in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop2-metastore-configuration-error/m-p/56601#M62812</link>
    <description>This problem was caused because the Sqoop tables hadn't been created in PostgreSQL.
To solve this problem, please go to CM &amp;gt; Sqoop 2 service, click on Actions button and then choose "Create Sqoop Database". After that, please try to start Sqoop2 service again.</description>
    <pubDate>Tue, 27 Jun 2017 21:32:29 GMT</pubDate>
    <dc:creator>yshi</dc:creator>
    <dc:date>2017-06-27T21:32:29Z</dc:date>
    <item>
      <title>Sqoop2 metastore configuration error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop2-metastore-configuration-error/m-p/55819#M62809</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I am trying to configure postgres metastore from sqoop2 but getting error whiel starting the sqoop2&lt;/P&gt;&lt;PRE&gt;Sqoop server failed to start
java.lang.RuntimeException: Failure in server initialization
	at org.apache.sqoop.core.SqoopServer.initialize(SqoopServer.java:63)
	at org.apache.sqoop.server.ServerInitializer.contextInitialized(ServerInitializer.java:41)
	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.deployWAR(HostConfig.java:944)
	at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:779)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:505)
	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:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.apache.sqoop.common.SqoopException: REPO_0002:Repository structures are not in suitable state, might require upgrade
	at org.apache.sqoop.repository.RepositoryManager.initialize(RepositoryManager.java:130)
	at org.apache.sqoop.repository.RepositoryManager.initialize(RepositoryManager.java:78)
	at org.apache.sqoop.core.SqoopServer.initialize(SqoopServer.java:56)
	... 25 more
&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;I have created the sqoop db in postgres&amp;nbsp;&lt;/P&gt;&lt;P&gt;followed doc&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cloudera.com/documentation/enterprise/5-5-x/topics/install_sqoop_ext_db.html" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/5-5-x/topics/install_sqoop_ext_db.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;List of databases&lt;BR /&gt;Name | Owner | Encoding | Collate | Ctype | Access privileges&lt;BR /&gt;-----------+----------+----------+-------------+-------------+-----------------------&lt;BR /&gt;postgres | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 |&lt;BR /&gt;sqoop | sqoop | UTF8 | en_US.UTF8 | en_US.UTF8 |&lt;BR /&gt;template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres +&lt;BR /&gt;| | | | | postgres=CTc/postgres&lt;BR /&gt;template1 | postgres | UTF8 | en_US.UTF8 | en_US.UTF8 |&lt;BR /&gt;(4 rows)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 11:44:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop2-metastore-configuration-error/m-p/55819#M62809</guid>
      <dc:creator>MSharma</dc:creator>
      <dc:date>2022-09-16T11:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop2 metastore configuration error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop2-metastore-configuration-error/m-p/55828#M62810</link>
      <description>&lt;P&gt;Could you let me know the CDH version you are using .&amp;nbsp;&lt;/P&gt;&lt;P&gt;because it is forcing you to upgrade sqoop 2 version . ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 01:44:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop2-metastore-configuration-error/m-p/55828#M62810</guid>
      <dc:creator>csguna</dc:creator>
      <dc:date>2017-06-14T01:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop2 metastore configuration error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop2-metastore-configuration-error/m-p/55830#M62811</link>
      <description>CDH 5.7.5</description>
      <pubDate>Wed, 14 Jun 2017 03:26:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop2-metastore-configuration-error/m-p/55830#M62811</guid>
      <dc:creator>MSharma</dc:creator>
      <dc:date>2017-06-14T03:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop2 metastore configuration error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop2-metastore-configuration-error/m-p/56601#M62812</link>
      <description>This problem was caused because the Sqoop tables hadn't been created in PostgreSQL.
To solve this problem, please go to CM &amp;gt; Sqoop 2 service, click on Actions button and then choose "Create Sqoop Database". After that, please try to start Sqoop2 service again.</description>
      <pubDate>Tue, 27 Jun 2017 21:32:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop2-metastore-configuration-error/m-p/56601#M62812</guid>
      <dc:creator>yshi</dc:creator>
      <dc:date>2017-06-27T21:32:29Z</dc:date>
    </item>
  </channel>
</rss>

