<?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: Problem while Mirroring Dataset between hadoop cluster using Apache Falcon in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-while-Mirroring-Dataset-between-hadoop-cluster-using/m-p/100682#M13486</link>
    <description>&lt;P&gt;Yes, this has been resolved...thanks for the help....The solution which you said that the permissions to run workflow should be &lt;STRONG&gt;777 or 755&lt;/STRONG&gt; that does work....also apart from that the permissions &amp;amp; ownership to the path &lt;STRONG&gt;/apps/data-mirroring/&lt;/STRONG&gt; should be &lt;STRONG&gt;777/755&lt;/STRONG&gt; or &amp;amp; its ownership should be granted to &lt;STRONG&gt;falcon&lt;/STRONG&gt;....there is another location where &lt;STRONG&gt;workflow.xml&lt;/STRONG&gt; gets defined i.e. at location &lt;STRONG&gt;/apps/falcon/backupCluster/staging/falcon/workflows/process/MirrorTest ,&lt;/STRONG&gt;so its permissions should be either 777 or 755&lt;/P&gt;</description>
    <pubDate>Thu, 04 Feb 2016 12:50:43 GMT</pubDate>
    <dc:creator>mrakki3110</dc:creator>
    <dc:date>2016-02-04T12:50:43Z</dc:date>
    <item>
      <title>Problem while Mirroring Dataset between hadoop cluster using Apache Falcon</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-while-Mirroring-Dataset-between-hadoop-cluster-using/m-p/100676#M13480</link>
      <description>&lt;P&gt;Hello I am new to Apache Falcon &amp;amp; I am mirroring a dataset as shown here &lt;A href="http://hortonworks.com/hadoop-tutorial/mirroring-datasets-between-hadoop-clusters-with-apache-falcon/"&gt;Mirroring Dataset between Hadoop Clusters using Apache Falcon&lt;/A&gt; ...... I saw the logs of Apache Falcon in "falcon.application.log"  &amp;amp; it is throwing this exception ::&lt;/P&gt;&lt;PRE&gt;org.apache.falcon.FalconException: Entity schedule failed for PROCESS: MirrorTest
	at org.apache.falcon.resource.AbstractSchedulableEntityManager.scheduleInternal(AbstractSchedulableEntityManager.java:96)
	at org.apache.falcon.resource.AbstractSchedulableEntityManager.schedule(AbstractSchedulableEntityManager.java:73)
	at org.apache.falcon.resource.SchedulableEntityManager.schedule(SchedulableEntityManager.java:131)
	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:497)
	at org.apache.falcon.resource.channel.IPCChannel.invoke(IPCChannel.java:49)
	at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$9.doExecute(SchedulableEntityManagerProxy.java:403)
	at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$EntityProxy.execute(SchedulableEntityManagerProxy.java:575)
	at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.schedule_aroundBody12(SchedulableEntityManagerProxy.java:405)
	at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$AjcClosure13.run(SchedulableEntityManagerProxy.java:1)
	at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
	at org.apache.falcon.aspect.AbstractFalconAspect.logAroundMonitored(AbstractFalconAspect.java:51)
	at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.schedule(SchedulableEntityManagerProxy.java:388)
	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:497)
	at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
	at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
	at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
	at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
	at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
	at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
	at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:699)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
	at org.apache.falcon.security.FalconAuthorizationFilter.doFilter(FalconAuthorizationFilter.java:106)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
	at org.apache.falcon.security.FalconAuthenticationFilter$2.doFilter(FalconAuthenticationFilter.java:184)
	at org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:595)
	at org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:554)
	at org.apache.falcon.security.FalconAuthenticationFilter.doFilter(FalconAuthenticationFilter.java:193)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
	at org.apache.falcon.security.FalconAuditFilter.doFilter(FalconAuditFilter.java:64)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:767)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:326)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
	at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)


Caused by: org.apache.falcon.FalconException: E0501 : E0501: Could not perform authorization operation, Unauthorized connection for super-user: oozie 
	at org.apache.falcon.workflow.engine.OozieWorkflowEngine.dryRunInternal(OozieWorkflowEngine.java:234)
	at org.apache.falcon.workflow.engine.OozieWorkflowEngine.schedule(OozieWorkflowEngine.java:172)
	at org.apache.falcon.resource.AbstractSchedulableEntityManager.scheduleInternal(AbstractSchedulableEntityManager.java:94)


