<?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: [FALCON] : hive replication failed in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/FALCON-hive-replication-failed/m-p/103295#M33338</link>
    <description>&lt;P&gt;Check this &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.0/bk_ambari_views_guide/content/_setup_WebHCat_proxy_user_pig_view.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.0/bk_ambari_views_guide/content/_setup_WebHCat_proxy_user_pig_view.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jun 2016 19:53:04 GMT</pubDate>
    <dc:creator>rpathak</dc:creator>
    <dc:date>2016-06-29T19:53:04Z</dc:date>
    <item>
      <title>[FALCON] : hive replication failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/FALCON-hive-replication-failed/m-p/103290#M33333</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm follow my tuto : &lt;A href="https://community.hortonworks.com/articles/38285/falcon-hive-integration.html" target="_blank"&gt;https://community.hortonworks.com/articles/38285/falcon-hive-integration.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and checked : &lt;A href="https://falcon.apache.org/HiveIntegration.html" target="_blank"&gt;https://falcon.apache.org/HiveIntegration.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I don't know what argument is expected in this feed : &lt;/P&gt;&lt;PRE&gt;[falcon@master003 HIVE]$ more replication-feed.xml
&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;feed description="Monthly Analytics Summary" name="replication-feed" xmlns="uri:falcon:feed:0.1"&amp;gt;
    &amp;lt;tags&amp;gt;EntityType=Feed&amp;lt;/tags&amp;gt;
    &amp;lt;frequency&amp;gt;months(1)&amp;lt;/frequency&amp;gt;

    &amp;lt;clusters&amp;gt;

         &amp;lt;cluster name="c-source-current" type="source"&amp;gt;
         &amp;lt;validity start="2016-06-20T00:00Z" end="2016-06-30T00:00Z"/&amp;gt;
         &amp;lt;retention limit="months(36)" action="delete"/&amp;gt;
         &amp;lt;table uri="catalog:falcon_landing_db:summary_table#ds=${YEAR}-${MONTH}"/&amp;gt;
         &amp;lt;/cluster&amp;gt;

         &amp;lt;cluster name="c-target-next" type="target"&amp;gt;
         &amp;lt;validity start="2016-06-20T00:00Z" end="2016-06-30T00:00Z"/&amp;gt;
         &amp;lt;retention limit="months(180)" action="delete"/&amp;gt;
         &amp;lt;table uri="catalog:falcon_archive_db:falcon_summary_archive_table#ds=${YEAR}-${MONTH}"/&amp;gt;
         &amp;lt;/cluster&amp;gt;

    &amp;lt;/clusters&amp;gt;

    &amp;lt;table uri="catalog:falcon_landing_db:summary_table#ds=${YEAR}-${MONTH}" /&amp;gt;
    &amp;lt;schema location="hcat" provider="hcat"/&amp;gt;
    &amp;lt;ACL owner="falcon" group="hadoop" permission="0755"/&amp;gt;

&amp;lt;/feed&amp;gt;
[falcon@master003 HIVE]$ falcon entity  -type feed -submit -file replication-feed.xml
log4j:WARN No appenders could be found for logger (org.apache.hadoop.security.authentication.client.KerberosAuthenticator).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See &lt;A href="http://logging.apache.org/log4j/1.2/faq.html#noconfig" target="_blank"&gt;http://logging.apache.org/log4j/1.2/faq.html#noconfig&lt;/A&gt; for more info.
ERROR: Bad Request;javax.xml.bind.UnmarshalException
 - with linked exception:
[org.xml.sax.SAXParseException; lineNumber: 23; columnNumber: 46; cvc-complex-type.2.4.a: Invalid content was found starting with element 'schema'. One of '{"uri:falcon:feed:0.1":notification, "uri:falcon:feed:0.1":ACL}' is expected.]
[falcon@master003 HIVE]$ &lt;A href="https://community.hortonworks.com/articles/38285/falcon-hive-integration.html" target="_blank"&gt;https://community.hortonworks.com/articles/38285/falcon-hive-integration.html&lt;/A&gt;

