Vladimir Ozerov created IGNITE-3184:
---------------------------------------

             Summary: Hadoop: HADOOP_HOME should not be required if all other 
environment variables are set.
                 Key: IGNITE-3184
                 URL: https://issues.apache.org/jira/browse/IGNITE-3184
             Project: Ignite
          Issue Type: Bug
          Components: hadoop
    Affects Versions: 1.5.0.final
            Reporter: Vladimir Ozerov
            Assignee: Ivan Veselovsky
             Fix For: 1.7


*Problem*
Ignite internals require three pieces to create correct Hadoop classpath:
1) Path to common JARs;
2) Path to HDFS JARs;
3) Path map-reduce JARs.

These three paths could be set with environment variables HADOOP_COMMON_HOME, 
HADOOP_HDFS_HOME and HADOOP_MAPRED_HOME respectively. 

When all of them are set, HADOOP_HOME is no longer needed, but we will throw an 
exception in this case. We should not do that.

*Solution*
Throw exception only in case we cannot resolve any of these paths.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to