{"id":1081,"date":"2015-08-28T08:49:18","date_gmt":"2015-08-28T06:49:18","guid":{"rendered":"http:\/\/www.bittner.fr\/blogs\/pierre\/?p=1081"},"modified":"2015-08-28T08:49:18","modified_gmt":"2015-08-28T06:49:18","slug":"another-mapreduce-issue-with-macos","status":"publish","type":"post","link":"https:\/\/www.bittner.fr\/blogs\/pierre\/blog\/2015\/08\/28\/another-mapreduce-issue-with-macos\/","title":{"rendered":"Another MapReduce issue with MacOs"},"content":{"rendered":"<p>I faced another macos issue w\/ MapReduce on MacOs:<\/p>\n<p>&nbsp;<\/p>\n<blockquote><p>$HADOOP_HOME\/bin\/hadoop jar target\/hadoop-tutorial-1.0-SNAPSHOT-jar-with-dependencies.jar fr.finaxys.tutorials.hadoop.TraceCount -archives \/user\/pierre\/AtomLogs.zip tracecount<\/p>\n<p>Exception in thread \u00ab\u00a0main\u00a0\u00bb java.io.IOException: Mkdirs failed to create \/var\/folders\/5w\/rckc21hd0kz2qg0_3r7g60b00000gn\/T\/hadoop-unjar3988465705021626998\/META-INF\/license<\/p>\n<p>at org.apache.hadoop.util.RunJar.ensureDirectory(RunJar.java:128)<\/p>\n<p>at org.apache.hadoop.util.RunJar.unJar(RunJar.java:104)<\/p>\n<p>at org.apache.hadoop.util.RunJar.unJar(RunJar.java:81)<\/p>\n<p>at org.apache.hadoop.util.RunJar.run(RunJar.java:209)<\/p>\n<p>at org.apache.hadoop.util.RunJar.main(RunJar.java:136)<\/p><\/blockquote>\n<p>Solutions can be found here:<\/p>\n<p><a href=\"http:\/\/stackoverflow.com\/questions\/10522835\/hadoop-java-io-ioexception-mkdirs-failed-to-create-some-path\">http:\/\/stackoverflow.com\/questions\/10522835\/hadoop-java-io-ioexception-mkdirs-failed-to-create-some-path<\/a><\/p>\n<p>It is a case sensitive issue with MacOs.<\/p>\n<p>For now, I wasn&rsquo;t able to make the trick with maven working so I&rsquo;m removing the LICENCE file manually from the archive:<\/p>\n<blockquote><p>zip -d target\/hadoop-tutorial-1.0-SNAPSHOT-jar-with-dependencies.jar META-INF\/LICENSE<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I faced another macos issue w\/ MapReduce on MacOs: &nbsp; $HADOOP_HOME\/bin\/hadoop jar target\/hadoop-tutorial-1.0-SNAPSHOT-jar-with-dependencies.jar fr.finaxys.tutorials.hadoop.TraceCount -archives \/user\/pierre\/AtomLogs.zip tracecount Exception in thread \u00ab\u00a0main\u00a0\u00bb java.io.IOException: Mkdirs failed to create \/var\/folders\/5w\/rckc21hd0kz2qg0_3r7g60b00000gn\/T\/hadoop-unjar3988465705021626998\/META-INF\/license at org.apache.hadoop.util.RunJar.ensureDirectory(RunJar.java:128) at org.apache.hadoop.util.RunJar.unJar(RunJar.java:104) at org.apache.hadoop.util.RunJar.unJar(RunJar.java:81) at org.apache.hadoop.util.RunJar.run(RunJar.java:209) at org.apache.hadoop.util.RunJar.main(RunJar.java:136) Solutions can be found here: http:\/\/stackoverflow.com\/questions\/10522835\/hadoop-java-io-ioexception-mkdirs-failed-to-create-some-path It is a case sensitive issue with MacOs. For now, I wasn&rsquo;t [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-1081","post","type-post","status-publish","format-standard","hentry","category-development"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Another MapReduce issue with MacOs - Pierre&#039;s weblog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bittner.fr\/blogs\/pierre\/blog\/2015\/08\/28\/another-mapreduce-issue-with-macos\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Another MapReduce issue with MacOs - Pierre&#039;s weblog\" \/>\n<meta property=\"og:description\" content=\"I faced another macos issue w\/ MapReduce on MacOs: &nbsp; $HADOOP_HOME\/bin\/hadoop jar target\/hadoop-tutorial-1.0-SNAPSHOT-jar-with-dependencies.jar fr.finaxys.tutorials.hadoop.TraceCount -archives \/user\/pierre\/AtomLogs.zip tracecount Exception in thread \u00ab\u00a0main\u00a0\u00bb java.io.IOException: Mkdirs failed to create \/var\/folders\/5w\/rckc21hd0kz2qg0_3r7g60b00000gn\/T\/hadoop-unjar3988465705021626998\/META-INF\/license at org.apache.hadoop.util.RunJar.ensureDirectory(RunJar.java:128) at org.apache.hadoop.util.RunJar.unJar(RunJar.java:104) at org.apache.hadoop.util.RunJar.unJar(RunJar.java:81) at org.apache.hadoop.util.RunJar.run(RunJar.java:209) at org.apache.hadoop.util.RunJar.main(RunJar.java:136) Solutions can be found here: http:\/\/stackoverflow.com\/questions\/10522835\/hadoop-java-io-ioexception-mkdirs-failed-to-create-some-path It is a case sensitive issue with MacOs. For now, I wasn&rsquo;t [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bittner.fr\/blogs\/pierre\/blog\/2015\/08\/28\/another-mapreduce-issue-with-macos\/\" \/>\n<meta property=\"og:site_name\" content=\"Pierre&#039;s weblog\" \/>\n<meta property=\"article:published_time\" content=\"2015-08-28T06:49:18+00:00\" \/>\n<meta name=\"author\" content=\"Pierre Bittner\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u00c9crit par\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pierre Bittner\" \/>\n\t<meta name=\"twitter:label2\" content=\"Dur\u00e9e de lecture estim\u00e9e\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.bittner.fr\/blogs\/pierre\/blog\/2015\/08\/28\/another-mapreduce-issue-with-macos\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.bittner.fr\/blogs\/pierre\/blog\/2015\/08\/28\/another-mapreduce-issue-with-macos\/\"},\"author\":{\"name\":\"Pierre Bittner\",\"@id\":\"https:\/\/www.bittner.fr\/blogs\/pierre\/#\/schema\/person\/9713c6deaf14c30b1b34cc5cd886c09c\"},\"headline\":\"Another MapReduce issue with MacOs\",\"datePublished\":\"2015-08-28T06:49:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.bittner.fr\/blogs\/pierre\/blog\/2015\/08\/28\/another-mapreduce-issue-with-macos\/\"},\"wordCount\":157,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.bittner.fr\/blogs\/pierre\/#\/schema\/person\/3ab57f92769bc1c95b4f56d526b0b225\"},\"articleSection\":[\"Development\"],\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.bittner.fr\/blogs\/pierre\/blog\/2015\/08\/28\/another-mapreduce-issue-with-macos\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.bittner.fr\/blogs\/pierre\/blog\/2015\/08\/28\/another-mapreduce-issue-with-macos\/\",\"url\":\"https:\/\/www.bittner.fr\/blogs\/pierre\/blog\/2015\/08\/28\/another-mapreduce-issue-with-macos\/\",\"name\":\"Another MapReduce issue with MacOs - Pierre&#039;s weblog\",\"isPartOf\":{\"@id\":\"https:\/\/www.bittner.fr\/blogs\/pierre\/#website\"},\"datePublished\":\"2015-08-28T06:49:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.bittner.fr\/blogs\/pierre\/blog\/2015\/08\/28\/another-mapreduce-issue-with-macos\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.bittner.fr\/blogs\/pierre\/blog\/2015\/08\/28\/another-mapreduce-issue-with-macos\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.bittner.fr\/blogs\/pierre\/blog\/2015\/08\/28\/another-mapreduce-issue-with-macos\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.bittner.fr\/blogs\/pierre\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Another MapReduce issue with MacOs\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.bittner.fr\/blogs\/pierre\/#website\",\"url\":\"https:\/\/www.bittner.fr\/blogs\/pierre\/\",\"name\":\"Pierre's weblog\",\"description\":\"Release 2.3\",\"publisher\":{\"@id\":\"https:\/\/www.bittner.fr\/blogs\/pierre\/#\/schema\/person\/3ab57f92769bc1c95b4f56d526b0b225\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.bittner.fr\/blogs\/pierre\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.bittner.fr\/blogs\/pierre\/#\/schema\/person\/3ab57f92769bc1c95b4f56d526b0b225\",\"name\":\"Pierre\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\/\/www.bittner.fr\/blogs\/pierre\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.bittner.fr\/blogs\/pierre\/wp-content\/uploads\/2025\/09\/Pierre-Bittner.png\",\"contentUrl\":\"https:\/\/www.bittner.fr\/blogs\/pierre\/wp-content\/uploads\/2025\/09\/Pierre-Bittner.png\",\"width\":1920,\"height\":1080,\"caption\":\"Pierre\"},\"logo\":{\"@id\":\"https:\/\/www.bittner.fr\/blogs\/pierre\/#\/schema\/person\/image\/\"},\"sameAs\":[\"http:\/\/www.bittner.fr\/blogs\/pierre\",\"https:\/\/www.linkedin.com\/in\/pierre-bittner\/\",\"https:\/\/www.youtube.com\/@pierrebittner\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.bittner.fr\/blogs\/pierre\/#\/schema\/person\/9713c6deaf14c30b1b34cc5cd886c09c\",\"name\":\"Pierre Bittner\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\/\/www.bittner.fr\/blogs\/pierre\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/381c6e1f43681b025b7b709d1299281ceb4b5174454b52b648c8be840b70d522?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/381c6e1f43681b025b7b709d1299281ceb4b5174454b52b648c8be840b70d522?s=96&d=mm&r=g\",\"caption\":\"Pierre Bittner\"},\"url\":\"https:\/\/www.bittner.fr\/blogs\/pierre\/blog\/author\/pierre\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Another MapReduce issue with MacOs - Pierre&#039;s weblog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.bittner.fr\/blogs\/pierre\/blog\/2015\/08\/28\/another-mapreduce-issue-with-macos\/","og_locale":"fr_FR","og_type":"article","og_title":"Another MapReduce issue with MacOs - Pierre&#039;s weblog","og_description":"I faced another macos issue w\/ MapReduce on MacOs: &nbsp; $HADOOP_HOME\/bin\/hadoop jar target\/hadoop-tutorial-1.0-SNAPSHOT-jar-with-dependencies.jar fr.finaxys.tutorials.hadoop.TraceCount -archives \/user\/pierre\/AtomLogs.zip tracecount Exception in thread \u00ab\u00a0main\u00a0\u00bb java.io.IOException: Mkdirs failed to create \/var\/folders\/5w\/rckc21hd0kz2qg0_3r7g60b00000gn\/T\/hadoop-unjar3988465705021626998\/META-INF\/license at org.apache.hadoop.util.RunJar.ensureDirectory(RunJar.java:128) at org.apache.hadoop.util.RunJar.unJar(RunJar.java:104) at org.apache.hadoop.util.RunJar.unJar(RunJar.java:81) at org.apache.hadoop.util.RunJar.run(RunJar.java:209) at org.apache.hadoop.util.RunJar.main(RunJar.java:136) Solutions can be found here: http:\/\/stackoverflow.com\/questions\/10522835\/hadoop-java-io-ioexception-mkdirs-failed-to-create-some-path It is a case sensitive issue with MacOs. For now, I wasn&rsquo;t [&hellip;]","og_url":"https:\/\/www.bittner.fr\/blogs\/pierre\/blog\/2015\/08\/28\/another-mapreduce-issue-with-macos\/","og_site_name":"Pierre&#039;s weblog","article_published_time":"2015-08-28T06:49:18+00:00","author":"Pierre Bittner","twitter_card":"summary_large_image","twitter_misc":{"\u00c9crit par":"Pierre Bittner","Dur\u00e9e de lecture estim\u00e9e":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bittner.fr\/blogs\/pierre\/blog\/2015\/08\/28\/another-mapreduce-issue-with-macos\/#article","isPartOf":{"@id":"https:\/\/www.bittner.fr\/blogs\/pierre\/blog\/2015\/08\/28\/another-mapreduce-issue-with-macos\/"},"author":{"name":"Pierre Bittner","@id":"https:\/\/www.bittner.fr\/blogs\/pierre\/#\/schema\/person\/9713c6deaf14c30b1b34cc5cd886c09c"},"headline":"Another MapReduce issue with MacOs","datePublished":"2015-08-28T06:49:18+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bittner.fr\/blogs\/pierre\/blog\/2015\/08\/28\/another-mapreduce-issue-with-macos\/"},"wordCount":157,"commentCount":0,"publisher":{"@id":"https:\/\/www.bittner.fr\/blogs\/pierre\/#\/schema\/person\/3ab57f92769bc1c95b4f56d526b0b225"},"articleSection":["Development"],"inLanguage":"fr-FR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.bittner.fr\/blogs\/pierre\/blog\/2015\/08\/28\/another-mapreduce-issue-with-macos\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.bittner.fr\/blogs\/pierre\/blog\/2015\/08\/28\/another-mapreduce-issue-with-macos\/","url":"https:\/\/www.bittner.fr\/blogs\/pierre\/blog\/2015\/08\/28\/another-mapreduce-issue-with-macos\/","name":"Another MapReduce issue with MacOs - Pierre&#039;s weblog","isPartOf":{"@id":"https:\/\/www.bittner.fr\/blogs\/pierre\/#website"},"datePublished":"2015-08-28T06:49:18+00:00","breadcrumb":{"@id":"https:\/\/www.bittner.fr\/blogs\/pierre\/blog\/2015\/08\/28\/another-mapreduce-issue-with-macos\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bittner.fr\/blogs\/pierre\/blog\/2015\/08\/28\/another-mapreduce-issue-with-macos\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.bittner.fr\/blogs\/pierre\/blog\/2015\/08\/28\/another-mapreduce-issue-with-macos\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.bittner.fr\/blogs\/pierre\/"},{"@type":"ListItem","position":2,"name":"Another MapReduce issue with MacOs"}]},{"@type":"WebSite","@id":"https:\/\/www.bittner.fr\/blogs\/pierre\/#website","url":"https:\/\/www.bittner.fr\/blogs\/pierre\/","name":"Pierre's weblog","description":"Release 2.3","publisher":{"@id":"https:\/\/www.bittner.fr\/blogs\/pierre\/#\/schema\/person\/3ab57f92769bc1c95b4f56d526b0b225"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bittner.fr\/blogs\/pierre\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":["Person","Organization"],"@id":"https:\/\/www.bittner.fr\/blogs\/pierre\/#\/schema\/person\/3ab57f92769bc1c95b4f56d526b0b225","name":"Pierre","image":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/www.bittner.fr\/blogs\/pierre\/#\/schema\/person\/image\/","url":"https:\/\/www.bittner.fr\/blogs\/pierre\/wp-content\/uploads\/2025\/09\/Pierre-Bittner.png","contentUrl":"https:\/\/www.bittner.fr\/blogs\/pierre\/wp-content\/uploads\/2025\/09\/Pierre-Bittner.png","width":1920,"height":1080,"caption":"Pierre"},"logo":{"@id":"https:\/\/www.bittner.fr\/blogs\/pierre\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/www.bittner.fr\/blogs\/pierre","https:\/\/www.linkedin.com\/in\/pierre-bittner\/","https:\/\/www.youtube.com\/@pierrebittner"]},{"@type":"Person","@id":"https:\/\/www.bittner.fr\/blogs\/pierre\/#\/schema\/person\/9713c6deaf14c30b1b34cc5cd886c09c","name":"Pierre Bittner","image":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/www.bittner.fr\/blogs\/pierre\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/381c6e1f43681b025b7b709d1299281ceb4b5174454b52b648c8be840b70d522?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/381c6e1f43681b025b7b709d1299281ceb4b5174454b52b648c8be840b70d522?s=96&d=mm&r=g","caption":"Pierre Bittner"},"url":"https:\/\/www.bittner.fr\/blogs\/pierre\/blog\/author\/pierre\/"}]}},"_links":{"self":[{"href":"https:\/\/www.bittner.fr\/blogs\/pierre\/wp-json\/wp\/v2\/posts\/1081","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bittner.fr\/blogs\/pierre\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bittner.fr\/blogs\/pierre\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bittner.fr\/blogs\/pierre\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bittner.fr\/blogs\/pierre\/wp-json\/wp\/v2\/comments?post=1081"}],"version-history":[{"count":1,"href":"https:\/\/www.bittner.fr\/blogs\/pierre\/wp-json\/wp\/v2\/posts\/1081\/revisions"}],"predecessor-version":[{"id":1082,"href":"https:\/\/www.bittner.fr\/blogs\/pierre\/wp-json\/wp\/v2\/posts\/1081\/revisions\/1082"}],"wp:attachment":[{"href":"https:\/\/www.bittner.fr\/blogs\/pierre\/wp-json\/wp\/v2\/media?parent=1081"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bittner.fr\/blogs\/pierre\/wp-json\/wp\/v2\/categories?post=1081"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bittner.fr\/blogs\/pierre\/wp-json\/wp\/v2\/tags?post=1081"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}