&lt;/PRE&gt;&lt;P&gt;i'm also try with this parameter but same error:&lt;/P&gt;&lt;PRE&gt;&amp;lt;schema location="" provider="hcatalog"/&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Jun 2016 17:42:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/FALCON-hive-replication-failed/m-p/103290#M33333</guid>
      <dc:creator>maykiwogno</dc:creator>
      <dc:date>2016-06-29T17:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: [FALCON] : hive replication failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/FALCON-hive-replication-failed/m-p/103291#M33334</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10363/maykiwogno.html" nodeid="10363"&gt;@mayki wogno&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;You need to place &lt;/P&gt;&lt;P&gt;&amp;lt;ACL owner="falcon"group="hadoop" permission="0755"/&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;before&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&amp;lt;schema location="hcat" provider="hcat"/&amp;gt;&lt;/P&gt;&lt;P&gt;Ordering is important.&lt;/P&gt;&lt;P&gt;
Also remove &amp;lt;table uri="catalog:falcon_landing_db:summary_table#ds=${YEAR}-${MONTH}"/&amp;gt; from source cluster. It is not required.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 18:11:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/FALCON-hive-replication-failed/m-p/103291#M33334</guid>
      <dc:creator>rpathak</dc:creator>
      <dc:date>2016-06-29T18:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: [FALCON] : hive replication failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/FALCON-hive-replication-failed/m-p/103292#M33335</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10363/maykiwogno.html" nodeid="10363"&gt;@mayki wogno&lt;/A&gt; Order of schema and ACL is required to changed. It must be like this :
&lt;/P&gt;&lt;PRE&gt;...
&amp;lt;ACL owner="falcon" group="hadoop" permission="0755"/&amp;gt;
&amp;lt;schema location="hcat" provider="hcat"/&amp;gt;
....&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Jun 2016 18:32:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/FALCON-hive-replication-failed/m-p/103292#M33335</guid>
      <dc:creator>pbishnoi</dc:creator>
      <dc:date>2016-06-29T18:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: [FALCON] : hive replication failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/FALCON-hive-replication-failed/m-p/103293#M33336</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10322/rpathak.html" nodeid="10322"&gt;@Rahul Pathak&lt;/A&gt; and &lt;A rel="user" href="https://community.cloudera.com/users/179/pbishnoi.html" nodeid="179"&gt;@peeyush&lt;/A&gt; thanks !!&lt;/P&gt;&lt;P&gt;but why falcon check this order or write this information in falcon documentation.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 19:07:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/FALCON-hive-replication-failed/m-p/103293#M33336</guid>
      <dc:creator>maykiwogno</dc:creator>
      <dc:date>2016-06-29T19:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: [FALCON] : hive replication failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/FALCON-hive-replication-failed/m-p/103294#M33337</link>
      <description>&lt;PRE&gt;JA009: org.apache.hive.hcatalog.common.HCatException : 9001 : Exception 
occurred while processing HCat request : MetaException while getting 
delegation token.. Cause : MetaException(message:Unauthorized connection
 for super-user: oozie/master003.next.rec.mapreduce.m1.p.fti.net@FTI.NET
 from IP 10.98.138.87)&lt;/PRE&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/10322/rpathak.html"&gt;@Rahul Pathak&lt;/A&gt; and &lt;A href="https://community.hortonworks.com/users/179/pbishnoi.html"&gt;@peeyush&lt;/A&gt; : I have this error on target. it's missing some proxyuser ?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 19:48:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/FALCON-hive-replication-failed/m-p/103294#M33337</guid>
      <dc:creator>maykiwogno</dc:creator>
      <dc:date>2016-06-29T19:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: [FALCON] : hive replication failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/FALCON-hive-replication-failed/m-p/103295#M33338</link>
      <description>&lt;P&gt;Check this &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.0/bk_ambari_views_guide/content/_setup_WebHCat_proxy_user_pig_view.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.0/bk_ambari_views_guide/content/_setup_WebHCat_proxy_user_pig_view.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 19:53:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/FALCON-hive-replication-failed/m-p/103295#M33338</guid>
      <dc:creator>rpathak</dc:creator>
      <dc:date>2016-06-29T19:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: [FALCON] : hive replication failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/FALCON-hive-replication-failed/m-p/103296#M33339</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10322/rpathak.html" nodeid="10322"&gt;@Rahul Pathak&lt;/A&gt; : i've add &lt;/P&gt;&lt;P&gt;webhcat.proxyuser.oozie.hosts=* to hive service &lt;/P&gt;&lt;P&gt;but i've have new error :&lt;/P&gt;&lt;PRE&gt;JA009: org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit 
