Skip to content

Commit

Permalink
[build] Allow HADOOP_HOME to point to a CDH4 hadoop
Browse files Browse the repository at this point in the history
  • Loading branch information
bc Wong committed Apr 6, 2012
1 parent 0daca31 commit 6dd9c05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -90,8 +90,8 @@ ifeq ($(CREPO),)
$(error "Error: Need crepo. See <http://github.com/cloudera/crepo>.")
endif

ifneq ($(shell test -e $(HADOOP_HOME)/hadoop-core-0.20*.jar -o -e $(HADOOP_HOME)/hadoop*0.20*core.jar && echo $$?),0)
$(error "Error: No Hadoop 0.20 installation at $(HADOOP_HOME). Please set $$HADOOP_HOME.")
ifneq ($(shell test -e $(HADOOP_HOME)/bin/hadoop && echo $$?),0)
$(error "Error: No Hadoop installation at $(HADOOP_HOME). Please set $$HADOOP_HOME.")
endif
# END DEV ONLY >>>>

Expand Down

0 comments on commit 6dd9c05

Please sign in to comment.