[jira] [Commented] (IGNITE-3184) Hadoop: HADOOP_HOME should not be required if all other environment variables are set.

2016-06-24 Thread Ivan Veselovsky (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-3184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15347930#comment-15347930
 ] 

Ivan Veselovsky commented on IGNITE-3184:
-

fixed by review results.

> 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: Vladimir Ozerov
> 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)


[jira] [Commented] (IGNITE-3184) Hadoop: HADOOP_HOME should not be required if all other environment variables are set.

2016-06-20 Thread Ivan Veselovsky (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-3184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15340023#comment-15340023
 ] 

Ivan Veselovsky commented on IGNITE-3184:
-

Implemented approach of pure-java classpath composition : 
https://github.com/apache/ignite/pull/818 .

> 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: Vladimir Ozerov
> 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)