FAQ
Hello.
I run oozie hive action and I get an error :(
Help, pls...

2012-08-20 18:10:29,677 INFO ActionStartXCommand:539 - USER[oozie]
GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-oozie-oozi-W]
ACTION[0000001-120820180500828-oozie-oozi-W@myfirsthivejob] Start action
[0000001-120820180500828-oozie-oozi-W@myfirsthivejob] with user-retry state
: userRetryCount [0], userRetryMax [0], userRetryInterval [10]
2012-08-20 18:10:30,566 WARN HiveActionExecutor:542 - USER[oozie] GROUP[-]
TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-oozie-oozi-W]
ACTION[0000001-120820180500828-oozie-oozi-W@myfirsthivejob] credentials is
null for the action
2012-08-20 18:10:30,567 WARN HiveActionExecutor:542 - USER[oozie] GROUP[-]
TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-oozie-oozi-W]
ACTION[0000001-120820180500828-oozie-oozi-W@myfirsthivejob] Could not find
credentials properties for: null
2012-08-20 18:10:33,115 INFO HiveActionExecutor:539 - USER[oozie] GROUP[-]
TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-oozie-oozi-W]
ACTION[0000001-120820180500828-oozie-oozi-W@myfirsthivejob] checking
action, external ID [job_1345459148632_0024] status [RUNNING]
2012-08-20 18:10:33,116 WARN ActionStartXCommand:542 - USER[oozie]
GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-oozie-oozi-W]
ACTION[0000001-120820180500828-oozie-oozi-W@myfirsthivejob]
[***0000001-120820180500828-oozie-oozi-W@myfirsthivejob***]Action
status=RUNNING
2012-08-20 18:10:33,185 WARN ActionStartXCommand:542 - USER[oozie]
GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-oozie-oozi-W]
ACTION[0000001-120820180500828-oozie-oozi-W@myfirsthivejob]
[***0000001-120820180500828-oozie-oozi-W@myfirsthivejob***]Action updated
in DB!
2012-08-20 18:11:05,113 INFO CallbackServlet:539 - USER[-] GROUP[-]
TOKEN[-] APP[-] JOB[0000001-120820180500828-oozie-oozi-W]
ACTION[0000001-120820180500828-oozie-oozi-W@myfirsthivejob] callback for
action [0000001-120820180500828-oozie-oozi-W@myfirsthivejob]
2012-08-20 18:11:06,259 INFO HiveActionExecutor:539 - USER[oozie] GROUP[-]
TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-oozie-oozi-W]
ACTION[0000001-120820180500828-oozie-oozi-W@myfirsthivejob] action
completed, external ID [job_1345459148632_0024]
2012-08-20 18:11:06,319 WARN HiveActionExecutor:542 - USER[oozie] GROUP[-]
TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-oozie-oozi-W]
ACTION[0000001-120820180500828-oozie-oozi-W@myfirsthivejob] Launcher ERROR,
reason: Main class [org.apache.oozie.action.hadoop.HiveMain], exit code [10]
2012-08-20 18:11:06,441 INFO ActionEndXCommand:539 - USER[oozie] GROUP[-]
TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-oozie-oozi-W]
ACTION[0000001-120820180500828-oozie-oozi-W@myfirsthivejob] ERROR is
considered as FAILED for SLA
2012-08-20 18:11:06,542 WARN CoordActionUpdateXCommand:542 - USER[oozie]
GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-oozie-oozi-W]
ACTION[-] E1100: Command precondition does not hold before execution, [,
coord action is null], Error Code: E1100

--

