File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -283,16 +283,12 @@ def get_hadoop_profiles(hadoop_version):
283283 """
284284
285285 sbt_maven_hadoop_profiles = {
286- "hadoop2.7" : ["-Phadoop-2.7" ],
287- "hadoop3.2" : ["-Phadoop-3.2" ],
286+ "hadoop2.7" : ["-Phadoop-2.7" , "-Phive-1.2" ],
287+ "hadoop3.2" : ["-Phadoop-3.2" , "-Phive-2.3" ],
288288 }
289289
290290 if hadoop_version in sbt_maven_hadoop_profiles :
291- if ("ghprbPullTitle" in os .environ and
292- "test-hive1.2" in os .environ ["ghprbPullTitle" ].lower ()):
293- return sbt_maven_hadoop_profiles [hadoop_version ] + ["-Phive-1.2" ]
294- else :
295- return sbt_maven_hadoop_profiles [hadoop_version ]
291+ return sbt_maven_hadoop_profiles [hadoop_version ]
296292 else :
297293 print ("[error] Could not find" , hadoop_version , "in the list. Valid options" ,
298294 " are" , sbt_maven_hadoop_profiles .keys ())
You can’t perform that action at this time.
0 commit comments