{"id":142,"date":"2015-04-05T09:47:56","date_gmt":"2015-04-05T09:47:56","guid":{"rendered":"http:\/\/blog.catalystlogic.com.au\/?p=142"},"modified":"2026-03-01T01:44:18","modified_gmt":"2026-02-28T14:44:18","slug":"elasticsearch-on-arm","status":"publish","type":"post","link":"http:\/\/54.253.247.134\/?p=142","title":{"rendered":"Elasticsearch on ARM"},"content":{"rendered":"<p>With the success on preliminary benchmark on my use case for Elasticsearch . I thought I would see how it ran on a ARM based ODroid U3.<\/p>\n<p>The U3 is a credit card sized mini PC from\u00a0<a href=\"http:\/\/www.hardkernel.com\/\">HardKernel<\/a>, that runs Android or Linux.<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/dn.odroid.com\/homebackup\/201312222305368236.jpg\" alt=\"\" \/><\/p>\n<p>The <a href=\"http:\/\/www.hardkernel.com\/main\/products\/prdt_info.php?g_code=g138745696275&amp;tab_idx=2\" target=\"_blank\">Odroid U3 Specs<\/a> include a 1.7GHz\u00a0Exynos4412 Prime\u00a0Cortex-A9 Quad-core processor, and 2GB RAM. While it support MMC storage, I'll be using a 16GB Sandisk Ultra UHS I Class 10\u00a0SD Card, in part to makes things interesting, and in part so I easily swap out my Android XBMC MMC between projects.<\/p>\n<p>I have gone with Ubuntu 14.4 from the <a href=\"http:\/\/forum.odroid.com\/viewtopic.php?f=77&amp;t=5234\" target=\"_blank\">ODroid forum site<\/a>.<\/p>\n<p>Oracle Java 8 via apt-get was straight forward, however elasticsearch via\u00a0packages.elasticsearch.org did not explicitly support armhf.<\/p>\n<p>I added the following to <em>\/etc\/apt\/sources.list<\/em> as outline by the docs<\/p>\n<pre class=\"lang:default highlight:0 decode:true\">deb http:\/\/packages.elasticsearch.org\/elasticsearch\/1.5\/debian stable main<\/pre>\n<p>However apt-get update gave me the following error.<\/p>\n<pre class=\"lang:sh highlight:0 decode:true \">W: Failed to fetch http:\/\/packages.elasticsearch.org\/elasticsearch\/1.5\/debian\/dists\/stable\/Release  Unable to find expected entry 'main\/binary-armhf\/Packages' in Release file (Wrong sources.list entry or malformed file)\nE: Some index files failed to download. They have been ignored, or old ones used instead.<\/pre>\n<p>As Elasticsearch runs in Java, I figured running the x86 version would be fine. Just needed to figure out how to do it.<\/p>\n<p>After hitting a dead end after editing <em>\/etc\/dpkg\/dpkg.cfg.d\/architectures<\/em>, I tried adding architecture tags to\u00a0<em>\/etc\/apt\/sources.list<\/em> as outlined in the<a href=\"https:\/\/wiki.debian.org\/Multiarch\/HOWTO\"> Multarch\/HOWTO<\/a>.<\/p>\n<pre class=\"lang:default highlight:0 decode:true\">deb [arch=amd64,i386] http:\/\/packages.elasticsearch.org\/elasticsearch\/1.5\/debian stable main<\/pre>\n<p>Worked a treat, package sources updated, and elastic search installed as a deb package.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With the success on preliminary benchmark on my use case for Elasticsearch . I thought I would see how it ran on a ARM based ODroid U3. The U3 is a credit card sized mini PC from\u00a0HardKernel, that runs Android or Linux. The Odroid U3 Specs include a 1.7GHz\u00a0Exynos4412 Prime\u00a0Cortex-A9 Quad-core processor, and 2GB RAM. <a class=\"read-more\" href=\"http:\/\/54.253.247.134\/?p=142\">...continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,11,13],"tags":[],"class_list":["post-142","post","type-post","status-publish","format-standard","hentry","category-elasticsearch","category-hardware","category-linux"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/54.253.247.134\/index.php?rest_route=\/wp\/v2\/posts\/142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/54.253.247.134\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/54.253.247.134\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/54.253.247.134\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/54.253.247.134\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=142"}],"version-history":[{"count":1,"href":"http:\/\/54.253.247.134\/index.php?rest_route=\/wp\/v2\/posts\/142\/revisions"}],"predecessor-version":[{"id":227,"href":"http:\/\/54.253.247.134\/index.php?rest_route=\/wp\/v2\/posts\/142\/revisions\/227"}],"wp:attachment":[{"href":"http:\/\/54.253.247.134\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/54.253.247.134\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=142"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/54.253.247.134\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}