<?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: why Falcon job is Failing? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/why-Falcon-job-is-Failing/m-p/160360#M122745</link>
    <description>&lt;P&gt;Thank you Kuldeep,&lt;/P&gt;&lt;P&gt;As I am new to falcon and oozie so i dont know where to see Oozie launcher logs?&lt;/P&gt;&lt;P&gt;At which location?&lt;/P&gt;</description>
    <pubDate>Sun, 22 May 2016 14:33:45 GMT</pubDate>
    <dc:creator>Manus</dc:creator>
    <dc:date>2016-05-22T14:33:45Z</dc:date>
    <item>
      <title>why Falcon job is Failing?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/why-Falcon-job-is-Failing/m-p/160356#M122741</link>
      <description>&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;I am badly stuck at running falcon job and trying to solve this since two days.I have designed data pipeline which loads data on hourly basis from HDFS loaction and put it in hive table(table is partitioned already).&lt;/P&gt;&lt;P&gt;The Error which I am getting in OOzie UI for falcon process is :&lt;/P&gt;&lt;P&gt;Main class [org.apache.oozie.action.hadoop.HiveMain], exit code [40000].&lt;/P&gt;&lt;P&gt;I have checked the oozie launcher logs and yarn logs too but some wrong configuration I didnt able to see yarn logs.&lt;/P&gt;&lt;P&gt;What to do in such a case?&lt;/P&gt;&lt;P&gt;Where I should look for the error/logs?&lt;/P&gt;&lt;P&gt;Where I will get to see complete or string reason of error?&lt;/P&gt;&lt;P&gt;Command:&lt;/P&gt;&lt;P&gt;yarn logs -applicationId &amp;lt;ID&amp;gt;&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;There are total 3 XML&lt;/P&gt;&lt;P&gt;1)InputFeedhive.xml(Which refer to HDFS location)&lt;/P&gt;&lt;P&gt;2)processHive.xml(Runs hive script to load data into hive table)&lt;/P&gt;&lt;P&gt;3)hiveOutputFeed.xml(Refer to hive table.)&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;The hive.hql conatin only:&lt;/P&gt;&lt;P&gt;LOAD DATA INPATH "${input}" OVERWRITE INTO TABLE "${falcon_output_table}" PARTITION(${falcon_output_partitions_hive});&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;The HDFS Loaction is in following format:&lt;/P&gt;&lt;P&gt;/user/manoj/input/bdate=2016-05-21-09/employee.txt&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;A emloyee.txt contains&lt;/P&gt;&lt;P&gt;12,john,304&lt;/P&gt;&lt;P&gt;13,brown,305&lt;/P&gt;&lt;P&gt;14,jeddy,306&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;1) InputFeedhive.xml&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;feed name="inputFeedHive" xmlns="uri:falcon:feed:0.1"&amp;gt; &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;    &amp;lt;frequency&amp;gt;hours(1)&amp;lt;/frequency&amp;gt; &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;    &amp;lt;timezone&amp;gt;UTC&amp;lt;/timezone&amp;gt;&lt;/P&gt;&lt;P&gt;
    &amp;lt;clusters&amp;gt;
        &amp;lt;cluster name="hiveCluster" type="source"&amp;gt; &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;            &amp;lt;validity start="2016-05-21T07:00Z" end="2016-05-25T07:00Z"/&amp;gt;
            &amp;lt;retention limit="days(1)" action="delete"/&amp;gt;&lt;/P&gt;&lt;P&gt;
        &amp;lt;/cluster&amp;gt; &lt;/P&gt;&lt;P&gt;    &amp;lt;/clusters&amp;gt; &lt;/P&gt;&lt;P&gt;    &amp;lt;locations&amp;gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;
        &amp;lt;location type="data" path="/user/manoj/input/bdate=${YEAR}-${MONTH}-${DAY}-${HOUR}"/&amp;gt; &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;        &amp;lt;location type="stats" path="/user/manoj/statsPath${YEAR}-${MONTH}-${DAY}-${HOUR}"/&amp;gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;
        &amp;lt;location type="meta" path="/user/manoj/metaPath${YEAR}-${MONTH}-${DAY}-${HOUR}"/&amp;gt;&lt;/P&gt;&lt;P&gt;
    &amp;lt;/locations&amp;gt;&lt;/P&gt;&lt;P&gt;
    &amp;lt;ACL owner="ambari-qa" group="users" permission="0755"/&amp;gt;&lt;/P&gt;&lt;P&gt;
    &amp;lt;schema location="/none" provider="none"/&amp;gt;&lt;/P&gt;&lt;P&gt;
    &amp;lt;properties&amp;gt; &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;        &amp;lt;property name="jobPriority" value="VERY_HIGH"/&amp;gt;&lt;/P&gt;&lt;P&gt;
    &amp;lt;/properties&amp;gt;&lt;/P&gt;&lt;P&gt;
