hawq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eschizoid <...@git.apache.org>
Subject [GitHub] hawq pull request #1396: Easy Hawq and PXF initialization
Date Mon, 17 Sep 2018 16:42:07 GMT
Github user eschizoid commented on a diff in the pull request:

    https://github.com/apache/hawq/pull/1396#discussion_r218142852
  
    --- Diff: contrib/hawq-docker/Makefile ---
    @@ -227,3 +229,85 @@ distclean:
     		docker network rm $(NETWORK) 2>&1 >/dev/null || true; \
     	fi
     	@echo "Distclean Done!"
    +
    +hawq:
    +	@echo "Logging into ${CLUSTER_ID}-namenode container"
    +	@if [ ! -z "`docker ps -a --filter="name=${CLUSTER_ID}-namenode" | grep -v CONTAINER`"
]; then \
    +		docker exec \
    +			-e "HAWQ_HOME=$(HAWQ_HOME)" \
    +			-e "JAVA_TOOL_OPTIONS=$(JAVA_TOOL_OPTIONS)" \
    +			-u gpadmin --privileged -it ${CLUSTER_ID}-namenode "make-hawq.sh"; \
    +	else \
    +		echo "${CLUSTER_ID}-namenode container does not exist!"; \
    +	fi
    +
    +start-hawq:
    --- End diff --
    
    Fixed


---

Mime
View raw message