ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ozerov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-3185) Hadoop: Improve Hadoop JAR search logic.
Date Mon, 23 May 2016 14:43:12 GMT
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)

Mime
View raw message