BIGTOP-1098. now that Saprk has had its first incubator release we have to adjust...
[bigtop.git] / bigtop.mk
1 # Licensed to the Apache Software Foundation (ASF) under one or more
2 # contributor license agreements. See the NOTICE file distributed with
3 # this work for additional information regarding copyright ownership.
4 # The ASF licenses this file to You under the Apache License, Version 2.0
5 # (the "License"); you may not use this file except in compliance with
6 # the License. You may obtain a copy of the License at
7 #
8 # http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 BIGTOP_VERSION=0.7.0
17
18 # Hadoop 0.20.0-based hadoop package
19 HADOOP_NAME=hadoop
20 HADOOP_RELNOTES_NAME=Apache Hadoop
21 HADOOP_BASE_VERSION=2.0.6-alpha
22 HADOOP_PKG_VERSION=2.0.6
23 HADOOP_RELEASE_VERSION=1
24 HADOOP_TARBALL_DST=$(HADOOP_NAME)-$(HADOOP_BASE_VERSION).tar.gz
25 HADOOP_TARBALL_SRC=$(HADOOP_NAME)-$(HADOOP_BASE_VERSION)-src.tar.gz
26 HADOOP_DOWNLOAD_PATH=/hadoop/common/$(HADOOP_NAME)-$(HADOOP_BASE_VERSION)
27 HADOOP_SITE=$(APACHE_MIRROR)$(HADOOP_DOWNLOAD_PATH)
28 HADOOP_ARCHIVE=$(APACHE_ARCHIVE)$(HADOOP_DOWNLOAD_PATH)
29 $(eval $(call PACKAGE,hadoop,HADOOP))
30
31 # ZooKeeper
32 ZOOKEEPER_NAME=zookeeper
33 ZOOKEEPER_RELNOTES_NAME=Apache Zookeeper
34 ZOOKEEPER_PKG_NAME=zookeeper
35 ZOOKEEPER_BASE_VERSION=3.4.5
36 ZOOKEEPER_PKG_VERSION=3.4.5
37 ZOOKEEPER_RELEASE_VERSION=1
38 ZOOKEEPER_TARBALL_DST=zookeeper-$(ZOOKEEPER_BASE_VERSION).tar.gz
39 ZOOKEEPER_TARBALL_SRC=$(ZOOKEEPER_TARBALL_DST)
40 ZOOKEEPER_DOWNLOAD_PATH=/zookeeper/zookeeper-$(ZOOKEEPER_BASE_VERSION)
41 ZOOKEEPER_SITE=$(APACHE_MIRROR)$(ZOOKEEPER_DOWNLOAD_PATH)
42 ZOOKEEPER_ARCHIVE=$(APACHE_ARCHIVE)$(ZOOKEEPER_DOWNLOAD_PATH)
43 $(eval $(call PACKAGE,zookeeper,ZOOKEEPER))
44
45 # HBase
46 HBASE_NAME=hbase
47 HBASE_RELNOTES_NAME=Apache HBase
48 HBASE_PKG_NAME=hbase
49 HBASE_BASE_VERSION=0.94.11
50 HBASE_PKG_VERSION=$(HBASE_BASE_VERSION)
51 HBASE_RELEASE_VERSION=1
52 HBASE_TARBALL_DST=hbase-$(HBASE_BASE_VERSION).tar.gz
53 HBASE_TARBALL_SRC=$(HBASE_TARBALL_DST)
54 HBASE_DOWNLOAD_PATH=/hbase/hbase-$(HBASE_BASE_VERSION)
55 HBASE_SITE=$(APACHE_MIRROR)$(HBASE_DOWNLOAD_PATH)
56 HBASE_ARCHIVE=$(APACHE_ARCHIVE)$(HBASE_DOWNLOAD_PATH)
57 $(eval $(call PACKAGE,hbase,HBASE))
58
59 # Pig
60 PIG_BASE_VERSION=0.11.1
61 PIG_PKG_VERSION=$(PIG_BASE_VERSION)
62 PIG_RELEASE_VERSION=1
63 PIG_NAME=pig
64 PIG_RELNOTES_NAME=Apache Pig
65 PIG_PKG_NAME=pig
66 PIG_TARBALL_DST=pig-$(PIG_BASE_VERSION).tar.gz
67 PIG_TARBALL_SRC=$(PIG_TARBALL_DST)
68 PIG_DOWNLOAD_PATH=/pig/pig-$(PIG_BASE_VERSION)
69 PIG_SITE=$(APACHE_MIRROR)$(PIG_DOWNLOAD_PATH)
70 PIG_ARCHIVE=$(APACHE_ARCHIVE)$(PIG_DOWNLOAD_PATH)
71 $(eval $(call PACKAGE,pig,PIG))
72
73 # Hive
74 HIVE_NAME=hive
75 HIVE_RELNOTES_NAME=Apache Hive
76 HIVE_PKG_NAME=hive
77 HIVE_BASE_VERSION=0.10.0
78 HIVE_PKG_VERSION=$(HIVE_BASE_VERSION)
79 HIVE_RELEASE_VERSION=1
80 HIVE_TARBALL_DST=hive-$(HIVE_BASE_VERSION).tar.gz
81 HIVE_TARBALL_SRC=$(HIVE_TARBALL_DST)
82 HIVE_DOWNLOAD_PATH=/hive/hive-$(HIVE_BASE_VERSION)
83 HIVE_SITE=$(APACHE_MIRROR)$(HIVE_DOWNLOAD_PATH)
84 HIVE_ARCHIVE=$(APACHE_ARCHIVE)$(HIVE_DOWNLOAD_PATH)
85 $(eval $(call PACKAGE,hive,HIVE))
86
87 # HCatalog
88 HCATALOG_NAME=hcatalog
89 HCATALOG_RELNOTES_NAME=Apache HCatalog (incubating)
90 HCATALOG_PKG_NAME=hcatalog
91 HCATALOG_BASE_VERSION=0.5.0-incubating
92 HCATALOG_PKG_VERSION=0.5.0
93 HCATALOG_RELEASE_VERSION=1
94 HCATALOG_TARBALL_DST=$(HCATALOG_NAME)-$(HCATALOG_BASE_VERSION).tar.gz
95 HCATALOG_TARBALL_SRC=$(HCATALOG_NAME)-src-$(HCATALOG_BASE_VERSION).tar.gz
96 HCATALOG_DOWNLOAD_PATH=/incubator/hcatalog/hcatalog-$(HCATALOG_BASE_VERSION)/
97 HCATALOG_SITE=$(APACHE_MIRROR)$(HCATALOG_DOWNLOAD_PATH)
98 HCATALOG_ARCHIVE=$(APACHE_ARCHIVE)$(HCATALOG_DOWNLOAD_PATH)
99 HCATALOG_SITE=$(APACHE_ARCHIVE)
100 $(eval $(call PACKAGE,hcatalog,HCATALOG))
101
102 # Sqoop
103 SQOOP_NAME=sqoop
104 SQOOP_RELNOTES_NAME=Sqoop
105 SQOOP_PKG_NAME=sqoop
106 SQOOP_BASE_VERSION=1.99.2
107 SQOOP_PKG_VERSION=1.99.2
108 SQOOP_RELEASE_VERSION=1
109 SQOOP_TARBALL_DST=$(SQOOP_NAME)-$(SQOOP_BASE_VERSION).tar.gz
110 SQOOP_TARBALL_SRC=$(SQOOP_TARBALL_DST)
111 SQOOP_DOWNLOAD_PATH=/sqoop/$(SQOOP_BASE_VERSION)
112 SQOOP_SITE=$(APACHE_MIRROR)$(SQOOP_DOWNLOAD_PATH)
113 SQOOP_ARCHIVE=$(APACHE_ARCHIVE)$(SQOOP_DOWNLOAD_PATH)
114 $(eval $(call PACKAGE,sqoop,SQOOP))
115
116 # Oozie
117 OOZIE_NAME=oozie
118 OOZIE_RELNOTES_NAME=Apache Oozie
119 OOZIE_PKG_NAME=oozie
120 OOZIE_BASE_VERSION=3.3.2
121 OOZIE_PKG_VERSION=3.3.2
122 OOZIE_RELEASE_VERSION=1
123 OOZIE_TARBALL_DST=oozie-$(OOZIE_BASE_VERSION).tar.gz
124 OOZIE_TARBALL_SRC=$(OOZIE_TARBALL_DST)
125 OOZIE_DOWNLOAD_PATH=/$(OOZIE_NAME)/$(OOZIE_BASE_VERSION)
126 OOZIE_SITE=$(APACHE_MIRROR)$(OOZIE_DOWNLOAD_PATH)
127 OOZIE_ARCHIVE=$(APACHE_ARCHIVE)$(OOZIE_DOWNLOAD_PATH)
128 $(eval $(call PACKAGE,oozie,OOZIE))
129
130 # Whirr
131 WHIRR_NAME=whirr
132 WHIRR_RELNOTES_NAME=Apache Whirr
133 WHIRR_PKG_NAME=whirr
134 WHIRR_BASE_VERSION=0.8.2
135 WHIRR_PKG_VERSION=0.8.2
136 WHIRR_RELEASE_VERSION=1
137 WHIRR_TARBALL_DST=whirr-$(WHIRR_BASE_VERSION)-src.tar.gz
138 WHIRR_TARBALL_SRC=$(WHIRR_TARBALL_DST)
139 WHIRR_DOWNLOAD_PATH=/whirr/whirr-$(WHIRR_BASE_VERSION)
140 WHIRR_SITE=$(APACHE_MIRROR)$(WHIRR_DOWNLOAD_PATH)
141 WHIRR_ARCHIVE=$(APACHE_ARCHIVE)$(WHIRR_DOWNLOAD_PATH)
142 $(eval $(call PACKAGE,whirr,WHIRR))
143
144 # Mahout
145 MAHOUT_NAME=mahout
146 MAHOUT_RELNOTES_NAME=Apache Mahout
147 MAHOUT_PKG_NAME=mahout
148 MAHOUT_BASE_VERSION=0.7
149 MAHOUT_PKG_VERSION=0.7
150 MAHOUT_RELEASE_VERSION=1
151 MAHOUT_TARBALL_DST=mahout-distribution-$(MAHOUT_BASE_VERSION)-src.tar.gz
152 MAHOUT_TARBALL_SRC=$(MAHOUT_TARBALL_DST)
153 MAHOUT_DOWNLOAD_PATH=/mahout/$(MAHOUT_BASE_VERSION)
154 MAHOUT_SITE=$(APACHE_MIRROR)$(MAHOUT_DOWNLOAD_PATH)
155 MAHOUT_ARCHIVE=$(APACHE_ARCHIVE)$(MAHOUT_DOWNLOAD_PATH)
156 $(eval $(call PACKAGE,mahout,MAHOUT))
157
158 # Flume
159 FLUME_NAME=flume
160 FLUME_RELNOTES_NAME=Flume
161 FLUME_PKG_NAME=flume
162 FLUME_BASE_VERSION=1.4.0
163 FLUME_PKG_VERSION=1.4.0
164 FLUME_RELEASE_VERSION=1
165 FLUME_TARBALL_DST=apache-$(FLUME_NAME)-$(FLUME_BASE_VERSION)-src.tar.gz
166 FLUME_TARBALL_SRC=$(FLUME_TARBALL_DST)
167 FLUME_DOWNLOAD_PATH=/flume/$(FLUME_BASE_VERSION)
168 FLUME_SITE=$(APACHE_MIRROR)$(FLUME_DOWNLOAD_PATH)
169 FLUME_ARCHIVE=$(APACHE_ARCHIVE)$(FLUME_DOWNLOAD_PATH)
170 $(eval $(call PACKAGE,flume,FLUME))
171
172 # Giraph
173 GIRAPH_NAME=giraph
174 GIRAPH_RELNOTES_NAME=Giraph
175 GIRAPH_PKG_NAME=giraph
176 GIRAPH_BASE_VERSION=1.0.0
177 GIRAPH_PKG_VERSION=1.0.0
178 GIRAPH_RELEASE_VERSION=1
179 GIRAPH_TARBALL_DST=$(GIRAPH_NAME)-$(GIRAPH_BASE_VERSION).tar.gz
180 GIRAPH_TARBALL_SRC=$(GIRAPH_TARBALL_DST)
181 GIRAPH_DOWNLOAD_PATH=/giraph/$(GIRAPH_PKG_NAME)-$(GIRAPH_BASE_VERSION)
182 GIRAPH_SITE=$(APACHE_MIRROR)$(GIRAPH_DOWNLOAD_PATH)
183 GIRAPH_ARCHIVE=$(APACHE_ARCHIVE)$(GIRAPH_DOWNLOAD_PATH)
184 $(eval $(call PACKAGE,giraph,GIRAPH))
185
186 # Hue
187 HUE_NAME=hue
188 HUE_RELNOTES_NAME=Hadoop User Experience
189 HUE_PKG_NAME=hue
190 HUE_BASE_VERSION=2.5.1
191 HUE_PKG_VERSION=2.5.1
192 HUE_RELEASE_VERSION=1
193 HUE_TARBALL_DST=hue-$(HUE_BASE_VERSION).tar.gz
194 HUE_TARBALL_SRC=branch-2.5.1.tar.gz
195 HUE_SITE=https://github.com/cloudera/hue/archive
196 HUE_ARCHIVE=$(HUE_SITE)
197 $(eval $(call PACKAGE,hue,HUE))
198
199 # DataFu
200 DATAFU_NAME=datafu
201 DATAFU_RELNOTES_NAME=Collection of user-defined functions
202 DATAFU_PKG_NAME=pig-udf-datafu
203 DATAFU_BASE_VERSION=1.0.0
204 DATAFU_PKG_VERSION=1.0.0
205 DATAFU_RELEASE_VERSION=1
206 DATAFU_TARBALL_DST=datafu-$(DATAFU_BASE_VERSION).tar.gz
207 DATAFU_TARBALL_SRC=v$(DATAFU_BASE_VERSION).tar.gz
208 DATAFU_SITE=https://github.com/linkedin/datafu/archive
209 DATAFU_ARCHIVE=$(DATAFU_SITE)
210 $(eval $(call PACKAGE,datafu,DATAFU))
211
212 # Solr
213 SOLR_NAME=solr
214 SOLR_RELNOTES_NAME=Search engine server
215 SOLR_PKG_NAME=solr
216 SOLR_BASE_VERSION=4.4.0
217 SOLR_PKG_VERSION=4.4.0
218 SOLR_RELEASE_VERSION=1
219 SOLR_TARBALL_DST=solr-$(SOLR_BASE_VERSION)-src.tgz
220 SOLR_TARBALL_SRC=$(SOLR_TARBALL_DST)
221 SOLR_DOWNLOAD_PATH=/lucene/solr/$(SOLR_BASE_VERSION)
222 SOLR_SITE=$(APACHE_MIRROR)$(SOLR_DOWNLOAD_PATH)
223 SOLR_ARCHIVE=$(APACHE_ARCHIVE)$(SOLR_DOWNLOAD_PATH)
224 $(eval $(call PACKAGE,solr,SOLR))
225
226 # Crunch
227 CRUNCH_NAME=crunch
228 CRUNCH_RELNOTES_NAME=Java library for MapReduce pipelines
229 CRUNCH_PKG_NAME=crunch
230 CRUNCH_BASE_VERSION=0.7.0
231 CRUNCH_PKG_VERSION=0.7.0
232 CRUNCH_RELEASE_VERSION=1
233 CRUNCH_TARBALL_DST=apache-crunch-$(CRUNCH_BASE_VERSION)-src.tar.gz
234 CRUNCH_TARBALL_SRC=$(CRUNCH_TARBALL_DST)
235 CRUNCH_DOWNLOAD_PATH=/crunch/crunch-$(CRUNCH_BASE_VERSION)
236 CRUNCH_SITE=$(APACHE_MIRROR)$(CRUNCH_DOWNLOAD_PATH)
237 CRUNCH_ARCHIVE=$(APACHE_ARCHIVE)$(CRUNCH_DOWNLOAD_PATH)
238 $(eval $(call PACKAGE,crunch,CRUNCH))
239
240 # Spark
241 SPARK_NAME=spark
242 SPARK_RELNOTES_NAME=Spark
243 SPARK_PKG_NAME=spark
244 SPARK_BASE_VERSION=0.8.0-incubating
245 SPARK_PKG_VERSION=0.8.0
246 SPARK_RELEASE_VERSION=1
247 SPARK_TARBALL_DST=spark-$(SPARK_BASE_VERSION).tar.gz
248 SPARK_TARBALL_SRC=spark-$(SPARK_BASE_VERSION).tgz
249 SPARK_DOWNLOAD_PATH=/incubator/spark/spark-$(SPARK_BASE_VERSION)
250 SPARK_SITE=$(APACHE_MIRROR)$(SPARK_DOWNLOAD_PATH)
251 SPARK_ARCHIVE=$(APACHE_ARCHIVE)$(SPARK_DOWNLOAD_PATH)
252 $(eval $(call PACKAGE,spark,SPARK))
253
254 # Bigtop-utils
255 BIGTOP_UTILS_NAME=bigtop-utils
256 BIGTOP_UTILS__RELNOTES_NAME=Bigtop-utils
257 BIGTOP_UTILS_PKG_NAME=bigtop-utils
258 BIGTOP_UTILS_BASE_VERSION=$(subst -,.,$(BIGTOP_VERSION))
259 BIGTOP_UTILS_PKG_VERSION=$(BIGTOP_UTILS_BASE_VERSION)
260 BIGTOP_UTILS_RELEASE_VERSION=1
261 $(eval $(call PACKAGE,bigtop-utils,BIGTOP_UTILS))
262
263 # Bigtop-jsvc
264 BIGTOP_JSVC_NAME=bigtop-jsvc
265 BIGTOP_JSVC_RELNOTES_NAME=Apache Commons Daemon (jsvc)
266 BIGTOP_JSVC_PKG_NAME=bigtop-jsvc
267 BIGTOP_JSVC_BASE_VERSION=1.0.10
268 BIGTOP_JSVC_PKG_VERSION=1.0.10
269 BIGTOP_JSVC_RELEASE_VERSION=1
270 BIGTOP_JSVC_TARBALL_SRC=commons-daemon-$(BIGTOP_JSVC_BASE_VERSION)-native-src.tar.gz
271 BIGTOP_JSVC_TARBALL_DST=commons-daemon-$(BIGTOP_JSVC_BASE_VERSION).tar.gz
272 BIGTOP_JSVC_SITE=$(APACHE_MIRROR)/commons/daemon/source/
273 BIGTOP_JSVC_ARCHIVE=$(APACHE_ARCHIVE)/commons/daemon/source/
274 $(eval $(call PACKAGE,bigtop-jsvc,BIGTOP_JSVC))
275
276 # Bigtop-tomcat
277 BIGTOP_TOMCAT_NAME=bigtop-tomcat
278 BIGTOP_TOMCAT_RELNOTES_NAME=Apache Tomcat
279 BIGTOP_TOMCAT_PKG_NAME=bigtop-tomcat
280 BIGTOP_TOMCAT_BASE_VERSION=6.0.36
281 BIGTOP_TOMCAT_PKG_VERSION=$(BIGTOP_TOMCAT_BASE_VERSION)
282 BIGTOP_TOMCAT_RELEASE_VERSION=1
283 BIGTOP_TOMCAT_TARBALL_SRC=apache-tomcat-$(BIGTOP_TOMCAT_BASE_VERSION)-src.tar.gz
284 BIGTOP_TOMCAT_TARBALL_DST=apache-tomcat-$(BIGTOP_TOMCAT_BASE_VERSION).tar.gz
285 BIGTOP_TOMCAT_SITE=$(APACHE_MIRROR)/tomcat/tomcat-6/v$(BIGTOP_TOMCAT_BASE_VERSION)/src/
286 BIGTOP_TOMCAT_ARCHIVE=$(APACHE_ARCHIVE)/tomcat/tomcat-6/v$(BIGTOP_TOMCAT_BASE_VERSION)/src/
287 $(eval $(call PACKAGE,bigtop-tomcat,BIGTOP_TOMCAT))