&amp;lt;/feed&amp;gt;&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;2) hiveOutputFeed.xml&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;feed name="hiveOutputFeed" xmlns="uri:falcon:feed:0.1"&amp;gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;
    &amp;lt;frequency&amp;gt;hours(1)&amp;lt;/frequency&amp;gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;
    &amp;lt;timezone&amp;gt;UTC&amp;lt;/timezone&amp;gt; &lt;/P&gt;&lt;P&gt;    &amp;lt;clusters&amp;gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;
        &amp;lt;cluster name="hiveCluster" type="source"&amp;gt;&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;
            &amp;lt;validity start="2016-05-21T07:00Z" end="2016-05-25T07:00Z"/&amp;gt;&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;
            &amp;lt;retention limit="days(1)" action="delete"/&amp;gt;&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;
            &amp;lt;table uri="catalog:temp:employee#bdate=${YEAR}-${MONTH}-${DAY}-${HOUR}"/&amp;gt; &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;        &amp;lt;/cluster&amp;gt;&lt;/P&gt;&lt;P&gt;
    &amp;lt;/clusters&amp;gt; &lt;/P&gt;&lt;P&gt;    &amp;lt;table uri="catalog:temp:employee#bdate=${YEAR}-${MONTH}-${DAY}-${HOUR}"/&amp;gt;&lt;/P&gt;&lt;P&gt;
    &amp;lt;ACL owner="ambari-qa" group="users" permission="0755"/&amp;gt; &lt;/P&gt;&lt;P&gt;    &amp;lt;schema location="hcat" provider="hcat"/&amp;gt;&lt;/P&gt;&lt;P&gt;
&amp;lt;/feed&amp;gt;
&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;3) processHive.xml&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&amp;gt;&lt;/P&gt;&lt;P&gt;
&amp;lt;process name="processHive" xmlns="uri:falcon:process:0.1"&amp;gt; &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;    &amp;lt;tags&amp;gt;new=HiveProcess&amp;lt;/tags&amp;gt;
    &amp;lt;clusters&amp;gt;
        &amp;lt;cluster name="hiveCluster"&amp;gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;
            &amp;lt;validity start="2016-05-21T07:00Z" end="2016-05-25T07:00Z"/&amp;gt;&lt;/P&gt;&lt;P&gt;
        &amp;lt;/cluster&amp;gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;
    &amp;lt;/clusters&amp;gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;
    &amp;lt;parallel&amp;gt;1&amp;lt;/parallel&amp;gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;
    &amp;lt;order&amp;gt;FIFO&amp;lt;/order&amp;gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;
    &amp;lt;frequency&amp;gt;minutes(15)&amp;lt;/frequency&amp;gt; &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;    &amp;lt;timezone&amp;gt;UTC&amp;lt;/timezone&amp;gt;&lt;/P&gt;&lt;P&gt;
    &amp;lt;inputs&amp;gt; &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;        &amp;lt;input name="input" feed="inputFeedHive" start="now(0,0)" end="now(0,0)"/&amp;gt; &lt;/P&gt;&lt;P&gt;    &amp;lt;/inputs&amp;gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;
    &amp;lt;outputs&amp;gt;
        &amp;lt;output name="output" feed="hiveOutputFeed" instance="now(0,0)"/&amp;gt;&lt;/P&gt;&lt;P&gt;
    &amp;lt;/outputs&amp;gt; &lt;/P&gt;&lt;P&gt;    &amp;lt;workflow engine="hive" path="/user/manoj/script/hive.hql"/&amp;gt; &lt;/P&gt;&lt;P&gt;    &amp;lt;retry policy="periodic" delay="minutes(30)" attempts="1"/&amp;gt; &lt;/P&gt;&lt;P&gt;    &amp;lt;ACL owner="ambari-qa" group="users" permission="0755"/&amp;gt;&lt;/P&gt;&lt;P&gt;
