Fork me on GitHub
#tools-deps
<
2022-07-20
>
bocaj23:07:12

I’m trying to uber this dependency and keep running into an error having to do with the License file.

org.apache.hadoop/hadoop-mapreduce-client-core {:mvn/version "3.3.3"
                                                        :exclusions [org.slf4j/slf4j-log4j12]}
Execution error (FileNotFoundException) at java.io.FileOutputStream/open0 (FileOutputStream.java:-2).
/var/folders/r8/py0yt76j2gv0l1ywbww_5z080000gn/T/uber15373383667740882819/META-INF/license/LICENSE.base64.txt (Not a directory)

bocaj23:07:55

(b/uber {:class-dir class-dir
               :uber-file "dbloader.jar"
               :basis     uber-basis
               :exclude   [#"(?i)^META-INF/license/.*"
                           #"^license/.*"
                           #"LICENSE(.)"
                           ]
               :main      'dbloader.main})

bocaj23:07:56

unzip -l  ~/.m2/repository/org/apache/hadoop/hadoop-hdfs-client/3.3.3/hadoop-hdfs-client-3.3.3.jar | grep LICENSE #>> META-INF/LICENSE.txt

bocaj23:07:00

Apologies this is fixed in newer tools build