application_1467203595416_0099 to YARN : Failed to renew token: Kind: 
HDFS_DELEGATION_TOKEN, Service: ha-hdfs:bigdata-next, Ident: 
(HDFS_DELEGATION_TOKEN token 10848 for falcon)&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Jun 2016 20:46:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/FALCON-hive-replication-failed/m-p/103296#M33339</guid>
      <dc:creator>maykiwogno</dc:creator>
      <dc:date>2016-06-29T20:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: [FALCON] : hive replication failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/FALCON-hive-replication-failed/m-p/103297#M33340</link>
      <description>&lt;P&gt;Probably it runs in this bug : &lt;A href="https://issues.apache.org/jira/browse/YARN-3021" target="_blank"&gt;https://issues.apache.org/jira/browse/YARN-3021&lt;/A&gt;&lt;/P&gt;&lt;P&gt;My yarn version is : 2.7.1.2.3&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 21:08:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/FALCON-hive-replication-failed/m-p/103297#M33340</guid>
      <dc:creator>maykiwogno</dc:creator>
      <dc:date>2016-06-29T21:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: [FALCON] : hive replication failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/FALCON-hive-replication-failed/m-p/103298#M33341</link>
      <description>&lt;P&gt;user falcon can submit yarn jar &lt;/P&gt;&lt;PRE&gt;[falcon@master003 hadoop-mapreduce-historyserver]$ yarn jar hadoop-mapreduce-examples-2.7.1.2.3.4.0-3485.jar pi 16 1000
Number of Maps  = 16
Samples per Map = 1000
Wrote input for Map #0
Wrote input for Map #1
Wrote input for Map #2
Wrote input for Map #3
Wrote input for Map #4
Wrote input for Map #5
Wrote input for Map #6
Wrote input for Map #7
Wrote input for Map #8
Wrote input for Map #9
Wrote input for Map #10
Wrote input for Map #11
Wrote input for Map #12
Wrote input for Map #13
Wrote input for Map #14
Wrote input for Map #15
Starting Job
16/06/29 16:27:07 INFO impl.TimelineClientImpl: Timeline service address: &lt;A href="http://xxxx:8188/ws/v1/timeline/" target="_blank"&gt;http://xxxx:8188/ws/v1/timeline/&lt;/A&gt;
16/06/29 16:27:07 INFO hdfs.DFSClient: Created HDFS_DELEGATION_TOKEN token 10914 for falcon on ha-hdfs:bigdata-next
16/06/29 16:27:07 INFO security.TokenCache: Got dt for hdfs://bigdata-next; Kind: HDFS_DELEGATION_TOKEN, Service: ha-hdfs:bigdata-next, Ident: (HDFS_DELEGATION_TOKEN token 10914 for falcon)
16/06/29 16:27:07 INFO client.ConfiguredRMFailoverProxyProvider: Failing over to rm2
16/06/29 16:27:08 INFO input.FileInputFormat: Total input paths to process : 16
16/06/29 16:27:08 INFO mapreduce.JobSubmitter: number of splits:16
16/06/29 16:27:08 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1467207300026_0007
16/06/29 16:27:08 INFO mapreduce.JobSubmitter: Kind: HDFS_DELEGATION_TOKEN, Service: ha-hdfs:bigdata-next, Ident: (HDFS_DELEGATION_TOKEN token 10914 for falcon)
16/06/29 16:27:08 INFO impl.YarnClientImpl: Submitted application application_1467207300026_0007
16/06/29 16:27:08 INFO mapreduce.Job: The url to track the job: &lt;A href="http://xxxxx:8088/proxy/application_1467207300026_0007/" target="_blank"&gt;http://xxxxx:8088/proxy/application_1467207300026_0007/&lt;/A&gt;
16/06/29 16:27:08 INFO mapreduce.Job: Running job: job_1467207300026_0007
16/06/29 16:27:17 INFO mapreduce.Job: Job job_1467207300026_0007 running in uber mode : false

&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Jun 2016 21:26:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/FALCON-hive-replication-failed/m-p/103298#M33341</guid>
      <dc:creator>maykiwogno</dc:creator>
      <dc:date>2016-06-29T21:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: [FALCON] : hive replication failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/FALCON-hive-replication-failed/m-p/103299#M33342</link>
      <description>&lt;P&gt;More detail about renew token error from workflow :&lt;/P&gt;&lt;PRE&gt;2016-06-29 18:46:00,127 DEBUG HadoopAccessorService:526 - SERVER[xxxx] USER[falcon] GROUP[-] TOKEN[] APP[FALCON_FEED_REPLICATION_replication-feed-hive] JOB[0000101-160629105530892-oozie-oozi-W] ACTION[0000101-160629105530892-oozie-oozi-W@table-export] Checking if filesystem hdfs is supported
