Affects Version/s: None
Fix Version/s: 1.4.5
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
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|56s||1||Venkat Ranganathan||13/Dec/13 21:09|
|6d 1h 36m||1||Jarek Jarcec Cecho||19/Dec/13 22:45|
|Status||Patch Available [ 10002 ]||Resolved [ 5 ]|
|Fix Version/s||1.4.5 [ 12324765 ]|
|Resolution||Fixed [ 1 ]|
|Remote Link||This issue links to "Review board link (Web Link)" [ 13521 ]|
|Status||Open [ 1 ]||Patch Available [ 10002 ]|
|Assignee||Venkat Ranganathan [ venkatnrangan ]|