<?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: Hive - Replication issue through Cloudera Manager in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hive-Replication-issue-through-Cloudera-Manager/m-p/341724#M233598</link>
    <description>&lt;P class="commentBody"&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/88786"&gt;@Sayed016&lt;/a&gt;&amp;nbsp;Thank you for your question.&lt;/P&gt;&lt;P class="commentBody"&gt;From the error stack of CM logs, it looks like it tries to copy the system database and information_schema.&lt;/P&gt;&lt;P class="commentBody"&gt;You need to exclude the system database and information_schema&lt;/P&gt;&lt;PRE&gt;Add the following exclusion on a Hive replication: Databases: (?!information_schema|sys\b).+ Tables: [\w].+&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Apr 2022 18:03:37 GMT</pubDate>
    <dc:creator>Bharati</dc:creator>
    <dc:date>2022-04-19T18:03:37Z</dc:date>
    <item>
      <title>Hive - Replication issue through Cloudera Manager</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Replication-issue-through-Cloudera-Manager/m-p/341717#M233595</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are setting the Hive replication through Cloudera Manager. The replication policy looks as follows.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sayed016_0-1650383413614.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/34198i13BD58C8BA78D7B2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sayed016_0-1650383413614.png" alt="Sayed016_0-1650383413614.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that we also enabled the snapshot on the source cluster for the path - &lt;STRONG&gt;/warehouse&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;However, when we press save policy then we get the below notification.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sayed016_1-1650383502561.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/34199i9CEA974FA81514BE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sayed016_1-1650383502561.png" alt="Sayed016_1-1650383502561.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We looked into the Cloudera Manager logs and we can see the below error. Can you please help us to get the correct configuration to resolve the issue?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2022-04-19 15:51:07,848 ERROR scm-web-1686:com.cloudera.server.web.cmf.WebController: getHiveWarehouseSnapshotsEnabled
javax.ws.rs.NotAuthorizedException: HTTP 401 Unauthorized
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at org.apache.cxf.jaxrs.client.AbstractClient.convertToWebApplicationException(AbstractClient.java:507)
        at org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:324)
        at org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:878)
        at org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:791)
....
....
....
....
        at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
        at java.lang.Thread.run(Thread.java:750)
2022-04-19 15:51:07,849 ERROR scm-web-1686:com.cloudera.server.web.common.JsonResponse: JsonResponse created with throwable: 
javax.ws.rs.NotAuthorizedException: HTTP 401 Unauthorized
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at org.apache.cxf.jaxrs.client.AbstractClient.convertToWebApplicationException(AbstractClient.java:507)
        at org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:324)
        at org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:878)
        at org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:791)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 07:57:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Replication-issue-through-Cloudera-Manager/m-p/341717#M233595</guid>
      <dc:creator>Sayed016</dc:creator>
      <dc:date>2026-04-21T07:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Hive - Replication issue through Cloudera Manager</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Replication-issue-through-Cloudera-Manager/m-p/341724#M233598</link>
      <description>&lt;P class="commentBody"&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/88786"&gt;@Sayed016&lt;/a&gt;&amp;nbsp;Thank you for your question.&lt;/P&gt;&lt;P class="commentBody"&gt;From the error stack of CM logs, it looks like it tries to copy the system database and information_schema.&lt;/P&gt;&lt;P class="commentBody"&gt;You need to exclude the system database and information_schema&lt;/P&gt;&lt;PRE&gt;Add the following exclusion on a Hive replication: Databases: (?!information_schema|sys\b).+ Tables: [\w].+&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2022 18:03:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Replication-issue-through-Cloudera-Manager/m-p/341724#M233598</guid>
      <dc:creator>Bharati</dc:creator>
      <dc:date>2022-04-19T18:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Hive - Replication issue through Cloudera Manager</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Replication-issue-through-Cloudera-Manager/m-p/341749#M233603</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/22324"&gt;@Bharati&lt;/a&gt;&amp;nbsp;Thank you! This worked. However, could you please share which logs had shown that it was trying to copy the system database and information_schema?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2022 23:06:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Replication-issue-through-Cloudera-Manager/m-p/341749#M233603</guid>
      <dc:creator>Sayed016</dc:creator>
      <dc:date>2022-04-19T23:06:40Z</dc:date>
    </item>
  </channel>
</rss>

