Apache Sparkããåç¥ã§ããããã å»å¹´ãããããã¨ã¦ãæµè¡ã£ã¦ããåæ£å¦çãã¬ã¼ã ã¯ã¼ã¯ã§ãã 大éã®ãã¼ã¿ãéè¨ã»åæãããã¨ãã§ãã¾ãã å ¬å¼ãµã¤ãã«ããã°ãã¤ã³ã¡ã¢ãªã§åä½ããå ´åãHadoop MapReduceãã100åæ©ãããã§ãã åæ£å¦çã¯ãåºæ¬çã«ã¯ï¼å°ã®ãã·ã³ã§ã¯å¦çããããªãè¦æ¨¡ã®éè¨ãåæãå¿ è¦ã¨ãªãå ´åã«å¿ è¦ã¨ãªãã¾ãã Sparkã¯åæ£å¦çã®ãã¬ã¼ã ã¯ã¼ã¯ãªããã§ãã大éã®ãã·ã³ãã¯ã©ã¹ã¿ã¼ã¨ãã¦æ±ããã¨ã«é·ãã¦ãã¾ãã ããã¦å½ããåã§ããåæ£å¦çã«ã¯ã©ããã¦ããªã¼ãã¼ããããçºçãã¾ãã ãããSparkãé«éã¨ãã£ã¦ããã·ã³ã°ã«ãã¼ãã§å®ç¾å¯è½ãªéè¨å¦çãSparkã§åããã°é ããªãã¾ãã ã§ã¯ãã·ã³ã°ã«ãã¼ãã§è¨ç®ã§ãããããªãã¼ã¿ããæããªãã·ã¹ãã ã§ã¯Sparkã使ããã¨ã«ã¡ãªããã¯ãªãã®ãã¨ããã¨ããããªãã¨ã¯ããã¾ããã ç§ã¯å®éã«
2.2.1 Hello World ã¤ã³ã¹ãã¼ã« å ¬å¼ãµã¤ã ãããã¦ã³ãã¼ãããã zip(tar) 㨠war ãé å¸ããã¦ããã zip ã®æ¹ã¯ã Apache Archiva ãåç¬ï¼ã¹ã¿ã³ãã¢ãã³ï¼ã§åããããå ´åã«ä½¿ç¨ããã Jetty ãå èµããã¦ããããããå©ç¨ãããã ãã§ã« Tomcat ãªã©ã® Servlet ã³ã³ãããã¤ã³ã¹ãã¼ã«ããã¦ãããããã«ãããã¤ããå½¢ã§å©ç¨ãããå ´å㯠war ã使ç¨ããã ä»å㯠zip ã®ã»ããé¸æããã zip ãä»»æã®å ´æã«è§£åããããã¤ã³ã¹ãã¼ã«ã¯å®äºã èµ·åãã 解åãã¦ã§ãããã©ã«ãã®ä¸ã® bin ãã©ã«ãã®ä¸ã§ã³ãã³ãã©ã¤ã³ãéãã以ä¸ã®ã³ãã³ããå®è¡ããã ãµã¼ãã¼ãèµ·åããã®ã§ããã©ã¦ã¶ãéã㦠http://localhost:8080/ ã«ã¢ã¯ã»ã¹ããã åæ¢ã¯ Ctrl + Cã 管çè ã¦ã¼ã¶ã¼ãä½æãã å³ä¸ã®
ããã«ã¡ã¯ãcloudpack ã® ä¸æµ¦åæ ã§ãã ã¯ããã« CentOS6ã§Apacheãã°ãlogrotateã«ä¸é±éå¨æã§ãã¼ãã¼ã·ã§ã³ããããã«è¿½å è¨å®ããæã®æé ãè¨è¼ãã¾ãã â»CentOSã§ã¯logrotateã¯æ¨æºã¤ã³ã¹ãã¼ã«ããã¦ãã¦ãããã©ã«ãã§ã¯syslogçãï¼æ¥å¨æã§ãã¼ãã¼ã·ã§ã³ããã¦ãã¾ãã å®è£ æ¹æ³ â anacloneã®ç¡å¹å å®è¡ãããæéãã©ã³ãã ã«ãªãã¨ãAmazon S3ããã¯ã¢ããããã¼ãã¼ã·ã§ã³æã«åé¤ããããã®ãAmazon S3ã«ã¢ãããã¼ãçã®å¦çã¨ä½µç¨ããéçã«ãä½ãã¨ä¸ä¾¿ãªã®ã§anacronãã¾ãç¡å¹åããã yum install cronie-noanacron yum remove cronie-anacron â logrotateã³ã³ãã£ã°ãã¡ã¤ã« â/etc/logrotate.d/hatted apacheãã¤ã³ã¹ãã¼ã«ã
DockerãApache Auroraéçºè ãã®ãã¼ã ãè²·åãSwarmã¨ã®çµ±åã«ãããªã¼ã±ã¹ãã¬ã¼ã·ã§ã³æ©è½ã®å¼·åã§MesosãKubernetesã¨ç«¶åããæ¹å㸠Dockerãåæ£ã·ã¹ãã ã§ç¨ããéã«ã¯ã大éã®ã³ã³ããã管çããããã®ã¯ã©ã¹ã¿ç®¡çã·ã¹ãã ãããã¯ãªã¼ã±ã¹ãã¬ã¼ã·ã§ã³ãã¼ã«ã¨ãã¦ãKubernetesãApache Mesosããããã¯Docker Swarmãªã©ãç¨ãããã¨ãä¸è¬çã§ãã Kubernetesã¯Red Hatã®OpenShiftã§æ¡ç¨ãããApache Mesosã¯ãã¤ã¯ãã½ãããAzure Container Serviceã§æ¡ç¨ãã¦ãã¾ãã ããããä¸ã§Docker社ã¯ãèªç¤¾ã§æä¾ãã¦ãããªã¼ã±ã¹ãã¬ã¼ã·ã§ã³ãã¼ã«ãããã¾ã§ãæ¼ãåºãã¦ããæ¦ç¥ãæ確ã«ãã¾ããã Docker社ã¯ãApache Auroraãªã©ã®éçºè ãªã©ãç«ã¡ä¸ããæ°èä¼æ¥Co
Apache Camelã«é¢ã㦠ãã¦ã³ãã¼ã http://camel.apache.org/download.html 軽éãªEIPãã¬ã¼ã ã¯ã¼ã¯ï¼ã¡ãã»ã¼ã¸å¦çãã¬ã¼ã ã¯ã¼ã¯ï¼ã http://www.eaipatterns.com/toc.html è²ã ãªå¦çã«é¢ãã¦èæ ®ããããã¬ã¼ã ã¯ã¼ã¯ã MVCãç»é¢ç³»ã®è¡¨ãªãã¬ã¼ã ã¯ã¼ã¯ã§ãEIPãã¬ã¼ã ã¯ã¼ã¯ã¯è£æ¹ã®ãã¬ã¼ã ã¯ã¼ã¯ã ç»é¢å¦çããªãã®ã«é å¼µã£ã¦MVCãã¬ã¼ã ã¯ã¼ã¯ã§è£æ¹ãªããã°ã©ã ãæ¸ãã¦ããï¼ ï¼éã«Camelã¯Viewã¨ããæ¦å¿µãç¡ãã®ã§ç»é¢ç³»ã¯å¼±ãï¼ SAP HANA Cloud Integration ã¨ãã製åã¨ãã§ã Apache Camelãã¼ã¹ã§ä½ããã¦ããããã Camel devèªå®è©¦é¨ããã£ãã http://www.redhat.com/ja/services/certification/rhcoe
ã¯ããã« Tomcat8.5.9ããã¼ã¹ã«ãã¾ããã http://tomcat.apache.org/ è¨å®ä¾ 以ä¸ã®ç¹ã«æ³¨æãã¦ç¡é§ãªãã®ãçãã¦ããã¾ãã ãã¼ã8009ã§Apacheã¨é£æºã§ãã ãã¼ã8080ã§åä½ã§ç¨¼å(主ã«ç¶æ 確èªç¨)ã§ãã HttpServletRequest#setCharacterEncodingãGETãã©ã¡ã¼ã¿ã«ãé©ç¨ããã(useBodyEncodingForURI) ã¦ã¼ã¶ã®ãã¹ããlookupã§ãã(enableLookups) POSTã®ãã¼ã¿ãµã¤ãºã10Mã«å¶é(maxPostSize) appBaseã/homeå´ã«ç§»å(Tomcatæ¬ä½ã®é ç½®å ´æããé ãããã¢ããªã±ã¼ã·ã§ã³é ç½®æã®äºæ çãé²æ¢) <?xml version='1.0' encoding='utf-8'?> <Server> <Listener className="or
Alluraã¯SourceForge.net 2.0ã¨éæãããæ°ãã¶ã¤ã³ãæ°æ©è½ã®ã·ã¹ãã ã§ãã ãã¤ã¦ãªã¼ãã³ã½ã¼ã¹ã®ãªãã¸ããªãµã¼ãã¹ã¨è¨ãã°SourceForgeã§ãããä»ã§ã¯éåå½±ãèããªã£ã¦ãã¾ã£ãããã«æãã¾ãããã¾ã ã¾ã æ ¹å¼·ã人æ°ãããã¾ãããããªSourceForgeã2.0ã¨ãã¦çã¾ãå¤ãããã¨ãã¦ãã¾ãããããAlluraã§ãã Wikiãã¼ã¸ã§ãã ãã¡ãã¯ãªãã¸ããªã2ã«ã©ã ã§ãå³å´ãçãã®ãç¹å¾´ã§ãã ãã©ã¼ã©ã ã ãã£ããã Pastbinãããããã¹ããããæ©è½ã§ãã ãã±ããã ãã±ããã®è©³ç´°ã§ãã Alluraã¯æ¢ã«æ¢åã®ã·ã¹ãã ã®ä¸é¨åã«é©ç¨ããå§ãã¦ãã¾ããã°ã¬ã¼ãåºèª¿ã¨ãããã¶ã¤ã³ã¯ç¾å¨ã¨åãã§ãããããè§ä¸¸ãå¤ç¨ãããä»é¢¨ã®ãã¶ã¤ã³ã«ãªã£ã¦ãã¦ãã¾ãããã¶ã¤ã³ãè¦ãããå½¢ã§ãã¾ãã«2.0ã«ãµããããå½¢ã¨è¨ããã®ã§ã¯ãªãã§ããããã Alluraã¯
Javaã§ZipEntryã¨ZipOutputStreamã使ã£ã¦ZIPã¢ã¼ã«ã¤ãããæ¹æ³ã§ãã ZipOutputStream ã¯ã©ã¹ã¯ãjava.util.zip.ZipOutputStream, org.apache.tools.zip.ZipOutputStream ã®ï¼ç¨®é¡ãããã¾ãããæ¥æ¬èªãã¡ã¤ã«åãæ±ãã org.apache.tools.zip.ZipOutputStream ãå©ç¨ãã¾ãããã å®åã§ã¯ãZIP å§ç¸®ãããæ¹æ³ã¨ãã¦ãç¹å®ã®ãã£ã¬ã¯ããªãå§ç¸®ãããããç¹å®ã®ãã¡ã¤ã«ã ãå§ç¸®ãããããªã©ã®è¦æããããã¨æãã¾ããä»åã¯ãã®ä¸¡æ¹ãå®ç¾ããããã®ãµã³ãã«ãç¨æãã¾ããã ããã§ã¯ Javaã§ZipEntryã¨ZipOutputStreamã使ã£ã¦ZIPã¢ã¼ã«ã¤ãããæ¹æ³ ãç´¹ä»ãã¾ãã ããã§ã¯ãå®éã®ã½ã¼ã¹ãè¦ãªãã解説ãã¦ãã¾ãã ä»åã¯ãZipCompr
Windows7 ãã Windows10 ã«ã¢ããã°ã¬ã¼ãããã§ãããã æ£ç´è¨ã£ã¦ Windows10 ã¯æ°ã«å ¥ããé¨åãå¤ããã¦ãã¢ããã°ã¬ã¼ãããããªãã£ãã®ã ãã Windows7 ã®å¯¿å½ï¼ãµãã¼ãæéï¼ãããã¨5å¹´åå¾ãªã®ã§ããããã¯ã¢ããã°ã¬ã¼ããããã¨ã«ãªãã ãããã æ £ãã®é¨åãããã®ã§ãä»åã¯æ©ã ã«ã¢ããã°ã¬ã¼ããããã¨ã«ããã ã¢ããã°ã¬ã¼ãå¾ãè´å½çãªä¸å ·åã¯ã»ã¨ãã©ãªãã£ããã©ã XAMPP ã® Apache ãèµ·åããªãåé¡ãçºçããã§ããããã PID4 ã®ããã»ã¹ã Port80 ã LISTEN 赤æåã®ã¡ãã»ã¼ã¸ã ãè¦ãã¨ã ãPID4 ã®ããã»ã¹ã Port80 ããã§ã«ä½¿ã£ã¦ã¾ã£ããã£ã¦æ¸ãã¦ããã PID 4 ï¼ ããã»ã¹çªå·ãè¥ããã¦ãå«ãªäºæããããªãï½ æ¬å½ã« 4 ãï¼ å¿µã®ãããnetstat ãã¦ç¢ºèªãã¦ã¿ãã 確ãã« PID4 ã§ããï½
(注è¨ï¼6/9ãããã ãã翻訳ãã£ã¼ãããã¯ãå ã«è¨äºãä¿®æ£ãããã¾ããã) ä»åã®è¨äºã¯æ¯ç§300ä¸ãã®ãªã¯ã¨ã¹ããå¦çã§ããã»ã©å¼·åã§é«æ§è½ãªWebã¯ã©ã¹ã¿ã®æ§ç¯ã«ã¤ãã¦ã®ãã¼ã1ã«ãªãã¾ããã¾ãåãã«ããã¾ãå¤ãã¯ããã¾ããããç§ãããã¾ã§ä½¿ç¨ãããã¨ã®ãããã¼ãã¸ã§ãã¬ã¼ã¿ãã¼ã«ãããã¤ãç´¹ä»ãã¾ããç§ã®ããã«ã¦ããã£ã¦æéãããã¦ãã¾ããªããããä»åã®è¨äºãç解ã®æå©ãã«ãªãã°å¹¸ãã§ãã ãã¼ãã¸ã§ãã¬ã¼ã¿ã¯ãã¹ããç®çã¨ããæ°ç¨®é¡ã®ãã©ãã£ãã¯ãçºçãããããã°ã©ã ã§ããããã«ãã£ã¦é«è² è·ã«ããã¦ãµã¼ããã©ã®ããã«åãã¦ãããããã®ãµã¼ãã®å¼±ç¹ã¯ã©ããªã®ãããªã©ãè¦ãã¦ãã¾ããè² è·ãã¹ããéãã¦ãµã¼ãã®éçãç¥ããã¨ã¯ããµã¼ãã®ã¬ã¸ãªã¨ã³ã·ã¼ã測å®ããæé©ãªæ¹æ³ã§ãããããããåé¡ã«å¯¾ããæºåã®æå©ãã«ããªãã¾ãã ãã¼ãã¸ã§ãã¬ã¼ã¿ãã¼ã« è² è·ãã¹ããããéã«é ã«å ¥ãã¦ããã¹
ã¯ããã« Apache Drill 1.0ããªãªã¼ã¹ããã¾ããï¼ Drill 1.0 Released Apache Drillã¯ãNoSQLåãã®SQLã¯ã¨ãªã¨ã³ã¸ã³ã§ããã¡ã¤ã«ã·ã¹ãã ä¸ã®JSON/CSV/Parquetãªã©ã®ãã¡ã¤ã«ãHiveã½ã¼ã¹ãHBaseãMongoDBãªã©ã«ç´æ¥SQLã¯ã¨ãªãæãããã¨ãåºæ¥ã¾ãã ä½ã¯ã¨ãããã触ã£ã¦ã¿ãªãã¨ã©ããªã¢ããªã®ããããã¾ãããæ©é試ãã¦ã¿ã¾ããï¼ ãã£ã¦ã¿ã 試ããç°å¢ã¯EC2(on Amazon Linux 2015.03)ã§ãã ã»ããã¢ãã Drillã®åä½ã«ã¯JDK 7ãå¿ è¦ã«ãªãã¾ãã®ã§ãã¤ã³ã¹ãã¼ã«ããã¦ãããã¨ã確èªãã¾ãã $ java -version java version "1.7.0_79" OpenJDK Runtime Environment (amzn-2.5.5.1.59.amzn1-x86_64
å°å·ãã ã¡ã¼ã«ã§éã ããã¹ã HTML é»åæ¸ç± PDF ãã¦ã³ãã¼ã ããã¹ã é»åæ¸ç± PDF ã¯ãªããããè¨äºãMyãã¼ã¸ããèªããã¨ãã§ãã¾ã HBaseç»å ´ã®èæ¯ 2æ24æ¥ããªã¼ãã³ã½ã¼ã¹ã½ããã¦ã§ã¢ï¼OSSï¼ããã¸ã§ã¯ãæ¯æ´å£ä½Apache Software Foundation (ASF) ã¯ãApache HBase 1.0ãã®ãªãªã¼ã¹ãçºè¡¨ãã¾ãããHBaseã®éçºãéå§ããã¦ããç´8å¹´ãæ°ã ã®æ©è½å¼·åã¨å®å®æ§åä¸ã®ããã®æ¹è¯ãçµã¦ãæçãã製åã¨ãã¦ä¸ã¤ã®ãã¤ã«ã¹ãã¼ã³ã«éãããã¨ãåæãããçµæã§ãã第2åã§ã¯ããã®HBaseã«ã¤ãã¦æãä¸ãã¦ããã¾ãã HBaseã¯ãASFã®ããã¸ã§ã¯ãã¨ãã¦éçºããã¦ããOSSã®NoSQLãã¼ã¿ãã¼ã¹ã§ããåããApacheããã¸ã§ã¯ãã®åæ£ãã¼ã¿å¦çåºç¤ã¨ãã¦éçºããã¦ãããApache Hadoopãä¸ã§åä½ããåæ£åã®
ããã¹ãããæå³ãèªã¿åãã¨ããã®ã¯é常ã«é£ããããã®ããã®å°ç¨ã½ããã¦ã§ã¢ãåå¨ããã»ã©ã§ããããã¦ããã¹ã解æææ³ã®ä¸ã¤ã¨ãã¦ç¥ããã¦ããã®ãåãã¡æ¸ãã§ããæ¥æ¬èªã§ããã°Chasenãããç¥ããã¦ãã¾ãã kuromoji.jsã¯ãããªåãã¡æ¸ãå¦çãJavaScriptã§è¡ã£ã¦ãã¾ããã¨ããã½ããã¦ã§ã¢ã«ãªãã¾ããKuromojiã¨ããApache財å£ã®ãªã¼ãã³ã½ã¼ã¹åãã¡æ¸ãã¨ã³ã¸ã³ãJavaScriptã«ãã¼ãã£ã³ã°ãã¦ãã¾ãã kuromoji.jsã®ä½¿ãæ¹ ãã¡ãã¯ãã¢ã§ããWebãã©ã¦ã¶ãã¼ã¹ã§åä½ãã¦ãã¾ããnodeã§ã使ãã¾ãã é©å½ãªæç« ããªã¢ã«ã¿ã¤ã ã«åãã¡æ¸ãã§ãã¾ãã kuromoji.jsã¯è¾æ¸ãã¡ã¤ã«ãAjaxã§åå¾ãã¦ãã¾ãããã®ãããµã¤ãºã¯å¤§ãããªãã¾ãããåãã¡æ¸ãã®ç²¾åº¦ã¯ã¨ã¦ãé«ããªãã¾ãããµã¼ããµã¤ãã§è¾æ¸ãç¨æãããåãã¡æ¸ãã¨ã³ã¸ã³ãç¨æãã
ã¯ããã« åç·¨ã§ã¯ MLlib ã§å®è£ ããã¦ããå調ãã£ã«ã¿ãªã³ã°ã«ã¤ãã¦ãã¢ã«ã´ãªãºã ã®é¢ãã解説ãã¦ã¿ã¾ããã ããã°çè«ç·¨ã§ãã å¾ç·¨ã¯å®è·µç·¨ã¨ã㦠Java ã³ã¼ããæ§è½è©ä¾¡å®é¨ã®çµæãè¦ã¦ããã¾ãã MLlib å調ãã£ã«ã¿ãªã³ã°ã®å®è¡ MLlib ã®å調ãã£ã«ã¿ãªã³ã° org.apache.spark.mllib.recommendation.ALS ãå©ç¨ãã Java ã®ã³ã¼ãä¾ã以ä¸ã«ç¤ºãã¾ãã import org.apache.spark.api.java.JavaRDD; import org.apache.spark.mllib.recommendation.ALS; import org.apache.spark.mllib.recommendation.MatrixFactorizationModel; import org.apache.spark.mll
NECããã¸ã¡ã³ããã¼ããã¼æ ªå¼ä¼ç¤¾ï¼ä»£è¡¨åç· å½¹å·è¡å½¹å¡ç¤¾é·ãæ¾åãèãæ¬ç¤¾ï¼ç¥å¥å·çå·å´å¸ã以ä¸NECããã¸ã¡ã³ããã¼ããã¼ï¼ã¯ãæ¬æ ¼çãªããã°ãã¼ã¿æ代ã®å°æ¥ã«åãããªã¼ãã³ã½ã¼ã¹ã®åæ£ããã»ã¹å®è¡ç°å¢ã§ããApache Sparkã®ãã¬ã¼ãã³ã°2ã³ã¼ã¹ã11æ25æ¥ããé 次éè¬ãããã¾ãã ãªã¼ãã³ã½ã¼ã¹ã®åæ£ããã»ã¹å®è¡ç°å¢ã§ããApache Sparkã¯Apache Hadoopãè£å®ãã¦ãå¾æ¥ã®ãããæåã®æ¹æ³ã«å¯¾ãããããå¦çï¼ã¹ããªã¼ã å¦çã®çµ±åã«ãã大éãã¼ã¿ã®é«éå¦çãå®ç¾ãããã¨ã§ãããã°ãã¼ã¿ã¢ããªã±ã¼ã·ã§ã³ãã¨ã³ãã¦ã¼ã¶ã¼ã®æå¾ ã«å¿ãããã¼ã¿ã®é«éãªã¤ã³ã¿ã©ã¯ãã£ãåæãå¯è½ã«ãã¾ããããã°ãã¼ã¿ã®éçã«åããNECããã¸ã¡ã³ããã¼ããã¼ã§ã¯æ©ããããã¬ã¼ãã³ã°ã³ã¼ã¹ãæä¾ãã¦ã¾ããã¾ããããä»åããªãªã¸ãã«ã³ã¼ã¹ã§ãããApache Spark æ¦è¦ãï¼1æ¥éã³
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}