sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-1260) HADOOP_MAPRED_HOME should be defaulted correctly
Date Fri, 20 Dec 2013 00:47:07 GMT

    [ https://issues.apache.org/jira/browse/SQOOP-1260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13853529#comment-13853529

Hudson commented on SQOOP-1260:

SUCCESS: Integrated in Sqoop-ant-jdk-1.6-hadoop20 #868 (See [https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop20/868/])
SQOOP-1260: HADOOP_MAPRED_HOME should be defaulted correctly (jarcec: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=49c0bf9b2e654eb36a4dabd989c470788c7e9ed8)
* bin/configure-sqoop

> HADOOP_MAPRED_HOME should be defaulted correctly
> ------------------------------------------------
>                 Key: SQOOP-1260
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1260
>             Project: Sqoop
>          Issue Type: Bug
>         Environment: Hadoop 2.x
>            Reporter: Venkat Ranganathan
>            Assignee: Venkat Ranganathan
>             Fix For: 1.4.5
>         Attachments: SQOOP-1260-2.patch, SQOOP-1260.patch
> When running Sqoop on Hadoop 2.x which has been installed using the BigTop layout (with
a custom hadoop-layout.sh),  we run into issues in a setup where only Hadoop and sqoop are
installed with the failure in the compilation of the generated Java file.
> This is because in Sqoop, the HADOOP_MAPRED_HOME is defaulted  to HADOOP_HOME (/usr/lib/hadoop
by default) when the variable is not set.
> This results in the mapreduce libraries not being added to the classpath and hence the
failure.  If we have HBase installed, then we add the HBase classpath which causes the mapreduce
libraries to be brought into the classpath and hence we don't see the issue.   
> We should default HADOOP_MAPRED_HOME to /usr/lib/hadoop-mapreduce (the BigTop default)
if the directory is present else default to HADOOP_HOME

This message was sent by Atlassian JIRA

View raw message