{"id":496,"date":"2012-04-21T10:51:19","date_gmt":"2012-04-21T10:51:19","guid":{"rendered":"http:\/\/apollo89.com\/wordpress\/?p=496"},"modified":"2013-02-21T12:12:19","modified_gmt":"2013-02-21T03:12:19","slug":"hadoop-%ec%84%a4%ec%b9%98","status":"publish","type":"post","link":"https:\/\/apollo89.com\/wordpress\/?p=496","title":{"rendered":"Hadoop \uc124\uce58"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/apollo89.com\/wordpress\/wp-content\/uploads\/2012\/04\/hadoop-logo.jpeg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/apollo89.com\/wordpress\/wp-content\/uploads\/2012\/04\/hadoop-logo.jpeg\" alt=\"hadoop-logo\" width=\"259\" height=\"195\" class=\"alignnone size-full wp-image-859\" \/><\/a><\/p>\n<p>1 Hadoop \uc124\uce58<br \/>\n\uc124\uce58 \uc704\uce58 : \/service\/workspace (\uac01\uc790 \ud658\uacbd\uc5d0 \ub9de\uac8c \uad6c\uc131)<\/p>\n<pre class=\"lang:default decode:true \" >]$ wget http:\/\/apache.tt.co.kr\/hadoop\/common\/hadoop-1.0.0\/hadoop-1.0.0.tar.gz\r\n]$ tar xvzf hadoop-1.0.0.tar.gz\r\n]$ ln -s hadoop-1.0.0 hadoop\r\n]$ cd \/service\/workspace\/hadoop<\/pre>\n<p>2 Hadoop \uc124\uc815<\/p>\n<p>2.1 core-site.xml \uc124\uc815<\/p>\n<pre class=\"lang:default decode:true \" >]$ vi conf\/core-site.xml\r\n...\r\n        &lt;property&gt;\r\n                &lt;name&gt;fs.default.name&lt;\/name&gt;\r\n                &lt;value&gt;hdfs:\/\/localhost:9000&lt;\/value&gt;\r\n        &lt;\/property&gt;\r\n...<\/pre>\n<p>2.2 hadoop-env.sh\uc5d0 JAVA_HOME \uc124\uc815<\/p>\n<pre class=\"lang:default decode:true \" >]$ vi conf\/hadoop-env.sh\r\n...\r\nexport JAVA_HOME=\/path\/jdk\r\n...<\/pre>\n<p>2.3 hdfs-site.xml \uc124\uc815<\/p>\n<pre class=\"lang:default decode:true \" >]$ vi conf\/hdfs-site.xml\r\n...\r\n        &lt;property&gt;\r\n                &lt;name&gt;dfs.replication&lt;\/name&gt;\r\n                &lt;value&gt;1&lt;\/value&gt;\r\n        &lt;\/property&gt;\r\n        &lt;property&gt;\r\n                &lt;name&gt;dfs.name.dir&lt;\/name&gt;\r\n                &lt;value&gt;\/service\/workspace\/hadoop_name&lt;\/value&gt;\r\n        &lt;\/property&gt;\r\n        &lt;property&gt;\r\n                &lt;name&gt;dfs.data.dir&lt;\/name&gt;\r\n                &lt;value&gt;\/service\/workspace\/hadoop_data&lt;\/value&gt;\r\n        &lt;\/property&gt;\r\n...<\/pre>\n<p>* \ucc38\uace0 : dfs.name.dir\uc640 dfs.data.dir \ub294 \uc11c\ubc84\ub97c \uad6c\ub3d9\ud558\uae30 \uc804\uc5d0 \ubbf8\ub9ac \uc0dd\uc131\ud574\uc57c\ud568(\uc790\ub3d9\uc73c\ub85c \uc0dd\uc131\ub418\uc9c0 \uc54a\uc74c.)<\/p>\n<p>2.4 mapred-site.xml \uc124\uc815<\/p>\n<pre class=\"lang:default decode:true \" >]$ vi conf\/mapred-site.xml\r\n...\r\n        &lt;property&gt;\r\n                &lt;name&gt;mapred.job.tracker&lt;\/name&gt;\r\n                &lt;value&gt;hdfs:\/\/localhost:9001&lt;\/value&gt;\r\n        &lt;\/property&gt;\r\n...<\/pre>\n<p>2.5 masters, slaves \ud655\uc778<\/p>\n<pre class=\"lang:default decode:true \" >]$ cat conf\/masters conf\/slaves\r\nlocalhost\r\nlocalhost<\/pre>\n<p>* localhost \uc73c\ub85c \uc124\uc815\ub418\uc5b4 \uc788\ub294\uc9c0 \ud655\uc778<\/p>\n<p>3 Hadoop \ud30c\uc77c \uc2dc\uc2a4\ud15c \ud3ec\uba67<\/p>\n<pre class=\"lang:default decode:true \" >]$ .\/bin\/hadoop namenode -format<\/pre>\n<p>4 Hadoop \uad6c\ub3d9 (\uc21c\uc11c\ub300\ub85c)<\/p>\n<pre class=\"lang:default decode:true \" >]$ .\/bin\/hadoop-daemon.sh start namenode\r\n]$ .\/bin\/hadoop-daemon.sh start datanode\r\n]$ .\/bin\/hadoop-daemon.sh start jobtracker\r\n]$ .\/bin\/hadoop-daemon.sh start tasktracker\r\n<\/pre>\n<p>5 Hadoop \ud655\uc778<br \/>\n* NameNode \ud655\uc778 : http:\/\/localhost:50070\/dfshealth.jsp<br \/>\n* Jobtracker \ud655\uc778 : http:\/\/localhost:50030\/jobtracker.jsp<\/p>\n<p>hadoop \uc124\uce58 \ub05d!<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; 1 Hadoop \uc124\uce58 \uc124\uce58 \uc704\uce58 : \/service\/workspace (\uac01\uc790 \ud658\uacbd\uc5d0 \ub9de\uac8c \uad6c\uc131) ]$ wget http:\/\/apache.tt.co.kr\/hadoop\/common\/hadoop-1.0.0\/hadoop-1.0.0.tar.gz ]$ tar xvzf hadoop-1.0.0.tar.gz ]$ ln -s hadoop-1.0.0 hadoop ]$ cd \/service\/workspace\/hadoop 2 Hadoop \uc124\uc815 2.1 core-site.xml \uc124\uc815 ]$ vi conf\/core-site.xml &#8230; &lt;property&gt; &lt;name&gt;fs.default.name&lt;\/name&gt; &lt;value&gt;hdfs:\/\/localhost:9000&lt;\/value&gt; &hellip; <a href=\"https:\/\/apollo89.com\/wordpress\/?p=496\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[660],"tags":[41,585],"class_list":["post-496","post","type-post","status-publish","format-standard","hentry","category-bigdata-hadoop","tag-41","tag-hadoop"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Hadoop \uc124\uce58 - Apollo89.com<\/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:\/\/apollo89.com\/wordpress\/?p=496\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Hadoop \uc124\uce58 - Apollo89.com\" \/>\n<meta property=\"og:description\" content=\"&nbsp; 1 Hadoop \uc124\uce58 \uc124\uce58 \uc704\uce58 : \/service\/workspace (\uac01\uc790 \ud658\uacbd\uc5d0 \ub9de\uac8c \uad6c\uc131) ]$ wget http:\/\/apache.tt.co.kr\/hadoop\/common\/hadoop-1.0.0\/hadoop-1.0.0.tar.gz ]$ tar xvzf hadoop-1.0.0.tar.gz ]$ ln -s hadoop-1.0.0 hadoop ]$ cd \/service\/workspace\/hadoop 2 Hadoop \uc124\uc815 2.1 core-site.xml \uc124\uc815 ]$ vi conf\/core-site.xml ... &lt;property&gt; &lt;name&gt;fs.default.name&lt;\/name&gt; &lt;value&gt;hdfs:\/\/localhost:9000&lt;\/value&gt; &hellip; Continue reading &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/apollo89.com\/wordpress\/?p=496\" \/>\n<meta property=\"og:site_name\" content=\"Apollo89.com\" \/>\n<meta property=\"article:published_time\" content=\"2012-04-21T10:51:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2013-02-21T03:12:19+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/apollo89.com\/wordpress\/wp-content\/uploads\/2012\/04\/hadoop-logo.jpeg\" \/>\n<meta name=\"author\" content=\"apollo89\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"apollo89\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?p=496#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?p=496\"},\"author\":{\"name\":\"apollo89\",\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/#\\\/schema\\\/person\\\/93f56825cac3b2f18e5f107995066c82\"},\"headline\":\"Hadoop \uc124\uce58\",\"datePublished\":\"2012-04-21T10:51:19+00:00\",\"dateModified\":\"2013-02-21T03:12:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?p=496\"},\"wordCount\":40,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?p=496#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/apollo89.com\\\/wordpress\\\/wp-content\\\/uploads\\\/2012\\\/04\\\/hadoop-logo.jpeg\",\"keywords\":[\"\uc124\uce58\",\"\ud558\ub461\"],\"articleSection\":[\"Bigdata\\\/Hadoop\"],\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?p=496#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?p=496\",\"url\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?p=496\",\"name\":\"Hadoop \uc124\uce58 - Apollo89.com\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?p=496#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?p=496#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/apollo89.com\\\/wordpress\\\/wp-content\\\/uploads\\\/2012\\\/04\\\/hadoop-logo.jpeg\",\"datePublished\":\"2012-04-21T10:51:19+00:00\",\"dateModified\":\"2013-02-21T03:12:19+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/#\\\/schema\\\/person\\\/93f56825cac3b2f18e5f107995066c82\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?p=496#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?p=496\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?p=496#primaryimage\",\"url\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/wp-content\\\/uploads\\\/2012\\\/04\\\/hadoop-logo.jpeg\",\"contentUrl\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/wp-content\\\/uploads\\\/2012\\\/04\\\/hadoop-logo.jpeg\",\"width\":259,\"height\":195},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?p=496#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\\\/\\\/apollo89.com\\\/wordpress\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Hadoop \uc124\uce58\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/#website\",\"url\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/\",\"name\":\"Apollo89.com\",\"description\":\"\uc544\ud3f4\ub85c\uc528\uc758 \uc7a1\ub2e4\ud55c \uacbd\ud5d8\ub4e4..\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/#\\\/schema\\\/person\\\/93f56825cac3b2f18e5f107995066c82\",\"name\":\"apollo89\",\"description\":\"\uc544\ud3f4\ub85c89 \uc785\ub2c8\ub2e4.\",\"url\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Hadoop \uc124\uce58 - Apollo89.com","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:\/\/apollo89.com\/wordpress\/?p=496","og_locale":"ko_KR","og_type":"article","og_title":"Hadoop \uc124\uce58 - Apollo89.com","og_description":"&nbsp; 1 Hadoop \uc124\uce58 \uc124\uce58 \uc704\uce58 : \/service\/workspace (\uac01\uc790 \ud658\uacbd\uc5d0 \ub9de\uac8c \uad6c\uc131) ]$ wget http:\/\/apache.tt.co.kr\/hadoop\/common\/hadoop-1.0.0\/hadoop-1.0.0.tar.gz ]$ tar xvzf hadoop-1.0.0.tar.gz ]$ ln -s hadoop-1.0.0 hadoop ]$ cd \/service\/workspace\/hadoop 2 Hadoop \uc124\uc815 2.1 core-site.xml \uc124\uc815 ]$ vi conf\/core-site.xml ... &lt;property&gt; &lt;name&gt;fs.default.name&lt;\/name&gt; &lt;value&gt;hdfs:\/\/localhost:9000&lt;\/value&gt; &hellip; Continue reading &rarr;","og_url":"https:\/\/apollo89.com\/wordpress\/?p=496","og_site_name":"Apollo89.com","article_published_time":"2012-04-21T10:51:19+00:00","article_modified_time":"2013-02-21T03:12:19+00:00","og_image":[{"url":"http:\/\/apollo89.com\/wordpress\/wp-content\/uploads\/2012\/04\/hadoop-logo.jpeg","type":"","width":"","height":""}],"author":"apollo89","twitter_card":"summary_large_image","twitter_misc":{"\uae00\uc4f4\uc774":"apollo89","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/apollo89.com\/wordpress\/?p=496#article","isPartOf":{"@id":"https:\/\/apollo89.com\/wordpress\/?p=496"},"author":{"name":"apollo89","@id":"https:\/\/apollo89.com\/wordpress\/#\/schema\/person\/93f56825cac3b2f18e5f107995066c82"},"headline":"Hadoop \uc124\uce58","datePublished":"2012-04-21T10:51:19+00:00","dateModified":"2013-02-21T03:12:19+00:00","mainEntityOfPage":{"@id":"https:\/\/apollo89.com\/wordpress\/?p=496"},"wordCount":40,"commentCount":0,"image":{"@id":"https:\/\/apollo89.com\/wordpress\/?p=496#primaryimage"},"thumbnailUrl":"http:\/\/apollo89.com\/wordpress\/wp-content\/uploads\/2012\/04\/hadoop-logo.jpeg","keywords":["\uc124\uce58","\ud558\ub461"],"articleSection":["Bigdata\/Hadoop"],"inLanguage":"ko-KR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/apollo89.com\/wordpress\/?p=496#respond"]}]},{"@type":"WebPage","@id":"https:\/\/apollo89.com\/wordpress\/?p=496","url":"https:\/\/apollo89.com\/wordpress\/?p=496","name":"Hadoop \uc124\uce58 - Apollo89.com","isPartOf":{"@id":"https:\/\/apollo89.com\/wordpress\/#website"},"primaryImageOfPage":{"@id":"https:\/\/apollo89.com\/wordpress\/?p=496#primaryimage"},"image":{"@id":"https:\/\/apollo89.com\/wordpress\/?p=496#primaryimage"},"thumbnailUrl":"http:\/\/apollo89.com\/wordpress\/wp-content\/uploads\/2012\/04\/hadoop-logo.jpeg","datePublished":"2012-04-21T10:51:19+00:00","dateModified":"2013-02-21T03:12:19+00:00","author":{"@id":"https:\/\/apollo89.com\/wordpress\/#\/schema\/person\/93f56825cac3b2f18e5f107995066c82"},"breadcrumb":{"@id":"https:\/\/apollo89.com\/wordpress\/?p=496#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/apollo89.com\/wordpress\/?p=496"]}]},{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/apollo89.com\/wordpress\/?p=496#primaryimage","url":"https:\/\/apollo89.com\/wordpress\/wp-content\/uploads\/2012\/04\/hadoop-logo.jpeg","contentUrl":"https:\/\/apollo89.com\/wordpress\/wp-content\/uploads\/2012\/04\/hadoop-logo.jpeg","width":259,"height":195},{"@type":"BreadcrumbList","@id":"https:\/\/apollo89.com\/wordpress\/?p=496#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/apollo89.com\/wordpress"},{"@type":"ListItem","position":2,"name":"Hadoop \uc124\uce58"}]},{"@type":"WebSite","@id":"https:\/\/apollo89.com\/wordpress\/#website","url":"https:\/\/apollo89.com\/wordpress\/","name":"Apollo89.com","description":"\uc544\ud3f4\ub85c\uc528\uc758 \uc7a1\ub2e4\ud55c \uacbd\ud5d8\ub4e4..","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/apollo89.com\/wordpress\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Person","@id":"https:\/\/apollo89.com\/wordpress\/#\/schema\/person\/93f56825cac3b2f18e5f107995066c82","name":"apollo89","description":"\uc544\ud3f4\ub85c89 \uc785\ub2c8\ub2e4.","url":"https:\/\/apollo89.com\/wordpress\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/apollo89.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/496","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/apollo89.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/apollo89.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/apollo89.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/apollo89.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=496"}],"version-history":[{"count":0,"href":"https:\/\/apollo89.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/496\/revisions"}],"wp:attachment":[{"href":"https:\/\/apollo89.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=496"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/apollo89.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=496"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/apollo89.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}