&amp;lt;/process&amp;gt;&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Please share you ides with me.&lt;/P&gt;</description>
      <pubDate>Sat, 21 May 2016 14:49:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/why-Falcon-job-is-Failing/m-p/160356#M122741</guid>
      <dc:creator>Manus</dc:creator>
      <dc:date>2016-05-21T14:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: why Falcon job is Failing?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/why-Falcon-job-is-Failing/m-p/160357#M122742</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/10447/manoj-dhake.html"&gt;@Manoj Dhake&lt;/A&gt; : Can you please share complete error log file? we get "Main class [org.apache.oozie.action.hadoop.HiveMain], exit code [40000]." in many senaerios &lt;/P&gt;</description>
      <pubDate>Sat, 21 May 2016 19:51:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/why-Falcon-job-is-Failing/m-p/160357#M122742</guid>
      <dc:creator>bandarusridhar1</dc:creator>
      <dc:date>2016-05-21T19:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: why Falcon job is Failing?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/why-Falcon-job-is-Failing/m-p/160358#M122743</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10447/manoj-dhake.html" nodeid="10447"&gt;@Manoj Dhake&lt;/A&gt; - Can you please check stderr in Oozie launcher logs?&lt;/P&gt;</description>
      <pubDate>Sun, 22 May 2016 02:07:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/why-Falcon-job-is-Failing/m-p/160358#M122743</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-05-22T02:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: why Falcon job is Failing?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/why-Falcon-job-is-Failing/m-p/160359#M122744</link>
      <description>&lt;P&gt;Thanks Sri,&lt;/P&gt;&lt;P&gt;I have checked yarn logs too but about which error log file you are talking?&lt;/P&gt;&lt;P&gt;I mean,oozie error log file/falcon/hive log file?&lt;/P&gt;&lt;P&gt;About whichever log file you are talking,please mention the log file name so that I can immediately send it you. &lt;/P&gt;</description>
      <pubDate>Sun, 22 May 2016 14:31:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/why-Falcon-job-is-Failing/m-p/160359#M122744</guid>
      <dc:creator>Manus</dc:creator>
      <dc:date>2016-05-22T14:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: why Falcon job is Failing?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/why-Falcon-job-is-Failing/m-p/160360#M122745</link>
      <description>&lt;P&gt;Thank you Kuldeep,&lt;/P&gt;&lt;P&gt;As I am new to falcon and oozie so i dont know where to see Oozie launcher logs?&lt;/P&gt;&lt;P&gt;At which location?&lt;/P&gt;</description>
      <pubDate>Sun, 22 May 2016 14:33:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/why-Falcon-job-is-Failing/m-p/160360#M122745</guid>
      <dc:creator>Manus</dc:creator>
      <dc:date>2016-05-22T14:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: why Falcon job is Failing?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/why-Falcon-job-is-Failing/m-p/160361#M122746</link>
      <description>&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;I have resolved this problem.Actually There was problem in hive.hql file&lt;/P&gt;&lt;P&gt;Here is Correct Hive script:&lt;/P&gt;&lt;P&gt;LOAD DATA INPATH '${input}/employee.txt' OVERWRITE INTO TABLE temp.employee PARTITION(${falcon_output_partitions_hive});&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 15:46:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/why-Falcon-job-is-Failing/m-p/160361#M122746</guid>
      <dc:creator>Manus</dc:creator>
      <dc:date>2016-05-23T15:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: why Falcon job is Failing?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/why-Falcon-job-is-Failing/m-p/160362#M122747</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10447/manoj-dhake.html" nodeid="10447"&gt;@Manoj Dhake&lt;/A&gt; :-  Hi Manoj, finally the issue has got resolved ? if so , can you share the workaround. Thanks .&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2016 12:54:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/why-Falcon-job-is-Failing/m-p/160362#M122747</guid>
      <dc:creator>writetoaditikum</dc:creator>
      <dc:date>2016-10-07T12:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: why Falcon job is Failing?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/why-Falcon-job-is-Failing/m-p/160363#M122748</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10447/manoj-dhake.html" nodeid="10447"&gt;@Manoj Dhake&lt;/A&gt; &lt;/P&gt;&lt;P&gt;
&lt;A rel="user" href="https://community.cloudera.com/users/504/kkulkarni.html" nodeid="504"&gt;@Kuldeep Kulkarni&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I replicated the same scenario and getting same error of Main class [org.apache.oozie.action.hadoop.HiveMain], exit code [40000]. Detailed error from STDERR is &lt;/P&gt;&lt;PRE&gt;Logging initialized using configuration in /yarn1/hadoop/yarn/local/usercache/id847257/appcache/application_1475673186013_1313/container_e69_1475673186013_1313_01_000002/hive-log4j.properties
FAILED: IllegalArgumentException java.net.URISyntaxException: Illegal character in scheme name at index 0: 2016-10-07,hdfs:
Intercepting System.exit(40000)
Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.HiveMain], exit code [40000]
&lt;/PRE&gt;&lt;P&gt;I looked for any blank character at the given index, but didn't find any resolution.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2016 13:11:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/why-Falcon-job-is-Failing/m-p/160363#M122748</guid>
      <dc:creator>writetoaditikum</dc:creator>
      <dc:date>2016-10-07T13:11:41Z</dc:date>
    </item>
  </channel>
</rss>

