hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adarsh deshratnam <adarsh.deshrat...@gmail.com>
Subject Fwd: Main class [org.apache.oozie.action.hadoop.HiveMain], exit code [40000]
Date Wed, 28 Jan 2015 12:13:26 GMT

I am submitting a job in oozie for hive, but after submitting its shows
*Main class [org.apache.oozie.action.hadoop.HiveMain], exit code [40000] .*

Below is my hive-ste.xml


<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>

  <!-- Hive Configuration can either be stored in this file or in the
hadoop configuration files  -->
  <!-- that are implied by Hadoop setup variables.
  <!-- Aside from Hadoop setup variables - this file is provided as a
convenience so that Hive    -->
  <!-- users do not have to edit hadoop configuration files (that may
be managed as a centralized -->
  <!-- resource).
  <!-- Hive Execution Parameters -->

  <description>JDBC connect string for a JDBC metastore</description>

  <description>Driver class name for a JDBC metastore</description>

<description>IP address (or fully-qualified domain name) and port of
the metastore host</description>

<description>enable or disable the hive client authorization</description>
<description>the privileges automatically granted to the owner
whenever a table gets created.
An example like "select,drop" will grant select and drop privilege to
the owner of the table</description>



hql file.

select * from test limit 10;

My work flow.xml


<workflow-app name="hive_test" xmlns="uri:oozie:workflow:0.4">
    <start to="hive_test"/>
    <action name="hive_test">
        <hive xmlns="uri:oozie:hive-action:0.2">
        <ok to="end"/>
        <error to="kill"/>
    <kill name="kill">
        <message>Action failed, error
    <end name="end"/>

I am using CDH5 having hive ver:0.13.1

Please let me know anyone has faced same issue or tried resolving it.

Thanks in advance

View raw message