You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2016/05/23 14:43:12 UTC
[jira] [Created] (IGNITE-3185) Hadoop: Improve Hadoop JAR search
logic.
Vladimir Ozerov created IGNITE-3185:
---------------------------------------
Summary: Hadoop: Improve Hadoop JAR search logic.
Key: IGNITE-3185
URL: https://issues.apache.org/jira/browse/IGNITE-3185
Project: Ignite
Issue Type: Bug
Components: hadoop
Affects Versions: 1.5.0.final
Reporter: Vladimir Ozerov
Assignee: Ivan Veselovsky
Fix For: 1.7
*Problem*
Currently our {{HadoopClassLoader}} is trying to find common/hdfs/mapred JARs automatically if {{HADOOP_HOME}} is set. However, it checks only for standard Apache Hadoop distribution paths (/share/hadoop/*). For other distributions (CDH, HDP), user has to bother with additional env variables manually.
*Solution*
Try to search for the following folders as well:
$HADOOP_HOME/hadoop
$HADOOP_HOME/hadoop-hdfs
$HADOOP_HOME/hadoop-mapreduce
If all these folders are found, then this is either HDP or CDH deployment and we can create the classpath without additional env vars.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)