Am I missing any configuration for oozie or falcon in any configuration files ?? And also how should we deal with this following exception ?? &lt;/PRE&gt;</description>
      <pubDate>Thu, 24 Dec 2015 17:30:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-while-Mirroring-Dataset-between-hadoop-cluster-using/m-p/100676#M13480</guid>
      <dc:creator>mrakki3110</dc:creator>
      <dc:date>2015-12-24T17:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while Mirroring Dataset between hadoop cluster using Apache Falcon</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-while-Mirroring-Dataset-between-hadoop-cluster-using/m-p/100677#M13481</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/1784/mrakki3110.html" nodeid="1784"&gt;@Akshay Shingote&lt;/A&gt;&lt;P&gt;Causedby: org.apache.falcon.FalconException: E0501 : E0501:Couldnot perform authorization operation,Unauthorized connection forsuper-user: oozie &lt;/P&gt;&lt;P&gt;Check oozie proxyuser settings. &lt;/P&gt;&lt;P&gt;If more lax security is preferred, the wildcard value * may be used to allow impersonation from any host or of any user. For example, by specifying as below in core-site.xml, user named oozieaccessing from any host can impersonate any user belonging to any group.&lt;/P&gt;&lt;PRE&gt;  &amp;lt;property&amp;gt;
    &amp;lt;name&amp;gt;hadoop.proxyuser.oozie.hosts&amp;lt;/name&amp;gt;
    &amp;lt;value&amp;gt;*&amp;lt;/value&amp;gt;
  &amp;lt;/property&amp;gt;
  &amp;lt;property&amp;gt;
    &amp;lt;name&amp;gt;hadoop.proxyuser.oozie.groups&amp;lt;/name&amp;gt;
    &amp;lt;value&amp;gt;*&amp;lt;/value&amp;gt;
  &amp;lt;/property&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 24 Dec 2015 20:57:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-while-Mirroring-Dataset-between-hadoop-cluster-using/m-p/100677#M13481</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-12-24T20:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while Mirroring Dataset between hadoop cluster using Apache Falcon</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-while-Mirroring-Dataset-between-hadoop-cluster-using/m-p/100678#M13482</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt;&lt;P&gt;:Can you please specify or mention how should my oozie-site.xml &amp;amp; core-site.xml be ?? Do I need to make any changes in oozie-site.xml for Falcon ?? &lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2016 17:09:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-while-Mirroring-Dataset-between-hadoop-cluster-using/m-p/100678#M13482</guid>
      <dc:creator>mrakki3110</dc:creator>
      <dc:date>2016-01-04T17:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while Mirroring Dataset between hadoop cluster using Apache Falcon</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-while-Mirroring-Dataset-between-hadoop-cluster-using/m-p/100679#M13483</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1784/mrakki3110.html" nodeid="1784"&gt;@Akshay Shingote&lt;/A&gt; See this &lt;A href="https://community.hortonworks.com/questions/9384/unauthorized-connection-for-super-user.html"&gt;question&lt;/A&gt;. This issue is not caused by how your workflow.xml is configured but the permissions on it. &lt;/P&gt;&lt;PRE&gt;The root cause of this issue is that the user you are using to run the workflow does not have permission to read the workflow.xml. Change the permissions on workflow.xml to 777 or 755 and try again.

