{"id":1628,"date":"2015-02-23T13:30:45","date_gmt":"2015-02-23T12:30:45","guid":{"rendered":"https:\/\/bob-team.de\/wordpress\/?p=1628"},"modified":"2015-02-23T13:33:00","modified_gmt":"2015-02-23T12:33:00","slug":"hadoop-projekt-konfigurieren","status":"publish","type":"post","link":"https:\/\/bob-team.de\/wordpress\/2015\/02\/23\/hadoop-projekt-konfigurieren\/","title":{"rendered":"Hadoop Projekt konfigurieren"},"content":{"rendered":"<p><strong>SSH-Login ohne Kennwort<\/strong><\/p>\n<p>Als &#8222;admin&#8220; am CentOS 7 anmelden.<\/p>\n<ul>\n<li>Anwendungen\/Hilfsprogramme\/Terminal<\/li>\n<li><tt>ssh-keygen -t dsa -P '' -f ~\/.ssh\/id_dsa<\/tt><\/li>\n<li><tt>cat ~\/.ssh\/id_dsa.pub >> ~\/.ssh\/authorized_keys<\/tt><\/li>\n<li><tt>chmod 700 ~\/.ssh<\/tt><\/li>\n<li><tt>chmod 600 ~\/.ssh\/authorized_keys<\/tt><\/li>\n<li><a href=\"http:\/\/wiki.centos.org\/HowTos\/Network\/SecuringSSH\">weitere Details: SecuringSSH<\/a><\/li>\n<\/ul>\n<p><strong>Hadoop starten<\/strong><\/p>\n<ul>\n<li><tt>cd \/usr\/hadoop<\/tt><\/li>\n<li><tt>.\/sbin\/start-dfs.sh<\/tt> (sp\u00e4ter mit <tt>.\/sbin\/stop-dfs.sh<\/tt> beenden)<\/li>\n<li>einmal <tt>.\/bin\/hdfs namenode -format<\/tt> ausf\u00fchren<\/li>\n<li><tt>.\/bin\/hdfs dfs -mkdir \/user<\/tt><\/li>\n<li><tt>.\/bin\/hdfs dfs -mkdir \/user\/majo<\/tt><\/li>\n<li>mit <tt>.\/bin\/hdfs dfs -ls \/<\/tt> die Verzeichnisanlage kontrollieren<\/li>\n<\/ul>\n<p><strong>Eclipse vorbereiten<\/strong><\/p>\n<ul>\n<li>unter <tt>\/usr\/hadoop<\/tt> folgende Dateien suchen und in gemeinsamen Ordner kopieren: <tt>hadoop-common-2.6.0.jar<\/tt>, <tt>hadoop-common-2.6.0-sources.jar<\/tt>, <tt>hadoop-mapreduce-client-core-2.6.0.jar<\/tt>, <tt>hadoop-mapreduce-client-core-2.6.0-sources.jar<\/tt><\/li>\n<li>im Eclipse: Window\/Preferences\/Java\/Build Path\/User Libraries\/New&#8230;<\/li>\n<li>User library name: Hadoop<\/li>\n<li>Add External JARs&#8230;<\/li>\n<li>hadoop-common + hadoop-mapreduce-client-core hinzuf\u00fcgen (ohne &#8222;sources&#8220;)<\/li>\n<li>neue Eintr\u00e4ge \u00f6ffnen + &#8222;Source attachment&#8220; w\u00e4hlen + Edit&#8230;<\/li>\n<li>External location + External File&#8230; <\/li>\n<\/ul>\n<p><strong>Projekt anlegen<\/strong><\/p>\n<ul>\n<li>Window\/Open Perspective\/Other&#8230;<\/li>\n<li>Git Repository Exploring + OK<\/li>\n<li><tt>majo<\/tt> in Git Repositories w\u00e4hlen + Import Projects&#8230; (\u00fcber Kontextmen\u00fc)<\/li>\n<li>Import existing Projects + Next<\/li>\n<li><a href=\"https:\/\/github.com\/bobmin\/majo\">MajoMapReduce<\/a> ausw\u00e4hlen + Finish<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>SSH-Login ohne Kennwort Als &#8222;admin&#8220; am CentOS 7 anmelden. Anwendungen\/Hilfsprogramme\/Terminal ssh-keygen -t dsa -P &#8220; -f ~\/.ssh\/id_dsa cat ~\/.ssh\/id_dsa.pub >> ~\/.ssh\/authorized_keys chmod 700 ~\/.ssh chmod 600 ~\/.ssh\/authorized_keys weitere Details: SecuringSSH Hadoop starten cd \/usr\/hadoop .\/sbin\/start-dfs.sh (sp\u00e4ter mit .\/sbin\/stop-dfs.sh beenden) einmal .\/bin\/hdfs namenode -format ausf\u00fchren .\/bin\/hdfs dfs -mkdir \/user .\/bin\/hdfs dfs -mkdir \/user\/majo mit .\/bin\/hdfs dfs [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[121],"class_list":["post-1628","post","type-post","status-publish","format-standard","hentry","category-java","tag-hadoop","entry"],"_links":{"self":[{"href":"https:\/\/bob-team.de\/wordpress\/wp-json\/wp\/v2\/posts\/1628","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bob-team.de\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bob-team.de\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bob-team.de\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bob-team.de\/wordpress\/wp-json\/wp\/v2\/comments?post=1628"}],"version-history":[{"count":1,"href":"https:\/\/bob-team.de\/wordpress\/wp-json\/wp\/v2\/posts\/1628\/revisions"}],"predecessor-version":[{"id":1629,"href":"https:\/\/bob-team.de\/wordpress\/wp-json\/wp\/v2\/posts\/1628\/revisions\/1629"}],"wp:attachment":[{"href":"https:\/\/bob-team.de\/wordpress\/wp-json\/wp\/v2\/media?parent=1628"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bob-team.de\/wordpress\/wp-json\/wp\/v2\/categories?post=1628"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bob-team.de\/wordpress\/wp-json\/wp\/v2\/tags?post=1628"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}