[
https://issues.apache.org/jira/browse/IGNITE-3185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladimir Ozerov closed IGNITE-3185.
-----------------------------------
> 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: Vladimir Ozerov
> 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)