Search Discussions

  • Robert Kanter at Aug 20, 2012 at 5:39 pm
    Hi,

    Can you post your workflow/coordinator XML file?

    thanks
    - Robert

    On Mon, Aug 20, 2012 at 7:22 AM, r.pavlenko wrote:

    Hello.
    I run oozie hive action and I get an error :(
    Help, pls...

    2012-08-20 18:10:29,677 INFO ActionStartXCommand:539 - USER[oozie]
    GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-oozie-oozi-W]
    ACTION[0000001-120820180500828-oozie-oozi-W@myfirsthivejob] Start action
    [0000001-120820180500828-oozie-oozi-W@myfirsthivejob] with user-retry
    state : userRetryCount [0], userRetryMax [0], userRetryInterval [10]
    2012-08-20 18:10:30,566 WARN HiveActionExecutor:542 - USER[oozie]
    GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-oozie-oozi-W]
    ACTION[0000001-120820180500828-oozie-oozi-W@myfirsthivejob] credentials
    is null for the action
    2012-08-20 18:10:30,567 WARN HiveActionExecutor:542 - USER[oozie]
    GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-oozie-oozi-W]
    ACTION[0000001-120820180500828-oozie-oozi-W@myfirsthivejob] Could not
    find credentials properties for: null
    2012-08-20 18:10:33,115 INFO HiveActionExecutor:539 - USER[oozie]
    GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-oozie-oozi-W]
    ACTION[0000001-120820180500828-oozie-oozi-W@myfirsthivejob] checking
    action, external ID [job_1345459148632_0024] status [RUNNING]
    2012-08-20 18:10:33,116 WARN ActionStartXCommand:542 - USER[oozie]
    GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-oozie-oozi-W]
    ACTION[0000001-120820180500828-oozie-oozi-W@myfirsthivejob]
    [***0000001-120820180500828-oozie-oozi-W@myfirsthivejob***]Action
    status=RUNNING
    2012-08-20 18:10:33,185 WARN ActionStartXCommand:542 - USER[oozie]
    GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-oozie-oozi-W]
    ACTION[0000001-120820180500828-oozie-oozi-W@myfirsthivejob]
    [***0000001-120820180500828-oozie-oozi-W@myfirsthivejob***]Action updated
    in DB!
    2012-08-20 18:11:05,113 INFO CallbackServlet:539 - USER[-] GROUP[-]
    TOKEN[-] APP[-] JOB[0000001-120820180500828-oozie-oozi-W]
    ACTION[0000001-120820180500828-oozie-oozi-W@myfirsthivejob] callback for
    action [0000001-120820180500828-oozie-oozi-W@myfirsthivejob]
    2012-08-20 18:11:06,259 INFO HiveActionExecutor:539 - USER[oozie]
    GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-oozie-oozi-W]
    ACTION[0000001-120820180500828-oozie-oozi-W@myfirsthivejob] action
    completed, external ID [job_1345459148632_0024]
    2012-08-20 18:11:06,319 WARN HiveActionExecutor:542 - USER[oozie]
    GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-oozie-oozi-W]
    ACTION[0000001-120820180500828-oozie-oozi-W@myfirsthivejob] Launcher
    ERROR, reason: Main class [org.apache.oozie.action.hadoop.HiveMain], exit
    code [10]
    2012-08-20 18:11:06,441 INFO ActionEndXCommand:539 - USER[oozie] GROUP[-]
    TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-oozie-oozi-W]
    ACTION[0000001-120820180500828-oozie-oozi-W@myfirsthivejob] ERROR is
    considered as FAILED for SLA
    2012-08-20 18:11:06,542 WARN CoordActionUpdateXCommand:542 - USER[oozie]
    GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-oozie-oozi-W]
    ACTION[-] E1100: Command precondition does not hold before execution, [,
    coord action is null], Error Code: E1100

    --


    --
  • R.pavlenko at Aug 21, 2012 at 6:59 am
    Hi, Robert!

    <workflow-app name="sample-wf" xmlns="uri:oozie:workflow:0.1">
         <start to="myfirsthivejob" />
         <action name="myfirsthivejob">
             <hive xmlns="uri:oozie:hive-action:0.2">
                 <job-tracker>localhost:8032</job-tracker>
                 <name-node>hdfs://localhost:8020</name-node>

    <job-xml>hdfs://localhost/oozie/workflow/hive/hive-site.xml</job-xml>
                 <configuration>
                     <property>
                         <name>oozie.log.hive.level</name>
                         <value>DEBUG</value>
                     </property>
                     <property>
                         <name>oozie.hive.defaults</name>

    <value>hdfs://localhost/oozie/workflow/hive/hive-default.xml</value>
                     </property>
                 </configuration>

                 <script>script.query</script>
                 <param>Query=${query}</param>
             </hive>
             <ok to="end"/>
             <error to="end"/>
         </action>
         <end name="end"/>
    </workflow-app>


    понедельник, 20 августа 2012 г., 21:39:01 UTC+4 пользователь Robert Kanter
    написал:
    Hi,

    Can you post your workflow/coordinator XML file?

    thanks
    - Robert


    On Mon, Aug 20, 2012 at 7:22 AM, r.pavlenko <pavlenko....@gmail.com<javascript:>
    wrote:
    Hello.
    I run oozie hive action and I get an error :(
    Help, pls...

    2012-08-20 18:10:29,677 INFO ActionStartXCommand:539 - USER[oozie]
    GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-oozie-oozi-W]
    ACTION[0000001-120820180500828-oozie-oozi-W@myfirsthivejob] Start action
    [0000001-120820180500828-oozie-oozi-W@myfirsthivejob] with user-retry state
    : userRetryCount [0], userRetryMax [0], userRetryInterval [10]
    2012-08-20 18:10:30,566 WARN HiveActionExecutor:542 - USER[oozie]
    GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-oozie-oozi-W]
    ACTION[0000001-120820180500828-oozie-oozi-W@myfirsthivejob] credentials is
    null for the action
    2012-08-20 18:10:30,567 WARN HiveActionExecutor:542 - USER[oozie]
    GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-oozie-oozi-W]
    ACTION[0000001-120820180500828-oozie-oozi-W@myfirsthivejob] Could not find
    credentials properties for: null
    2012-08-20 18:10:33,115 INFO HiveActionExecutor:539 - USER[oozie]
    GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-oozie-oozi-W]
    ACTION[0000001-120820180500828-oozie-oozi-W@myfirsthivejob] checking
    action, external ID [job_1345459148632_0024] status [RUNNING]
    2012-08-20 18:10:33,116 WARN ActionStartXCommand:542 - USER[oozie]
    GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-oozie-oozi-W]
    ACTION[0000001-120820180500828-oozie-oozi-W@myfirsthivejob]
    [***0000001-120820180500828-oozie-oozi-W@myfirsthivejob***]Action
    status=RUNNING
    2012-08-20 18:10:33,185 WARN ActionStartXCommand:542 - USER[oozie]
    GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-oozie-oozi-W]
    ACTION[0000001-120820180500828-oozie-oozi-W@myfirsthivejob]
    [***0000001-120820180500828-oozie-oozi-W@myfirsthivejob***]Action updated
    in DB!
    2012-08-20 18:11:05,113 INFO CallbackServlet:539 - USER[-] GROUP[-]
    TOKEN[-] APP[-] JOB[0000001-120820180500828-oozie-oozi-W]
    ACTION[0000001-120820180500828-oozie-oozi-W@myfirsthivejob] callback for
    action [0000001-120820180500828-oozie-oozi-W@myfirsthivejob]
    2012-08-20 18:11:06,259 INFO HiveActionExecutor:539 - USER[oozie]
    GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-oozie-oozi-W]
    ACTION[0000001-120820180500828-oozie-oozi-W@myfirsthivejob] action
    completed, external ID [job_1345459148632_0024]
    2012-08-20 18:11:06,319 WARN HiveActionExecutor:542 - USER[oozie]
    GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-oozie-oozi-W]
    ACTION[0000001-120820180500828-oozie-oozi-W@myfirsthivejob] Launcher ERROR,
    reason: Main class [org.apache.oozie.action.hadoop.HiveMain], exit code [10]
    2012-08-20 18:11:06,441 INFO ActionEndXCommand:539 - USER[oozie]
    GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-oozie-oozi-W]
    ACTION[0000001-120820180500828-oozie-oozi-W@myfirsthivejob] ERROR is
    considered as FAILED for SLA
    2012-08-20 18:11:06,542 WARN CoordActionUpdateXCommand:542 - USER[oozie]
    GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-oozie-oozi-W]
    ACTION[-] E1100: Command precondition does not hold before execution, [,
    coord action is null], Error Code: E1100

    --


    --
  • Robert Kanter at Aug 21, 2012 at 5:34 pm
    Here's a couple of things I noticed about your workflow:
    1) Are you sure that 8032 is the correct port for your job tracker? I've
    typically seen it as 8021. Please double check this.
    2) The two paths that you have (job-xml and oozie.hive.defaults) should
    include the port number after the name node; so,
    hdfs://localhost:8020/oozie/workflow/hive/hive-site.xml
    and hdfs://localhost:8020/oozie/workflow/hive/hive-default.xml
    3) In your param element, you are referencing a variable named "query";
    have you defined this variable in your properties file?

    - Robert


    On Mon, Aug 20, 2012 at 11:59 PM, r.pavlenko
    wrote:
    Hi, Robert!

    <workflow-app name="sample-wf" xmlns="uri:oozie:workflow:0.1">
    <start to="myfirsthivejob" />
    <action name="myfirsthivejob">
    <hive xmlns="uri:oozie:hive-action:0.2">
    <job-tracker>localhost:8032</job-tracker>
    <name-node>hdfs://localhost:8020</name-node>

    <job-xml>hdfs://localhost/oozie/workflow/hive/hive-site.xml</job-xml>
    <configuration>
    <property>
    <name>oozie.log.hive.level</name>
    <value>DEBUG</value>
    </property>
    <property>
    <name>oozie.hive.defaults</name>

    <value>hdfs://localhost/oozie/workflow/hive/hive-default.xml</value>
    </property>
    </configuration>

    <script>script.query</script>
    <param>Query=${query}</param>
    </hive>
    <ok to="end"/>
    <error to="end"/>
    </action>
    <end name="end"/>
    </workflow-app>


    понедельник, 20 августа 2012 г., 21:39:01 UTC+4 пользователь Robert Kanter
    написал:
    Hi,

    Can you post your workflow/coordinator XML file?

    thanks
    - Robert

    On Mon, Aug 20, 2012 at 7:22 AM, r.pavlenko wrote:

    Hello.
    I run oozie hive action and I get an error :(
    Help, pls...

    2012-08-20 18:10:29,677 INFO ActionStartXCommand:539 - USER[oozie]
    GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-**oozie-oozi-W]
    ACTION[0000001-**120820180500828-oozie-oozi-W@**myfirsthivejob] Start
    action [0000001-120820180500828-**oozie-oozi-W@myfirsthivejob] with
    user-retry state : userRetryCount [0], userRetryMax [0], userRetryInterval
    [10]
    2012-08-20 18:10:30,566 WARN HiveActionExecutor:542 - USER[oozie]
    GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-**oozie-oozi-W]
    ACTION[0000001-**120820180500828-oozie-oozi-W@**myfirsthivejob]
    credentials is null for the action
    2012-08-20 18:10:30,567 WARN HiveActionExecutor:542 - USER[oozie]
    GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-**oozie-oozi-W]
    ACTION[0000001-**120820180500828-oozie-oozi-W@**myfirsthivejob] Could
    not find credentials properties for: null
    2012-08-20 18:10:33,115 INFO HiveActionExecutor:539 - USER[oozie]
    GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-**oozie-oozi-W]
    ACTION[0000001-**120820180500828-oozie-oozi-W@**myfirsthivejob]
    checking action, external ID [job_1345459148632_0024] status [RUNNING]
    2012-08-20 18:10:33,116 WARN ActionStartXCommand:542 - USER[oozie]
    GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-**oozie-oozi-W]
    ACTION[0000001-**120820180500828-oozie-oozi-W@**myfirsthivejob]
    [***0000001-120820180500828-**oozie-oozi-W@myfirsthivejob*****]Action
    status=RUNNING
    2012-08-20 18:10:33,185 WARN ActionStartXCommand:542 - USER[oozie]
    GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-**oozie-oozi-W]
    ACTION[0000001-**120820180500828-oozie-oozi-W@**myfirsthivejob]
    [***0000001-120820180500828-**oozie-oozi-W@myfirsthivejob*****]Action
    updated in DB!
    2012-08-20 18:11:05,113 INFO CallbackServlet:539 - USER[-] GROUP[-]
    TOKEN[-] APP[-] JOB[0000001-120820180500828-**oozie-oozi-W]
    ACTION[0000001-**120820180500828-oozie-oozi-W@**myfirsthivejob]
    callback for action [0000001-120820180500828-**
    oozie-oozi-W@myfirsthivejob]
    2012-08-20 18:11:06,259 INFO HiveActionExecutor:539 - USER[oozie]
    GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-**oozie-oozi-W]
    ACTION[0000001-**120820180500828-oozie-oozi-W@**myfirsthivejob] action
    completed, external ID [job_1345459148632_0024]
    2012-08-20 18:11:06,319 WARN HiveActionExecutor:542 - USER[oozie]
    GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-**oozie-oozi-W]
    ACTION[0000001-**120820180500828-oozie-oozi-W@**myfirsthivejob]
    Launcher ERROR, reason: Main class [org.apache.oozie.action.**hadoop.HiveMain],
    exit code [10]
    2012-08-20 18:11:06,441 INFO ActionEndXCommand:539 - USER[oozie]
    GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-**oozie-oozi-W]
    ACTION[0000001-**120820180500828-oozie-oozi-W@**myfirsthivejob] ERROR
    is considered as FAILED for SLA
    2012-08-20 18:11:06,542 WARN CoordActionUpdateXCommand:542 -
    USER[oozie] GROUP[-] TOKEN[] APP[sample-wf] JOB[0000001-120820180500828-
    **oozie-oozi-W] ACTION[-] E1100: Command precondition does not hold
    before execution, [, coord action is null], Error Code: E1100

    --


    --

    --

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcdh-user @
categorieshadoop
postedAug 20, '12 at 2:22p
activeAug 21, '12 at 5:34p
posts4
users2
websitecloudera.com
irc#hadoop

2 users in discussion

R.pavlenko: 2 posts Robert Kanter: 2 posts

People

Translate

site design / logo © 2022 Grokbase