2016-06-29 18:46:00,129 DEBUG HiveActionExecutor:526 - SERVER[xxxx] USER[falcon] GROUP[-] TOKEN[] APP[FALCON_FEED_REPLICATION_replication-feed-hive] JOB[0000101-160629105530892-oozie-oozi-W] ACTION[0000101-160629105530892-oozie-oozi-W@table-export] Submitting the job through Job Client for action 0000101-160629105530892-oozie-oozi-W@table-export
2016-06-29 18:46:00,131 DEBUG HiveActionExecutor:526 - SERVER[xxxx] USER[falcon] GROUP[-] TOKEN[] APP[FALCON_FEED_REPLICATION_replication-feed-hive] JOB[0000101-160629105530892-oozie-oozi-W] ACTION[0000101-160629105530892-oozie-oozi-W@table-export] ADDING TOKEN: HIVE_DELEGATION_TOKEN_
2016-06-29 18:46:01,145  WARN ActionStartXCommand:523 - SERVER[xxxx] USER[falcon] GROUP[-] TOKEN[] APP[FALCON_FEED_REPLICATION_replication-feed-hive] JOB[0000101-160629105530892-oozie-oozi-W] ACTION[0000101-160629105530892-oozie-oozi-W@table-export] Error starting action [table-export]. ErrorType [TRANSIENT], ErrorCode [JA009], Message [JA009: org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit application_1467203595416_0440 to YARN : Failed to renew token: Kind: HDFS_DELEGATION_TOKEN, Service: ha-hdfs:bigdata-next, Ident: (HDFS_DELEGATION_TOKEN token 10947 for falcon)]
org.apache.oozie.action.ActionExecutorException: JA009: org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit application_1467203595416_0440 to YARN : Failed to renew token: Kind: HDFS_DELEGATION_TOKEN, Service: ha-hdfs:bigdata-next, Ident: (HDFS_DELEGATION_TOKEN token 10947 for falcon)
    at org.apache.oozie.action.ActionExecutor.convertExceptionHelper(ActionExecutor.java:456)
    at org.apache.oozie.action.ActionExecutor.convertException(ActionExecutor.java:440)
    at org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(JavaActionExecutor.java:1139)
    at org.apache.oozie.action.hadoop.JavaActionExecutor.start(JavaActionExecutor.java:1293)
    at org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:250)
    at org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:64)
    at org.apache.oozie.command.XCommand.call(XCommand.java:286)
    at org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:321)
    at org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:250)
    at org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:175)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit application_1467203595416_0440 to YARN : Failed to renew token: Kind: HDFS_DELEGATION_TOKEN, Service: ha-hdfs:bigdata-next, Ident: (HDFS_DELEGATION_TOKEN token 10947 for falcon)
    at org.apache.hadoop.mapred.YARNRunner.submitJob(YARNRunner.java:306)
    at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:240)
    at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1290)
    at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1287)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:422)
    at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
    at org.apache.hadoop.mapreduce.Job.submit(Job.java:1287)
    at org.apache.hadoop.mapred.JobClient$1.run(JobClient.java:575)
    at org.apache.hadoop.mapred.JobClient$1.run(JobClient.java:570)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:422)
    at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
    at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:570)
    at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:561)
    at org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(JavaActionExecutor.java:1124)
    ... 10 more
Caused by: org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit application_1467203595416_0440 to YARN : Failed to renew token: Kind: HDFS_DELEGATION_TOKEN, Service: ha-hdfs:bigdata-next, Ident: (HDFS_DELEGATION_TOKEN token 10947 for falcon)
    at org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.submitApplication(YarnClientImpl.java:271)
    at org.apache.hadoop.mapred.ResourceMgrDelegate.submitApplication(ResourceMgrDelegate.java:291)
    at org.apache.hadoop.mapred.YARNRunner.submitJob(YARNRunner.java:290)
    ... 25 more&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Jun 2016 23:51:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/FALCON-hive-replication-failed/m-p/103299#M33342</guid>
      <dc:creator>maykiwogno</dc:creator>
      <dc:date>2016-06-29T23:51:34Z</dc:date>
    </item>
  </channel>
</rss>