Also make sure that the directories (absolute path) that contains the workflow.xml also has at least 755, so that the user is able to get to the file and then read it&lt;/PRE&gt;&lt;P&gt;&lt;A href="https://github.com/apache/oozie/blob/38e33811bc3f9d3b1a1a024dcab6af760734b696/core/src/main/java/org/apache/oozie/service/AuthorizationService.java#L307-L355"&gt;Here is the method&lt;/A&gt; that is generating this error.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2016 21:32:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-while-Mirroring-Dataset-between-hadoop-cluster-using/m-p/100679#M13483</guid>
      <dc:creator>bsaini</dc:creator>
      <dc:date>2016-01-14T21:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while Mirroring Dataset between hadoop cluster using Apache Falcon</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-while-Mirroring-Dataset-between-hadoop-cluster-using/m-p/100680#M13484</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/1784/mrakki3110.html" nodeid="1784" target="_blank"&gt;@Akshay Shingote&lt;/A&gt;&lt;P&gt; You should use ambari to manage those files. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1390-screen-shot-2016-01-16-at-74643-pm.png" style="width: 2310px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23790i984C519C56F8E467/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1390-screen-shot-2016-01-16-at-74643-pm.png" alt="1390-screen-shot-2016-01-16-at-74643-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 12:25:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-while-Mirroring-Dataset-between-hadoop-cluster-using/m-p/100680#M13484</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2019-08-19T12:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while Mirroring Dataset between hadoop cluster using Apache Falcon</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-while-Mirroring-Dataset-between-hadoop-cluster-using/m-p/100681#M13485</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1784/mrakki3110.html" nodeid="1784"&gt;@Akshay Shingote&lt;/A&gt; has this been resolved? Can you post your solution or accept best answer?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 22:30:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-while-Mirroring-Dataset-between-hadoop-cluster-using/m-p/100681#M13485</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-02T22:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while Mirroring Dataset between hadoop cluster using Apache Falcon</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-while-Mirroring-Dataset-between-hadoop-cluster-using/m-p/100682#M13486</link>
      <description>&lt;P&gt;Yes, this has been resolved...thanks for the help....The solution which you said that the permissions to run workflow should be &lt;STRONG&gt;777 or 755&lt;/STRONG&gt; that does work....also apart from that the permissions &amp;amp; ownership to the path &lt;STRONG&gt;/apps/data-mirroring/&lt;/STRONG&gt; should be &lt;STRONG&gt;777/755&lt;/STRONG&gt; or &amp;amp; its ownership should be granted to &lt;STRONG&gt;falcon&lt;/STRONG&gt;....there is another location where &lt;STRONG&gt;workflow.xml&lt;/STRONG&gt; gets defined i.e. at location &lt;STRONG&gt;/apps/falcon/backupCluster/staging/falcon/workflows/process/MirrorTest ,&lt;/STRONG&gt;so its permissions should be either 777 or 755&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 12:50:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-while-Mirroring-Dataset-between-hadoop-cluster-using/m-p/100682#M13486</guid>
      <dc:creator>mrakki3110</dc:creator>
      <dc:date>2016-02-04T12:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while Mirroring Dataset between hadoop cluster using Apache Falcon</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-while-Mirroring-Dataset-between-hadoop-cluster-using/m-p/100683#M13487</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; I set the permission to 777 to the workflow.xml but i still have the same error. Is there something else to do to start the mirroring job.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;drwxrwxrwx  - falcon users  0 2016-02-09 15:06 /apps/data-mirroring/workflows&lt;/P&gt;&lt;P&gt;-rwxrwxrwx  3 falcon users  5010 2016-02-09 15:06 /apps/data-mirroring/workflows/hdfs-replication-workflow.xml&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;org.apache.falcon.FalconException: Entity schedule failed for PROCESS: MirrorTest&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 22:05:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-while-Mirroring-Dataset-between-hadoop-cluster-using/m-p/100683#M13487</guid>
      <dc:creator>arthur_grevin</dc:creator>
      <dc:date>2016-02-10T22:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while Mirroring Dataset between hadoop cluster using Apache Falcon</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-while-Mirroring-Dataset-between-hadoop-cluster-using/m-p/100684#M13488</link>
      <description>&lt;P&gt;you did right by setting the permission to &lt;STRONG&gt;777 for /apps/data-mirroring/workflows/* &lt;/STRONG&gt;but apart from that when you create the MirrorTest, a directory in the name of MirrorTest gets created at this location where the workflow of MirrorTest i.e.&lt;STRONG&gt;workflow.xml &lt;/STRONG&gt;gets generated at location &lt;STRONG&gt;/apps/falcon/backupCluster/staging/falcon/workflows/process/MirrorTest &lt;/STRONG&gt;.Same applies for primaryCluster also.. Now make sure that the path from &lt;STRONG&gt;staging/falcon/workflows/process/MirrorTest &lt;/STRONG&gt;should be set as 777/755 so that the workflow.xml has &lt;STRONG&gt;permissions 777 &amp;amp; ownership=ambari-qa &lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 13:35:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-while-Mirroring-Dataset-between-hadoop-cluster-using/m-p/100684#M13488</guid>
      <dc:creator>mrakki3110</dc:creator>
      <dc:date>2016-02-12T13:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while Mirroring Dataset between hadoop cluster using Apache Falcon</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-while-Mirroring-Dataset-between-hadoop-cluster-using/m-p/100685#M13489</link>
      <description>&lt;P&gt;Hi, I am having similar issue with falcon replication not working. The permissions, ownership, oozie wildcard are all as per this page in my environment. But still replication is not going through. Any insights?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 21:55:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-while-Mirroring-Dataset-between-hadoop-cluster-using/m-p/100685#M13489</guid>
      <dc:creator>vtpcnk</dc:creator>
      <dc:date>2017-03-09T21:55:02Z</dc:date>
    </item>
  </channel>
</rss>

