You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@joshua.apache.org by "Lewis John McGibbney (JIRA)" <ji...@apache.org> on 2016/05/24 20:14:12 UTC

[jira] [Created] (JOSHUA-271) Thrax invocation should not reply upon $HADOOP being set

Lewis John McGibbney created JOSHUA-271:
-------------------------------------------

             Summary: Thrax invocation should not reply upon $HADOOP being set
                 Key: JOSHUA-271
                 URL: https://issues.apache.org/jira/browse/JOSHUA-271
             Project: Joshua
          Issue Type: Bug
          Components: pipeline, thrax
    Affects Versions: 6.0.5
            Reporter: Lewis John McGibbney
             Fix For: 6.1


Right now one cannot run thrax unless the $HADOOP env variable is defined. Every time the hadoop script is invoked it means that the path is coded as $HADOOP/bin/hadoop however what happens if you are using a VM (Vagrant) to connect to a cluster for which no $HADOOP env variable is defined? 
The hadoop script should be on the path and available to use from there. The only check which should be made is whether it is available from the path or not, if it is not then start_hadoop_cluster subroutine can be called. This reduces code and makes more sense.  



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