<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Open Source Tech Talks on Medium]]></title>
        <description><![CDATA[Stories by Open Source Tech Talks on Medium]]></description>
        <link>https://medium.com/@ostechtalks?source=rss-4adf0732035d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*n_uesvGU6CQkXQbAPoTn9A.jpeg</url>
            <title>Stories by Open Source Tech Talks on Medium</title>
            <link>https://medium.com/@ostechtalks?source=rss-4adf0732035d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 22:36:02 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ostechtalks/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Data Warehousing Made Easy]]></title>
            <link>https://medium.com/@ostechtalks/data-warehousing-made-easy-2cf58c9782?source=rss-4adf0732035d------2</link>
            <guid isPermaLink="false">https://medium.com/p/2cf58c9782</guid>
            <dc:creator><![CDATA[Open Source Tech Talks]]></dc:creator>
            <pubDate>Tue, 27 Dec 2016 12:52:40 GMT</pubDate>
            <atom:updated>2016-12-27T18:16:12.860Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>By: Gerardo Rodríguez Díaz (IBM) - Opinions are my own</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*IXRX_t3JejdBt7ox-Eyc5w.jpeg" /></figure><p>A data warehouse project seems simple: find all disparate sources of data and consolidate them into a single source of truth. In all actuality, building a data warehouse is a complex process that could end in disaster if handled improperly. There are several obstacles in the process that need to be overcome in order to achieve success. These obstacles typically take an extensive amount of time to conquer, especially the first time they’re encountered.</p><p>One common hurdle to getting your big data project off the ground is data that is trapped in many different places. When big data remains unconsolidated or disorganized, it is impossible to use. For example, if you want to mine analytics on customer behavior, but the data for each store location is trapped in a separate database, it’s almost impossible to leverage a big data solution.</p><p>At IBM we have identified common pain points that our clients face when they start the data warehousing project journey</p><ul><li><strong>Data Quality — </strong>Data is coming from a variety of sources and all parts of organization. When a data warehouse tries to combine inconsistent data from disparate sources, it encounters errors. Poor data quality results in faulty reporting and analytics necessary for optimal decision-making.</li><li><strong>Analytics Understanding — </strong>Powerful analytics tools and reports available through integrated data will provide the organization with the ability to make precise decisions that impact the future success of their organizations. When building a data warehouse, analytics and reporting will have to be taken into design considerations. In order to do this, the business user will need to know exactly what analysis will be performed.</li><li><strong>Quality Assurance — t</strong>he end user of a data warehouse is using Big Data reporting and analytics to make the best decisions possible. This high reliance on data quality makes testing a high priority issue that will require a lot of resources to ensure the information provided is accurate.</li><li><strong>Performance &amp; Design </strong>— A data warehouse must be carefully designed to meet overall performance requirements. While the final product can be customized to fit the performance needs of the organization, the initial overall design must be carefully thought out to provide a stable foundation from which to start.</li><li><strong>User acceptance</strong> — There are many challenges to overcome to make a data warehouse that is quickly adopted by an organization. Having a comprehensive user training program can ease this hesitation but usually requires additional resources.</li><li><strong>Cost</strong> — A frequent misconception is that anyone can build data warehouse in-house to save money. As the foregoing points emphasize, there are a multitude of hidden problems in building data warehouses. Even if an organization leverage a subject matter expert to their staff, the depth and breadth of skills needed to deliver an effective result is not feasible with one or a few experienced professionals leading a team of non-BI trained technicians. The reality is that an effective do-it-yourself effort is very costly.</li></ul><p><strong>The Medicine</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*2WFIZ0BXQFOCI82QvqjZ1w.jpeg" /></figure><p>At IBM, we’re in the business of delivering value as a service through making data easy and accessible to everyone across the organization. It’s no longer just about the data. It’s about how we put data to work to create more value and competitive advantage for your organization.</p><p>By, <strong>Making data simple </strong>we simplify the provisioning and scale of the hardware and software needed to access and analyze the data. Also, <strong>enriching the experience </strong>by providing a collaborative, team approach when working on data and analytics projects. Remove silos and freely share data, methods, and models across the organization. This, will accelerate<strong> the value </strong>by providing an environment that makes it easy leverage proven and trusted data access methods and models leading to faster deployment that means faster value of their data for better decision making and smarter business decisions.</p><p>We had listen to the market and responded with a new approach to making data simple, while enriching user experience and shortening time to market, and it has a name; meet the IBM Watson Data Platform.</p><p><strong>Data warehousing made Easy. No Pain. No CAPEX. Zero headaches.</strong></p><p>Remember when you needed to wait ages to download a music file using dial up and right when it was about to finish, your mum open up the line to make a phone call and you were back to the starting line? Yes, I know how it felt many times. Thankfully broadband was made more affordable for residential use and those are stories from the distant past of Windows 98. </p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-_H7SDzslA1yNRE9OU0H1w.jpeg" /></figure><p>That’s precisely what IBM has done with data warehousing. Meet dashDB - part of IBM’s Watson Data Platform. IBM dashDB is a fast, fully managed, cloud data warehouse that uses integrated analytics to deliver answers in an instant. dashDB’s unique built-in analytics, R predictive modeling and business intelligence tools allow you to analyze data for precise insights, quicker. Massively Parallel Processing (MPP) enables even faster query speeds as well as larger scale data sets.</p><p>Through the scalable and on demand nature of cloud computing, the solution is simple to get up and running within minutes, with rapid cloud provisioning. You can start using dashDB at no charge, for up to 1 GB of data.</p><p>dashDB provides the simplicity of a data warehouse appliance, with the exibility of the cloud for any size of organization. Because no infrastructure investment is needed, dashDB empowers you with true business agility. You buy what you want, when you want, with no depreciation. You are in charge.</p><p>As a fully managed cloud service, the day-to-day back end of maintaining dashDB is handled automatically. For example, x packs and versioning are updated seamlessly in the background. IBM engineers and developers continuously build and integrate new functions and compatibility into the dashDB product to provide a fluid, fully functioning data warehouse and analytics tool.</p><p><strong>IBM BLU Acceleration</strong></p><p>IBM dashDB with BLU Acceleration offers built-in performance with in-memory technology:</p><ul><li>Advanced processing. IBM dashDB does not require the entire data set to be in-memory and, therefore, processes at lightning-fast speeds. It uses a series of patented algorithms to adeptly handle in-memory data processing.</li><li>Data prefetching. dashDB has the ability to anticipate and prefetch data just before it’s needed, and to automatically adapt and keep necessary data in or close to the CPU.</li><li>No decompression required. dashDB preserves the order of data and performs a broad range of operations — including joins and predicate evaluations — on compressed data, without the need for decompression, which drastically speeds up data processing.</li><li>Data skipping. BLU Acceleration automatically determines which data does not qualify for analysis within a particular query, enabling large chunks of irrelevant data to be skipped. IBM dashDB delivers in-memory speed without limitations, so that you no longer have to wait for the intelligent insights you need for your business.</li></ul><p><strong>Massively Parallel Processing (MPP)</strong></p><p><strong>Enable faster queries and massive data sets</strong></p><p>dashDB’s MPP builds upon the benefits of the standard dashDB service, with even more speed and scale, so you can handle much larger data sets. The MPP architecture is a networked clusters of servers working in parallel to speed up query fulfillment. In the dashDB MPP cluster, multiple servers work on the same query simultaneously, and the processing of a query at each server is further parallelized across all the processors.</p><p>With MPP, performance improvements are increased with each new server added to the network cluster. For example, if a query takes one hour in a standard architecture using a single server, it would take approximately 15 minutes with an MPP cluster utilizing just four servers. Adding one more server, for a total of five, reduces the query time to 12 minutes; six servers reduces the query time further to 10 minutes; and so on. Therefore, with dashDB MPP, scaling out is as simple as adding additional servers to your cluster.</p><p><strong>Embedded Netezza Analytics</strong></p><p>Predictive modeling algorithms are built into the dashDB database:</p><ul><li>Linear regression</li><li>Decision tree clustering</li><li>K-means clustering</li><li>Geospatial extensions that are compatible with Esri software</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_vy-bDpM6cnxKfGmvvttsg.jpeg" /></figure><p>By running analytics natively in the database where your data already resides, you and your organization can gain huge efficiencies. Rather than having to extract the data, send it somewhere else, stage it and then process it, you can apply analytics to your data in the dashDB cloud data warehouse.</p><p>Try dashDB today!!!</p><p><a href="http://www.ibm.com/analytics/us/en/technology/cloud-data-services/dashdb/#dashdb-featured-solution">http://www.ibm.com/analytics/us/en/technology/cloud-data-services/dashdb/#dashdb-featured-solution</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2cf58c9782" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Test Driving IBM Watson IoT Driver Behavior Service on Bluemix]]></title>
            <link>https://medium.com/@ostechtalks/test-driving-ibm-watson-iot-driver-behavior-service-on-bluemix-7a2948b6ed82?source=rss-4adf0732035d------2</link>
            <guid isPermaLink="false">https://medium.com/p/7a2948b6ed82</guid>
            <category><![CDATA[apache-spark]]></category>
            <category><![CDATA[big-data]]></category>
            <dc:creator><![CDATA[Open Source Tech Talks]]></dc:creator>
            <pubDate>Sat, 24 Dec 2016 06:57:20 GMT</pubDate>
            <atom:updated>2016-12-24T06:57:20.873Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>By: Suresh Matlapudi (IBM) - Opinions are my own</strong></p><p>Apache Hadoop has become an ubiquitous big data platform in enterprise world. Whereas Apache Spark established itself as a leader in fast data processing with its ease of use. But an increasing number of upcoming Analytics apps need capabilities that go beyond the usual of storing and crunching data at scale. Some of these capabilities include visual/voice recognition, natural language processing, ability to tap into unstructured data sources or consuming data and analytics from connected devices and/or sensors.</p><p>These capabilities are the building blocks for creating smart applications. IBM Watson API and IBM IOT services on Bluemix provide such core capabilities for rapid development of these applications.</p><h3>IBM Watson IoT Driver Behavior Service</h3><p>Driver behavior service lets us analyze vehicle drivers’ behavior from vehicle probe data with contextual data. Behavior such as <em>harsh acceleration and harsh braking</em>, <em>frequent braking</em>, <em>speeding</em>, <em>sharp turn</em>, and so on. Use cases for this service are smart automotive solutions and fleet management applications.</p><p>In this blog, Let’s test this service to understand how it works.</p><p>Below is the data pipeline architecture on Bluemix to get car prob data into this service for analysis.</p><p></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G6j7IFhP9-4ueJ6Trsh7qw.jpeg" /></figure><ul><li><strong>Watson IoT Platform:</strong> IBM Watson IoT Platform provides powerful application access to IoT devices and data to help you rapidly compose analytics applications. This platform provides secure communication to and from IoT devices by using MQTT and TLS</li><li><strong>IBM Message Hub:</strong> IBM Message Hub is built on Apache Kafka. Connecting Message Hub to Watson IoT platform provides scalable high-throughput message hub for downstream IoT data consuming applications.</li><li><strong>IoT Context Mapping Service:</strong> IoT Context Mapping is a service on Bluemix that enables geospatial functions, such as map matching and shortest path search for global road networks.</li></ul><p>To keep our testing simple, let’s focus on Driver Behavior and Context Mapping services. If we can get test data in files, we can build a batch pipeline to read these files, prepare them and make the required REST API calls to the above services. This way we can avoid building the entire event steaming pipeline just to explore a service.</p><h3>Test Data — Udacity Driving Data Sets (for self-driving car program)</h3><p>We need some test data! Udacity recently open sourced driving data sets to assist participants for their self-driving car challenges. More information on this can be found <a href="https://medium.com/udacity/open-sourcing-223gb-of-mountain-view-driving-data-f6b5593fbfa5#.qt41y7w4t">here</a> and datasets are available <a href="https://github.com/udacity/self-driving-car">here </a>on GitHub.</p><p>We can use dataset CH03_001 under datasets/CH3 folder. This zip file ( 14.4GB in size) includes a driving dataset (<strong><em>el_camino_north.bag</em></strong>) with 2766 seconds of Northbound drive data on El Camino road. This <strong>bag</strong> file includes a large number of image frames and log data with around 165K observations.</p><p>I haven’t worked with bag files before. But I found <em>udacity-driving-reader</em> scripts by Ross Wightman, available <a href="https://github.com/rwightman/udacity-driving-reader">here</a>. We can use these scripts to extract the interpolated log data. And then create a test data set in JSON format with least required attributes for our testing. Also by talking one observation per each second, we can reduce the size of the data.</p><p><strong>&gt;Test Data Set Format</strong></p><p><em>{<br> “timestamp”: STRING, //yyyy-MM-ddTHH:mm:ssZ<br> “heading”: DOUBLE,<br> “speed”: DOUBLE,<br> “latitude”: DOUBLE,<br> “longitude”: DOUBLE<br> }</em></p><h3>Scripts — Required Steps</h3><p>Below are the preliminary high level steps in processing the input data to get the driver behavior information.</p><p>1. Scan the input raw vehicle prob data.</p><p>2. Use <strong>Context Mapping</strong> service to map raw vehicle prob data to geospatial data. This is an optional step. But it enhances the quality of the analyzed driver behavior results.</p><ul><li><em>Get map-matched car probe data by using the mapMatching API.</em></li><li><em>Get road type data with the getLinkInformation API.</em></li></ul><p>3. Analyze the uploaded data by submitting a job request using <strong>Driving Behavior</strong> service’s <em>sendJobRequest</em> API.</p><p>4. Get the detailed driver behavior information from analyzed data by using <strong>Driving Behavior</strong> service’s <em>getAnalyzedTripSummaryList</em> and <em>getAnalyzedTripInfo</em> APIs.</p><h3>Scripts — Design</h3><p>Based on the required steps, majority of the work is to make sequence of REST API calls. We also need to deal with Json data while making these REST calls.</p><p>For coding these steps, I am going to use <strong>Apache Spark</strong> and <strong>Scala</strong> using IBM Data Science Experience, Jupyter notebook environment. This way I can quickly run these steps interactively.</p><p>Given the volume of this test data, Apache Spark may a overkill here. But it allows to parallelize steps if required, while working bigger test dataset. Also I can salvage some of this code to build a Streaming job for full scale pipeline at later point of time.</p><p>While there are many options for making HTTP calls and working with Json data in scala, I will be using <strong>scalaj-http</strong> for and <strong>play json library</strong> based on my prior experiance with them.</p><h3>Scripts — Code</h3><p>Below are the important snippets from testing code I have created. A full version this Jupyter notebook and along with input test dataset is available <a href="https://github.com/smatlapudi/testdrive-bluemix-driverbehavior-service/tree/master/udacity-ch3-north">here</a> on GitHub</p><p><strong><em>&gt;Initialization</em></strong><em>:</em> add required jars and imports</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bo8knHF39DvoeaKWkqwrow.jpeg" /></figure><p><strong><em>&gt;Read and Prepare input dataset:</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6YR2WbzyiMCl-8qWve7Lcw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ICBHVSqx3ug4C2mJC4ultg.jpeg" /></figure><p><em>Note that I am dealing Json using Play Json library here. The Other option is to use Spark’s dataframe API. Using Spark dataframe API here can simplify the code where we need to parse Json. But it may add additional steps as we need to join REST call results back to input records.</em></p><p><strong><em>&gt;Context Mapping Service calls:</em></strong></p><p><em>Set required properties for Context Mapping Service calls to be executed in Spark executors.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5bIPGzoCQFyphzG6gisT8A.jpeg" /></figure><p><em>Required case classes and utility function for making match API calls for each input record.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Gv-s-0Zi8kRS63YEh2oXmg.jpeg" /></figure><p><em>Make mapMatching Service calls here and get the matched geospatial information.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4-nC-XUVb1DdMhQ1eQmDoA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a8YHSBo8jr3h-2HJHJ-vRA.jpeg" /></figure><p><em>At this point we have all the attributes except </em><strong><em>road_type</em></strong><em> to send vehicle prob data to </em><strong><em>Driver Behavior</em></strong><em> Service. We can get this from map service link API call by using</em><strong><em> link_id </em></strong><em>returned from previous service call.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lTAXVstb7fkGcOSIS5rsJg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*05BZ8FJL9KQOGpkudo14kQ.jpeg" /></figure><p><em>Prepare Vehicle prob data to send to </em><strong><em>Driver Behavior</em></strong><em> Service. Default to raw input value if matching value is not available.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J7s5Dnzi7Vq9GAoj3pH69w.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HMcmGEAlFf4r5nGHQ410NA.jpeg" /></figure><p><strong><em>&gt;</em>Upload the prepared data to Driving Behavior Service:</strong></p><p><em>Set required properties for Context Mapping Service calls to be executed in Spark executors.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sMTm07qy9ov4h4x98XTBWQ.jpeg" /></figure><p><em>Send the data by making carprob datastore Service calls.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rmTNUZqJCncoNllnBVM1SQ.jpeg" /></figure><p><strong><em>&gt;</em> Analyze the uploaded Data</strong></p><p><em>Create a job to Analyze the uploaded data.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3eKASw3h4Wltml7r4RGOwg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JjP3ILVdtJjk1Q0_WQNV2A.jpeg" /></figure><p><em>Check the job completion status.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hvOlbtiXQNsMZVqJBFSnHQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qy6NEtSwMDSFrR6fYC8seA.jpeg" /></figure><p><strong><em>&gt; </em>Finally get Driving Behavior Data Results:</strong></p><p><em>Notice that in above job request, we are just sending the start and end dates. This means the results may include data from multiple trips. So first query the list of trips based on the job id and then get the system generated </em><strong><em>trip_uuid</em></strong><em> for our trip from the results. Use this </em><strong><em>trip_uuid</em></strong><em> to get the Driver Behavior Result Data for our trip.</em></p><p><em>Get Trip Summary List</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wgUI-NWPsB6611C241ukFA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hRdbm0N97pRw6Vy3SLm8bg.jpeg" /></figure><p><em>Get Driver Behavior Result Data</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ACRoN6kKgr95S9BsInyLAg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xWijCz_vzSXZVEcJAhZh6g.jpeg" /></figure><p><em>Note that above result data is a long JSON text and truncated in the above image. Full result data can be found </em><a href="https://github.com/smatlapudi/testdrive-bluemix-driverbehavior-service/tree/master/udacity-ch3-north/result"><em>here</em></a><em> on the GitHub.</em></p><h3>Results</h3><p>In case you are wondering on how to use the result data, documentation on the output JSON model can be found <a href="https://developer.ibm.com/api/view/id-261:title-IBM_Watson_IoT_Driver_Behavior#undefined">here</a> under “Get analyzed trip information” section.</p><p>Result include a set of Driver Behavior data for each part of the trip (or sub trip) which include behavior name along with context information. Use this information in your preferred analytics software to process further into more meaningful business data.</p><p>Possible values for behavior name are<em> Harsh acceleration, Harsh braking, Speeding, Frequent stops, Frequent acceleration, Frequent braking, Sharp turn, Acceleration before a turn, Over-braking before exiting a turn, Fatigued driving </em>with context information like<em> road type, traffic hours and conditions.</em></p><h3>Results from my test</h3><p>The test data set used for this is for a simple 15 miles trip for about 46 minutes, almost in a straight line.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VdUQrN46wkOpq9n256st1g.jpeg" /></figure><p>Only driver behavior observed from this test results is “Frequent stops” on urban road during evening peak hours with severe congestion speed pattern.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7a2948b6ed82" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Selecting the Right SQL Engine on Hadoop]]></title>
            <link>https://medium.com/@ostechtalks/selecting-the-right-sql-engine-50ebf1bcf140?source=rss-4adf0732035d------2</link>
            <guid isPermaLink="false">https://medium.com/p/50ebf1bcf140</guid>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[big-data]]></category>
            <dc:creator><![CDATA[Open Source Tech Talks]]></dc:creator>
            <pubDate>Mon, 19 Dec 2016 23:20:37 GMT</pubDate>
            <atom:updated>2016-12-27T15:29:31.494Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>By: Thomas Liakos (IBM) - Opinions are my own</strong></p><p>Trying to select the right SQL Engine for Hadoop is very important. Evaluating the differences in technologies can be the most important decision for engineers to streamline operations in a production environment.</p><p>Many different engines are available (to date <a href="https://www.xplenty.com/blog/2014/04/12-sql-on-hadoop-tools/">12</a>*), which makes it rather difficult for a organization to choose.</p><p>Here are some of the attributes an organization may want to look into when selecting the right SQL-on-Hadoop technology.</p><p><strong>1. Documentation for Performance tuning and installation</strong></p><p><strong>2. Joins</strong></p><ul><li>Joins and big tables are NOT FAST — nor are they easy on your systems — e.g. CPU and Memory usage — especially when it needs to find (index) all of that data. This will cause very poor I/O performance!</li></ul><p><strong>3. Data Formats/Types</strong></p><ul><li>Traditional: Structured, Semi-Structured, and Unstructured data. SQL was designed for Structured. Not all data in Hadoop will have structured attributes [Some [most cases] nested, schema-less data], so when dealing with this, the SQL Engine you choose will need to translate data into relational data, in concert with optimizing queries on these forms of data.</li></ul><p><strong>4. ANSI SQL Support</strong></p><ul><li>ANSI SQL Engine support; keeping standards is important.</li><li>Simplifies query processing when using SQL than overloading the applications and/or reporting tools that access your data in Hadoop.</li><li>Being able to use ANALYZE when you’re populating data to a new table, or significant changes to an existing table. Having this support makes a huge difference amongst traditional analysis on your data warehouse. (Note: Columns which are referenced by predicates, aggregation functions, and used in informational constraints need to have statistics gathered.)</li></ul><p><strong>5. Storage Format(s)</strong></p><ul><li>You will want storage format agnosticism when using a SQL engine on Hadoop.</li><li>The more formats == the more capabilities your environment will have with less of a data footprint. For instance, Minimizing replicated data in your cluster.</li></ul><p><strong>6. Concurrent Workloads</strong></p><ul><li>Workload Management: (WLM)</li><li>Query Priority: Processing/differentiating between a long running query (less priority) over concurrent “Simple” queries.</li><li><strong>IBM’s Workload Manager: </strong><a href="https://developer.ibm.com/hadoop/2016/11/16/top-6-big-sql-v4-2-performance-tips/">https://developer.ibm.com/hadoop/2016/11/16/top-6-big-sql-v4-2-performance-tips/</a> DB2 WLM under the hood of Big SQL: <a href="http://www.ibm.com/support/knowledgecenter/SSEPGG_11.1.0/com.ibm.db2.luw.admin.wlm.doc/com.ibm.db2.luw.admin.wlm.doc-gentopic1.html">http://www.ibm.com/support/knowledgecenter/SSEPGG_11.1.0/com.ibm.db2.luw.admin.wlm.doc/com.ibm.db2.luw.admin.wlm.doc-gentopic1.html</a></li><li>Partitioning data</li></ul><p><strong>7. User-Defined Functions</strong></p><ul><li>SQL Support and development for analytical functions, also known as UDFs.</li><li>Providing distributed workloads across multiple systems to conduct UDFs.</li></ul><p><strong>8. Federation</strong></p><ul><li>Interoperability with RDBMS. For instance, distributed Joins, views on relational/non-relational data.</li></ul><p>With some of these attributes, a systems engineer and data engineer will be able to start analyzing the right SQL Engine on Hadoop for your infrastructure. In the interim give this great informational piece of Timeseries Analytics on Hadoop with Big SQL. This gives a clear understanding of how powerful Big SQL’s optimizer works!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FgYCO3GA5P-I%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DgYCO3GA5P-I&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FgYCO3GA5P-I%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/26bcec7b27074e4e0cf595159c9cf283/href">https://medium.com/media/26bcec7b27074e4e0cf595159c9cf283/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50ebf1bcf140" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[‘Another Brick out of the Wall’ - Utility Adoption of Cloud Services]]></title>
            <link>https://medium.com/@ostechtalks/another-brick-out-of-the-wall-utility-adoption-of-cloud-services-39997ea5c765?source=rss-4adf0732035d------2</link>
            <guid isPermaLink="false">https://medium.com/p/39997ea5c765</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[saas]]></category>
            <dc:creator><![CDATA[Open Source Tech Talks]]></dc:creator>
            <pubDate>Tue, 13 Dec 2016 14:48:57 GMT</pubDate>
            <atom:updated>2016-12-13T14:48:57.038Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>By: Tony Bamonti (IBM) - Opinions are my own</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*IKlSaoDiXUXvvB5I_wv9pA.jpeg" /></figure><p><em>1995: The US </em><a href="https://www.nsf.gov/">National Science Foundation </a><em>lifts its former strict prohibition of commercial enterprise on the Internet. (1)</em></p><p>A seminal moment in electronic commerce and the proliferation of on-line products and services. However, most of us recall a strong reluctance and suspicion of performing on-line financial transactions in those early days. It took a decade plus for the infrastructure, critical mass of services and security maturity to reach a point of mass adoption. Now e-commerce transactions far outnumber traditional brick and mortar transactions across the world. The convenience, breadth of products and services and overall economies of value are generally unquestioned and most of us can’t imagine not having them at our fingertips.</p><p>Core to this evolution has been the proliferation of public/private Cloud Software and Services which are increasingly becoming the procurement and deployment methods of choice across most major industries. Worldwide revenues from public cloud services are forecasted to reach more than $195 billion by 2020 (65%+ from the U.S. alone). This will be more than double the $96.5 billion in revenues forecast for 2016 and represents a compound annual growth rate (CAGR) of 20.4% over the 2015–2020 forecast period (2). “Cloud software will significantly outpace traditional software product delivery over the next five years, growing nearly three times faster than the software market as a whole and becoming the significant growth driver to all functional software markets,” ; <a href="http://www.idc.com/getdoc.jsp?containerId=PRF004228">Benjamin McGrath</a>, senior IDC research analyst, SaaS and Business Models (2).</p><p>Key benefits cited for Cloud-based software and services include:</p><p>o IDC survey results indicate total cost (of ownership) as the single most important consideration for choosing a cloud service (2).</p><p>o Cloud computing reduces the time and costs of deploying new networking services to support changing business requirements and deliver new services faster.</p><p>o Speed and visibility to responsively collaborate, capture knowledge, and manage rules within their business.</p><p>o Improved ability to cope with challenges such as spiraling costs, changing regulatory environments, and increasingly complex intermodal networks.</p><p>o More direct control for line of business units to deploy new business optimizing solutions.</p><p>“Cloud computing is breaking down traditional technology barriers as line of business leaders and their IT organizations rely on cloud to flexibly deliver IT resources at the lower cost and faster speed that businesses require. Organizations across all industries are now free to adapt to market changes quicker and take more risks, as they are no longer bound by legacy IT constraints,”; <a href="http://www.idc.com/getdoc.jsp?containerId=PRF003925">Eileen Smith</a>, program director, <a href="http://www.idc.com/analysts/viewteamprofile.jsp?containerId=TEA004108">Customer Insights and Analysis</a> IDC (2).</p><p>The Utilities industry has been at the tail end of cloud services adoption and generally lags behind most major industries in leveraging the value that cloud solutions can provide. Primary barriers cited as preventing broad Utility adoption include:</p><p>- Financing/Accounting (Regulatory and rate case restrictions on capitalization of cloud services)</p><p>- Security (Sensitive data residing in the cloud)</p><p>- Control (IT control of data and application resources)</p><p>With Utilities facing unprecedented changes and disruptions to the industry and their core business models, they need to be scrutinizing every opportunity to improve business agility and operations efficiency. “The utilities industry can no longer afford to deny the advantages of ‘going into the cloud.’ As security concerns are further debunked, utilities expect to see a significant push in their cloud strategy maturity in the next 24 months, so much so that they expect to make up lost ground and even supersede other industries,”; <a href="http://www.idc.com/getdoc.jsp?containerId=PRF003352">Gaia Gallotti</a>, research manager, IDC Energy Insights (3).</p><p><strong>Breaking Down Barriers</strong></p><p><em>2016: The </em><a href="https://www.naruc.org/">National Association of Regulatory Utility Commissioners</a><em> issues a 2016 Final Resolution under Critical Infrastructure: “That NARUC encourages State regulators to consider whether cloud computing and on-premise solutions should receive similar regulatory accounting treatment, in that both would be eligible to earn a rate of return and would be paid for out of a utility’s capital budget.”</em></p><p>On November 16, 2016, the “Final Resolutions Adopted by the NARUC Committee of the Whole” was released by the National Association of Regulatory Utility Commissioners (<a href="http://pubs.naruc.org/pub/4FDD6D6B-F303-DE7B-5B46-7B25C04E6317">http://pubs.naruc.org/pub/4FDD6D6B-F303-DE7B-5B46-7B25C04E6317</a>). Included in these resolutions and representing the first time a major resolution on cloud services has been issued by NARUC was a recommendation to state regulators to strongly consider similar accounting treatment of cloud software and services as on-premise solutions. This development opens a path to remove one of the major barriers to Utility cloud services adoption in allowing capitalization and rate-of-return. In this Resolution, NARUC acknowledges:</p><p><em>“The disparity in accounting treatments between these two software approaches creates a regulatory incentive for utilities to invest in on-premise software solutions and creates unintended financial hurdles that hinder utilities from realizing the benefits that so many other industries are experiencing with cloud-based software; and…</em></p><p><em>Utilities should be free to make software investments based on which option best meets both the needs of the utility and its customers, rather than how the investment will be treated for accounting purposes;”</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/250/1*Ygqt26FHIUgcMwdhU1OziQ.jpeg" /></figure><p><strong>What’s next?</strong></p><p>While the NARUC resolution does not mandate State PUC’s to allow similar regulatory accounting treatment between cloud and premise-based services, it does provide the basis for making a strong argument for regulators across the United States to approve cloud based services in Utility rate cases. The accounting treatment should no longer be a barrier to Utility adoption of cloud services and Utilities should be able to build their business cases for using cloud services based on cost, performance, customer benefits and other related bases. Moving forward:</p><p>o Utilities should be emboldened to include more cloud service solutions/options in their rate cases.</p><p>o Cloud solution providers need to help their Utility customers in building the business cases that consider and/or prefer cloud services.</p><p>o State regulators need to be open to recognizing the value of cloud services and providing equal treatment and consideration as premise based solutions.</p><p>There are still other issues to address (i.e. security), but the time has come to remove one of the major barriers and begin having more substantive discussions beyond financing to enable Utilities to embrace and benefit from the Cloud.</p><p>(1) Wikipedia — (e-commerce)</p><p>(2) <em>“IDC 2016 Vertical IT and Communications Survey: 3rd Platform Adoption by Industry”</em></p><p>(3) IDC: <a href="http://www.idc.com/getdoc.jsp?containerId=EISC04X">Business Strategy: Taking Cloud in Utilities to the Next Level</a> May 2015</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=39997ea5c765" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Apache Spark Internals — Part 1, don’t get carried away with ease of use]]></title>
            <link>https://medium.com/@ostechtalks/apache-spark-internals-part-1-dont-get-carried-away-with-ease-of-use-aceacca63ed9?source=rss-4adf0732035d------2</link>
            <guid isPermaLink="false">https://medium.com/p/aceacca63ed9</guid>
            <category><![CDATA[hadoop]]></category>
            <category><![CDATA[big-data]]></category>
            <dc:creator><![CDATA[Open Source Tech Talks]]></dc:creator>
            <pubDate>Wed, 07 Dec 2016 18:10:41 GMT</pubDate>
            <atom:updated>2016-12-07T18:10:42.945Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>By: Suresh Matlapudi (IBM) - Opinions are my own</strong></p><p>There are many reasons for Apache Spark to rapidly gain a huge mind share success in the Analytics world. One reason stands out, it’s ease of use with well-designed high level APIs. Spark shines in this area compared to other parallel data processing frameworks that I have worked or studied with.</p><p>The down side of this is, it is easy to get our work done without a need to know the internals or to understand the architecture of this well-designed framework. Apache spark is increasing its market share rapidly and many predict that it will become the de-facto data processing framework for Big Data and Analytics.</p><p>If you are using Apache Spark or plan to use Spark, it’s worth your time to learn the internals for optimal usage. Also, it is fun to actually understand a good designed system instead of just using it.</p><p>While everyone has their own way for studying software systems, I want to share my way of doing it, that is to run various tests to gain more understanding of its internals. Not all concepts can be tested. But the thinking process involved in how to test a concept or component improves our understanding of it.</p><h3>Background on my experience while starting with Spark</h3><p>My Big Data journey started with Apache Hadoop before Apache Spark gained popularity. After initial experimentation with Java map-reduce API, I quickly settled with Apache Pig for data processing, Hive for querying and Flume/Sqoop for data ingestion as my technical stack for building data pipelines.</p><p>Meanwhile, Apache Spark was gaining lot of mind share (and market share) and becoming part of various Hadoop distributions. During that time, I visited Apache Spark’s website to understand the following two images (below), I nodded my head (with appreciation) and told myself to start evaluating spark for my next projects.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/934/1*UX3vXHg65RPXgVJByqq_mw.jpeg" /></figure><p>It continued until I had to implement a project which involved high volume streaming data ingestion and processing. So, I evaluated the available options for steaming platforms for Big Data, at that time, I decided to use Spark Streaming mainly due to its generality and opportunity to use a single framework for different workload types.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/419/1*nAivsJ8fQp_aCJ9f9dT3VQ.jpeg" /></figure><p>This project was like riding a motorcycle before learning how to ride a bicycle. That is using - spark streaming API without much knowledge on Spark core APIs and internals. By using Spark’s good documentation (API), with help from many articles from the ASF community, within a short time, I could have it ready for its release. But the implementation and optimization took a long time for obvious reasons. For me, it is a testament to Spark API’s ease of use.</p><p>After this project, I decided to dig deep into Spark’s architecture and learn its internals. To overcome my weakness and focus on theory via documentation/books, I primarily ran run small tests on what I read and confirmed my understanding.</p><p>I wanted to share the test results which focused on gaining in-depth understanding of Spark internals. In this part of the blog I will focus on a test environment setup and running a couple of basic tests.</p><p>· It will help to have some basic understanding of Hadoop as I am using YARN as cluster manager and HDFS for storage for advanced tests.</p><p>· I will be using Spark Scala API for advanced examples. Some foundational understanding of Scala will help as the code samples are used in subsequent parts of this blog.</p><h3>Test Environment</h3><p>While Apache Spark can run without Hadoop, given the ubiquity of Hadoop in existing Analytics environments, it is common to use Spark along with Hadoop. I will include examples mostly using Spark on Hadoop.</p><p>If you don’t have an existing Hadoop cluster with Spark installed, you can sign up on IBM Bluemix and spin up BigInsights for Apache Hadoop with Apache Spark within a few minutes. Follow instructions from below video.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Ft1Nuy_zrL7U%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dt1Nuy_zrL7U&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Ft1Nuy_zrL7U%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/5480ca5e14cf8d1a6ea08bad49a6161f/href">https://medium.com/media/5480ca5e14cf8d1a6ea08bad49a6161f/href</a></iframe><p>Make sure to select Apache Spark in the components while creating BigInsights cluster with 4 data nodes. Also, let’s take look at my test cluster in below video.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FXC6hE3mlUmg%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DXC6hE3mlUmg&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FXC6hE3mlUmg%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/6de5a6ea535039994c47409fd646bb64/href">https://medium.com/media/6de5a6ea535039994c47409fd646bb64/href</a></iframe><h3>Spark Version</h3><p>I am using spark version 1.6.1 for executing my tests. So, I will be referring to spark documentation link for this version. I have yet to dig deep into current version (2.0.1) of Spark to gather information on the new changes. But most of the points should be relevant with new versions as well.</p><h3>High Level Architecture</h3><p>It is important to get a mental picture of high level architecture of the system to begin with. Take a good look at this below diagram from spark documentation and read high level overview of spark architecture in cluster mode (executing on Hadoop using YARN as cluster manager in our case) from spark documentation at <a href="http://spark.apache.org/docs/1.6.1/cluster-overview.html">http://spark.apache.org/docs/1.6.1/cluster-overview.html</a>. Make sure to give special attention to <strong>Glossary</strong> section to get familiar with various components/terms involved in the architecture.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/596/1*tIMoPPFmmxGkKZPVR_e3fw.jpeg" /></figure><p>Each Spark application runs as independent sets of processes called executors and they are orchestrated by a single process called a driver program.</p><h3>Test #1 — Spark Application, Driver Program and Executors</h3><p>One important point from Spark documentation is, each spark application should have its own instance of driver process and set of executors. In fact, no processes (containers in the context of Hadoop cluster) or services should be running if there are no spark applications executing within that cluster.</p><p>Let’s validate these simple concepts by running Spark applications. Below is the video for these tests executed on my test cluster.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FK4VUkf42J-s%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DK4VUkf42J-s&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FK4VUkf42J-s%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/11d5aaf75ea21c161864cd33f0af12ef/href">https://medium.com/media/11d5aaf75ea21c161864cd33f0af12ef/href</a></iframe><h3>Test #2 — Spark Application Size</h3><p>Considering that data processing happens on the executor’s side, it is obvious that the number of executors determines size of the Spark application. At this point we should ask “who decides on the number of executors” for the application. You may recall from <strong>test #1</strong> that we can pass a number of executors while starting the applications. Let’s take a close look at Spark documentation on Submitting Applications at <a href="http://spark.apache.org/docs/1.6.1/submitting-applications.html">http://spark.apache.org/docs/1.6.1/submitting-applications.html</a>.</p><p>In addition to number of executors (with — num-executors flag or spark.executor.instances parameter), the size of each executors (memory and number of cores) determines the overall capacity of a Spark application. There are multiple ways to configure the size of spark executors. While default values can be set in Spark configuration files (spark-env.sh or sprak-defaults.conf), most common way is to set this while submitting the application by passing executor-memory flag or spark.executor.memory parameter for memory and executor-cores flag (or spark.executor.cores parameter) or total-executor-cores flag for number of cores. Also on Hadoop cluster, YARN container size limitations (min/max values) need to be considered while deciding on executor resources.</p><p>Let’s run few tests to validate these concepts.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F43P5jis1-E0%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D43P5jis1-E0&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F43P5jis1-E0%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/e0701fccafca2b96557d38c555445559/href">https://medium.com/media/e0701fccafca2b96557d38c555445559/href</a></iframe><p>While setting the number of executors during job submission gives you control on application size, it may not be sufficient in all scenarios. For example, if you have to schedule a job with variable workloads between the runs, configuring the job for max work load is going to waste cluster resources during low workloads, and vice versa. Spark’s Dynamic Resource Allocation can help us with this issue by providing an ability to adapt to workload changes. Dynamic Resource allocation scales the number of executors registered with an application up and down based on the workload</p><p>Testing Spark’s Dynamic Resource Allocation needs some preparation as we need to setup an external shuffle service in the cluster. I plan to continue this testing along with other advanced concepts such as; Spark Jobs, Stages, Tasks, Job scheduling, RDDs and Memory Management.</p><h3>Stay tuned for next part of this article and please let us know your feedback.</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aceacca63ed9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[IBM Watson Data Platform]]></title>
            <link>https://medium.com/@ostechtalks/ibm-watson-data-platform-27c352b76f0b?source=rss-4adf0732035d------2</link>
            <guid isPermaLink="false">https://medium.com/p/27c352b76f0b</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[big-data]]></category>
            <dc:creator><![CDATA[Open Source Tech Talks]]></dc:creator>
            <pubDate>Mon, 28 Nov 2016 01:09:27 GMT</pubDate>
            <atom:updated>2016-11-28T01:16:49.941Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>By: Gerardo Rodríguez Díaz (IBM) - Opinions are my own.</strong></p><p>In the aftermath of US presidential elections, rivers of ink have been written about whether or not data science proved itself to be an underdeveloped discipline for predicting human behavior. Whether you voted for or against the now President-elect, the election results came as a surprise to many people. Why? Most of the polls failed to predict the outcome of the election. But why did these forecasts fail? Probably due a combination of polling, analysis and interpretation shortcomings.</p><p>One thing that was made clear to everyone after November 4, 2016 is that Data matters and its quality is essential to increase the level of accuracy of existing analytics technology.</p><p>Politics aside, the world has become obsessed with data, the value of it and the potential to mine it for cost-saving and profit-making <strong><em>insights</em>.</strong> Data is the driving force behind everything from the ads that people see online to billion-dollar acquisition deals. Therefore, any organization with the ability to accurately analyze and interpret data and make sense out of meaningful insights are the ones that will have the much-needed market edge to become leaders, or even survive in this new data-driven reality. At IBM Analytics, we have been doing precisely that, helping clients find that market edge that makes them unique and successful.</p><p>At IBM Analytics, our <em>motto</em> is to <strong><em>make data simple and accessible to everyone</em></strong>. We have undergone a soul-searching process and identified the main challenges our clients were having when implementing analytics strategies into their organizations. Our response is called <em>Watson Data Platform</em>.</p><h3><strong>What is Watson Data Platform?</strong></h3><p>IBM Watson Data Platform is the first cloud-based data and analytics platform to support cognitive business. It enables access, collaboration and a path to insight by:</p><ul><li>Connecting all users through trusted access to a variety of data</li><li>Discovering new possibilities and opportunities with built-in intelligence, automation and machine learning</li><li>Accelerating outcomes with rapid deployment of new data models and fast embedding of insights into processes, applications and services</li></ul><p>The heart of the new Watson Data Platform is a set of composable, integrated cloud services. Users can capitalize on multiple purpose-built data stores — from relational databases and document stores to stores for graph and Hadoop environments. They can access complete integration and governance services for transforming, cleansing and protecting data. And they can take advantage of advanced capabilities such as natural language-based discovery, machine learning and cognitive analytics services.</p><h3>Open Collaboration</h3><p>The analytics lifecycle involves multiple steps ranging from input, analysis, to output. Increasingly, businesses are training the professionals that perform these tasks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RJkAfuZqGfl-vSb-UoNSLw.jpeg" /></figure><p>Many of the roles involved are an overlap in steps. Collaboration amongst all of these professionals is key. IBM Watson Data Platform is built to facilitate rapid collaboration with these comprehensive sets of data and analytics services in mind. The platform provides one <strong><em>collaborative</em> </strong>environment for multiple roles. Within that environment, experiences are designed for specific user roles that include task-specific elements to further streamline connections and data discovery.</p><p>The platform enables access to data in any location on cloud or on-premises. It automates the intelligent deployment of data products on IBM® Cloud using machine learning and the <strong><em>open source</em></strong> Apache Spark big data processing framework.</p><h3><strong>Data is the fuel… IBM Watson Data Platform is the engine</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tX9XH3hqwdLDQxXYgpHZig.jpeg" /></figure><p>IBM Watson Data Platform has the ability to iterate rapidly. Data is never static and businesses must continually iterate their data models and products — often manually — to gain the most relevant, up-to-date insights. With Watson Data Platform, businesses have access to a collection of cloud-based data services and analytics tools to leverage the power of data-driven insights and <strong><em>rapidly iterate data projects and products</em></strong> in fully automated and <strong><em>governed</em> </strong>ways</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e_HofQm0Eb4kT92Iy5Sa5w.jpeg" /></figure><p>One of the core principles of IBM Watson Data Platform is that it is open. It is built on Open Standards with well-respected organizations including Apache, ODPi, and now NUMFocus, built with Open Communities including Apache Hadoop, R &amp; Python, Spark and many more.</p><p>Providing a rich ecosystem gives your clients more choice and flexibility. These partners complement our portfolio by creating additional functionality. All of these partners demonstrate competency in the Apache Spark processing analytics framework using Watson Data Platform.</p><p>IBM Watson Data Platform is the next generation of analytics. We’re taking analytics to the cloud while leveraging IBM unique cognitive computing capabilities in a self-managed, secure, governed and easy way that is accessible to everyone across the organization!</p><p>Stay tuned for more exciting additions to the offerings from IBM Watson Data Platform.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=27c352b76f0b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Making Big Data Science “Easy” - Hadoop & Spark & IBM]]></title>
            <link>https://medium.com/@ostechtalks/making-big-data-science-easy-hadoop-spark-ibm-b902e57fb1e3?source=rss-4adf0732035d------2</link>
            <guid isPermaLink="false">https://medium.com/p/b902e57fb1e3</guid>
            <category><![CDATA[hadoop]]></category>
            <category><![CDATA[big-data]]></category>
            <dc:creator><![CDATA[Open Source Tech Talks]]></dc:creator>
            <pubDate>Fri, 18 Nov 2016 19:30:26 GMT</pubDate>
            <atom:updated>2016-11-18T19:52:42.200Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>By: Michael Harkins (IBM) - Opinion are my own.</strong></p><p>Hadoop and Spark are allowing Data Scientists to analyze Big Data by applying processing frameworks to ever expanding sets of data. The task of the data scientist is manifold.</p><p>Working with Line of Business (LoB) teams, including business analysts, the data scientist(s) formulate an approach to the “business problem.” This could be taking large quantities of data and classifying for specific use (sorting by category — articles as sports, business, science, politics, etc. as for an online news feed), or analyzing historical data to recommend products or services, or predicting outcomes or “next best actions.”</p><p><a href="http://www.ibmbigdatahub.com/blog/why-we-need-methodology-data-science">http://www.ibmbigdatahub.com/blog/why-we-need-methodology-data-science</a></p><p><a href="http://www.slideshare.net/JohnBRollinsPhD/foundational-methodology-for-data-science">http://www.slideshare.net/JohnBRollinsPhD/foundational-methodology-for-data-science</a></p><p><a href="https://bigdatauniversity.com/courses/data-science-methodology-2/">https://bigdatauniversity.com/courses/data-science-methodology-2/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*C1H-p-u71_cLBfZRKOYi8A.jpeg" /></figure><p>This blog will discuss how Hadoop and Spark are used in sections:</p><p>2 — Gather Data</p><p>3 — “Analyzing Data” of the Data Science Method, as outlined by IBM.</p><p>Beginning in the late 90s, grid computing started to be used as an approach to process large amounts of data in parallel. After the publication of two seminal articles, Apache Hadoop’s MapReduce and HDFS components were derived respectively from Google’s MapReduce and Google File System (GFS) papers. Hadoop, comprised of MapReduce and HDFS, the first “killer app” for grid, was created in 2005. These two frameworks, working together, provided the storage and compute layers for Big Data processing. The Hadoop ecosystem grew over the next decade to encompass additional frameworks for capturing and organizing data, performing data discovery, and analyzing/modeling data.</p><p><a href="https://opensource.com/life/14/8/intro-apache-hadoop-big-data">https://opensource.com/life/14/8/intro-apache-hadoop-big-data</a></p><h3><strong>Gather the Data</strong></h3><p><strong>Data Requirements</strong></p><p>Identifying the location of data needed to solve the “business problem” is a joint effort of data scientists, LoB personnel, business analysts, and data engineers. Once the various forms of data are identified, movement into a central data store (HDFS) is planned.</p><p><strong>Data Collection</strong></p><p>Data is gathered and placed in HDFS, the Hadoop Distributed File System. Data can reside in RDBMS systems, already very structured — aligned and labeled in rows and columns with specific data types, or unstructured in log files or documents. Moving this data into HDFS is done using “ingest” tools and frameworks, such as Sqoop, Flume, and HDFS copy routines.</p><p><strong>Data Understanding</strong></p><p>Once in HDFS, the MapReduce algorithm can be used to manipulate the data to “discover” whether the data provided can be used to answer the business problem, and also to inspect the quality of the data — is anything missing, are values consistent, is the data “clean.” Pig and Hive can be used in this step — more on this below.</p><p><strong>Data Preparation</strong></p><p>The data is then formatted to be of use to modeling techniques in subsequent steps.</p><h3><strong>Analyzing Data</strong></h3><p><strong>Modeling Data</strong></p><p>Machine learning and graph processing techniques can be applied to the data using Mahout and Giraph, respectively. Hadoop’s MapReduce framework is used to implement Mahout and Giraph. Mahout is a set of libraries for determining recommendations, classification and clustering (predicting what product to buy, sorting, and grouping). Giraph is used to process graphs, the obvious use case is social networking — I’m friends with you, your friends with Mary, maybe I should be friends with Mary. But a more interesting set of graphs can be created from a business process, or the flow in a web page, to determine the fastest path to quicker or better outcomes.</p><p><strong>Evaluation</strong></p><p>Determining if the results solve the business problem. The output of the modeling needs to demonstrate consistent resolution to the problem. Usually, tables and graphs are used to indicate success, typically with Hive.</p><p>Let’s take a step back and review.</p><h3><strong>Big Data Science with Hadoop</strong></h3><p><strong>Collecting Data</strong></p><p>Gathering data from data bases and log files can be accomplished with Sqoop and Flume.</p><p><strong>SQOOP</strong></p><p>Sqoop (SQL to Hadoop) is used to import data from existing RDBMS systems and export results. Sqoop used MapReduce to move data.</p><p>Tables and whole data bases (sets of tables) can be moved into Hadoop’s file system (HDFS). Not just the existing data base, but the entire history of data that may have been archived, allowing for analysis over long periods of time. Multiple data bases can be collocated into HDFS, providing a 360 degree view of all data from all RDBMS systems.</p><p>This can be across an entire Lob, or the entire Enterprise.</p><p><strong>FLUME</strong></p><p>Flume is used to capture system and application logs, in addition to other sources.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/1*HuFdjzd_OAn_iK2JtPMpbg.jpeg" /></figure><p>Logs from operating systems, network devices, security systems, applications, and other sources can be collected into HDFS. Imagine an application spanning dozens or even hundreds of servers collected into a single data store. A single LoB may consist of dozens of applications. Having all that data in a single repository can provide a unique view of the data.</p><p><strong>Understanding Data</strong></p><p><strong>HIVE</strong></p><p>Hive was developed to act as a data warehouse. Writing MapReduce jobs in Java to manipulate tabular data was a laborious effort. Business analysts, familiar with SQL, were the target audience for Hive, which uses a subset of standard SQL to perform most core SQL functions: query, join, etc. against data in HDFS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/535/1*VFnZTvRBmLspwSRRd_Z2qg.jpeg" /></figure><p><strong>Preparing Data</strong></p><p><strong>PIG</strong></p><p>Pig uses a scripting language to parse data and reformat for use by Hive. ETL workers, familiar with scripting languages, such as perl and python, can easily pick up Pig Latin (yes..) and transform logs into tables. Pig can be used to improve data quality, and transform/enhance data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/340/1*xJrlFuqIbpx46xSVYK53sQ.jpeg" /></figure><p>Using Hive and Pig, data scientists can get a good understanding of the data, and prepare it for modeling.</p><p><strong>Modeling Data</strong></p><p><strong>Mahout</strong></p><p>Mahout is a library containing algorithms that can be incorporated into MapReduce jobs to perform machine learning data stored in HDFS. Data scientists can create recommendation engines, generate predictions, classify and group data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zlm-nWJgNEZ8goh4YVBZ1A.jpeg" /></figure><p><strong>Giraph</strong></p><p>Giraph is a library containing algorithms that can be incorporated into MapReduce jobs to perform graph processing. These algorithms are used for page ranking, k-means clustering, and other complex problems that lend themselves to graph processing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*fFTATX-AIR9TzvvNGyiTZg.jpeg" /></figure><p><strong>Hadoop Conclusion</strong></p><p>The Hadoop ecosystem provides a set of tools and frameworks that allow data scientists to gather and store, understand, prepare, and model data to solve business problems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M-wKufMQCQKvoKT6wvTNuw.jpeg" /></figure><p>The follow on parts of this blog will cover Spark, and IBM’s contributions to Hadoop and Spark, and IBMvalue add technologies. Additional blogs will go into various use cases, demonstrating all these components of the Hadoop and Spark ecosystems, and more. I hope you will follow along.</p><p><strong>Additional resources:</strong></p><p>Hadoop, Spark, and Data Science courses (Free):</p><p>Big Data University: <a href="https://bigdatauniversity.com/courses/">https://bigdatauniversity.com/courses/</a></p><p>IBM Data Science: <a href="http://www.ibm.com/analytics/us/en/technology/data-science/">http://www.ibm.com/analytics/us/en/technology/data-science/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b902e57fb1e3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Big Replicate - Data Replication for Hadoop]]></title>
            <link>https://medium.com/@ostechtalks/big-replicate-data-replication-for-hadoop-18ca79139900?source=rss-4adf0732035d------2</link>
            <guid isPermaLink="false">https://medium.com/p/18ca79139900</guid>
            <category><![CDATA[hadoop]]></category>
            <category><![CDATA[big-data]]></category>
            <dc:creator><![CDATA[Open Source Tech Talks]]></dc:creator>
            <pubDate>Mon, 07 Nov 2016 14:12:56 GMT</pubDate>
            <atom:updated>2016-11-07T14:12:56.952Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>By: Gautam Siwach (IBM) - Opinions are my own</strong></p><p>Big Replicate is the world’s only wide area network active transactional replication technology that delivers continuous availability, streaming backup, uninterrupted migration, hybrid cloud and burst-to-cloud, exceeding the most demanding enterprise SLAs across any combination of Hadoop distributions and cloud storage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*0uUwebztwIC8N4xIvDUC2A.jpeg" /><figcaption>Figure 1 : IBM Big Replicate — Definition</figcaption></figure><p>Transactional replication is typically used in server-to-server scenarios that require high throughput, including: improving scalability and availability; data warehousing and reporting; integrating data from multiple sites; integrating heterogeneous data; and offloading batch processing</p><ol><li><strong>Can we use Big Replicate for Data transfer from our traditional Data Warehouse to Data lake/HDFS/BigInsights ?</strong></li></ol><p>Yes, although there is no direct connectivity with RDBMS data sources but the data can be dumped into a filesystem in a CSV or similar format and this could then be mounted on HDFS. There are IBM’s Change Data Capture (CDC) tools that can help to do that. Also, there are no Open Database Connectivity (ODBC) or Java Database Connectivity (JDBC) drivers available for Big Replicate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*ioyy6e2tb7fmUI8eGMFfKA.jpeg" /><figcaption>Figure 2 : IBM Big Replicate — Connector</figcaption></figure><p>As shown in Figure 2 : IBM Big Replicate is a patented technology and is built on an active-transactional replication capability that enables continuous availability and data consistency. With LAN-speed performance across any combination of Hadoop clusters any distance apart, it runs on any mix of distributions and storage, both on-premise and in the cloud, enabling a whole range of enterprise use cases that can’t be supported otherwise.</p><p><strong>2. What are the different use cases for Big Replicate ?</strong></p><p>There are various use cases of Big Replicate, One of the most common use cases for Big Replicate is the data lake. Data lakes provide access to new types of unstructured and semi structured historical data that was largely unusable before Hadoop.</p><ul><li>360-degree view of global supply chain</li><li>Trend analysis and predictive analytic</li><li>Compliance monitoring</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*6PBxa9nWLDsdWlNQfyVEDA.jpeg" /><figcaption>Figure 3 : Big Replicate in action — Coordinating writes</figcaption></figure><p>Fusion service: 1 or more Fusion servers that act as a proxy for clients writing into HDFS and write replicated data into the local file system (Ref: Fusion technical paper)</p><p>IHC service: 1 or more IHC servers that know how to read from the local underlying file system in order to send data to other clusters</p><p>Although the diagram shows two data centers, there is no limit on how many data centers you can use — and you can have more than one cluster in a data center.</p><p>The labels on the lines indicates the purpose and direction of data flow: IHC reads from the file system, Fusion writes into it, and there is coordination between Fusion servers. The color coding indicates coherent paths as one write comes into the HDFS and is replicated across to the other data center — but it shows functions, not an accurate timeline of events. For that, see the Fusion tech paper or the sequence diagram in the reference deck.<br>It is important to stress that active-active replication provides single copy consistency: a user or application can use the data equally from either data center.<br>Finally, note that there are few cross-cluster network connections, which simplifies network security and management.</p><p>Fusion workflow<br>1. Client makes a request to create a file<br>2. Fusion coordinates File Open to other clusters involved (membership)<br>3. File is added to underlying storage<br>4. IHC server pulls data from cluster and streams to remote clusters<br>5. Fusion coordinates File Close to other clusters involved (membership)</p><p><strong>3.</strong> <strong>Applications</strong></p><p>-On-demand burst out processing<br>-Cost containment<br>-Offsite disaster recovery</p><p><strong>4. What are the features and advantages of Big Replicate ?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*6IJyVnihLnUkILzrAD1M4w.jpeg" /><figcaption>Figure 4 : Advantages of Big Replicate</figcaption></figure><p>Figure 4 shows the features of Big Replicate with 100% up-time, with reduced costs, complexities and data protection including no Vendor Lock-in. In addition, Big Replicate can lie on hybrid cloud with accelerated deployment, simplified disaster recovery, migration, upgrades, expansions etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*N5VbbqY6opZlbvL8abbGJw.jpeg" /><figcaption>Figure 5: Customers using BigReplicate</figcaption></figure><p>Stay tuned for additional information around BigReplicate.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=18ca79139900" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[IBM Compose - A Single Platform for Enterprise Database Needs]]></title>
            <link>https://medium.com/@ostechtalks/ibm-compose-a-single-platform-for-enterprise-database-needs-b9d6051048a6?source=rss-4adf0732035d------2</link>
            <guid isPermaLink="false">https://medium.com/p/b9d6051048a6</guid>
            <category><![CDATA[bluemix]]></category>
            <category><![CDATA[nosql]]></category>
            <dc:creator><![CDATA[Open Source Tech Talks]]></dc:creator>
            <pubDate>Fri, 28 Oct 2016 20:09:53 GMT</pubDate>
            <atom:updated>2016-10-28T20:09:53.370Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>By: Saswata (Sas) Sengupta (IBM) - Opinions are my own</strong></p><p>In choosing an appropriate database, a CIO or CTO needs time in justifying their business need. This is often driven by data strategy and road-mapping future capabilities because the evolution of businesses, mergers and acquisitions will require a drastic change in underlying database technologies.</p><p>A relational database, which will work for a supply chain business, might not be suitable for mobile application development. A database for mobile applications, might not serve well for text search or advanced search based phonetics. Such analytic capabilities are complex for a single database solution to handle, add to that, the overhead of database administrators needed to maintain such environment. And then there are logistics of scaling, upgrades, patches etc.</p><p>IBM’s Compose, database as a service offering, available in IBM Bluemix, Softlayer, AWS, Google Cloud Platform (beta) and self-hosted (coming soon) is an effective and complete platform for such enterprises. It is a managed database service platform, which is a polyglot of databases for multiple business and technical use cases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4C8VBgcSXrHVN5q7C6f2MQ.jpeg" /><figcaption>Figure 1</figcaption></figure><p>As highlighted in Figure 1 above and Figure 2 below, IBM Compose has the following services:</p><p>- <strong>MongoDB</strong>, a NoSQL document store that can be used as a reliable back-end data store for multiple web and mobile applications.</p><p>- <strong>Redis </strong>is a fast, scalable data store that has been used as a cache and persistent store that is shared by multiple processes, applications, or servers.</p><p>- <strong>PostgresSQL</strong> has been around for many years as a reliable RDBMS supporting transactional applications. It has been a good alternative for Oracle and MS SQL Server.</p><p>- <strong>RethinkDB</strong> is a distributed, scalable data store for real-time data. It can store data in native json format and has been deployed in many mobile and web applications.</p><p>- <strong>RabbitMQ</strong> is an open source message broker platform based on AMQP. Many enterprises use RabbitMQ as a message broker for collecting streaming data including clickstream, IoT type data and events.</p><p>- <strong>ScyllaDB</strong> is a growing and popular NoSQL database similar to Cassandra but much faster in nature. It has Cassandra compatible column store with low latency of Redis. It is a great alternative to Cassandra which is popular for its high availability architecture.</p><p>- <strong>ElasticSearch</strong> is the one of the most renowned search applications. Based on Lucene, it provides a distributed, multitenant-capable full-text search engine with an HTTP web interface and schema-free JSON documents. Many companies have been actively using ElasticSearch for free form text search, log search and document search.</p><p>- <strong>MySQL </strong>is an open source relational database, light weight and often used in conjunction with PHP (LAMP stack). Similar to Postgres, MySQL has its application as backend for many websites including Facebook, Google, Twitter, Vimeo etc.</p><p><strong>Etcd </strong>is a distributed key value store that provides a reliable way to store data across a cluster of machines. It is often used for configuration management within distributed systems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i9l1Gg7DQ-k7upzOeqCHLw.jpeg" /><figcaption>Figure 2</figcaption></figure><p>Compose is available as part of IBM’s Bluemix portfolio.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CEtWjVRW0gFLJD1t--92Fw.jpeg" /><figcaption>Figure 3</figcaption></figure><p>As highlighted in Figure 3, IBM manages all Compose patch updates, upgrades and backups in an IBM managed environment. Companies can pick and choose the appropriate Compose track per their consumption model.</p><p>- Compose Public (multi-tenant) is the traditional path for customers wanting paid access to individual services from the Compose catalogue, which they are then able to scale as their application grows.</p><p>- For customers wanting full <em>à la carte </em>access to the complete Compose catalogue, the Compose Enterprise platform is the recommended path.</p><p>With a Compose Enterprise license, customers no longer need to license Compose services individually; instead, customers are able to mix &amp; match, scale &amp; deploy any combination of Compose services that they wish (as long as the required resources do not exceed the capacity of the infrastructure).</p><p>For customers who wish to pay only a single vendor bill that encompasses both infrastructure and licensing, IBM managed Compose Enterprise delivers the hardware for your Compose Enterprise platform in three configuration sizes.</p><p>The other key areas where most customers show skepticism is around cloud based security.</p><p>§ <strong>Encryption for at-rest data &amp; backups is available for Compose Enterprise on AWS infrastructure</strong></p><p>- Achieved using LUKS (Linux Unified Key Setup)</p><p>- Unique encryption key generated for every physical node</p><p>- However, it is <strong>not</strong> available for Compose Public (multi-tenant) services</p><p>- <strong>Roadmap</strong>: Cleversafe enabled Object Storage backup enabled on SoftLayer</p><p>§ <strong>Compose operators &amp; their access to customer data governed by stringent security policies</strong></p><p>- Access to backup data is restricted to Compose DevOps within AWS’ S3 infrastructure</p><p>- Data is securely erased from decommissioned databases (and their backups)</p><p>§ <strong>Optional two-factor authentication available across all Compose services</strong></p><p>For more information, please visit — <a href="https://help.compose.com/docs/security">https://help.compose.com/docs/security</a></p><p>Transferring data from a customer’s native database/application is made easy via an open source tool called Transporter.</p><p>Transporter is a JavaScript application that brokers data transfer between your source and target Compose database. It will generate a full copy of data in the destination (target) data. By default, this is taken as a snapshot in time (one-time) load from source to target, in what is termed “bulk upload” within the Transporter documentation.</p><p>Transporter is available at GitHub repository: <a href="https://github.com/compose/transporter">https://github.com/compose/transporter</a></p><p>To highlight the flow of Compose running on bluemix:</p><p>Here is an example of a “<strong>Hello World</strong>” application using Node.js which shows how to connect to an IBM Compose service called Elasticsearch within IBM’s Bluemix Cloud service. In principal, this will be similar for AWS as well.</p><p><strong>Running the app on Bluemix</strong></p><p>1. If you do not already have a Bluemix account, <a href="https://ibm.biz/compose-for-elasticsearch-signup">sign up here</a></p><p>2. Download and install the <a href="https://github.com/cloudfoundry/cli">Cloud Foundry CLI</a> tool</p><p>3. Clone the app to your local environment from your terminal using the following command:</p><p><strong>git clone </strong><a href="https://github.com/IBM-Bluemix/compose-elasticsearch-helloworld-nodejs.git"><strong>https://github.com/IBM-Bluemix/compose-elasticsearch-helloworld-nodejs.git</strong></a></p><p>4. cd into this newly created directory</p><p>5. Open the manifest.yml file and change the host value to something unique. The host you choose will determine the subdomain of your application’s URL: &lt;host&gt;.mybluemix.net</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n7FS_SrXiY7mPyUGbmvf6g.jpeg" /></figure><p>6. Connect to Bluemix in the command line tool and follow the prompts to log in.</p><p><strong>$ cf api </strong><a href="https://api.ng.bluemix.net/"><strong>https://api.ng.bluemix.net</strong></a></p><p><strong>$ cf login</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HCTT64hnYYiaYPD7CSRuXA.jpeg" /></figure><p>7. If you don’t already have a Compose for Elasticsearch service in Bluemix, create one.</p><p><strong>$ cf create-service compose-for-elasticsearch Standard my-compose-for-elasticsearch-service</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M8qvVh-54QqWA63ndkQGwg.jpeg" /></figure><p>Ignore the warning.</p><p>8. Push the app to Bluemix.</p><p><strong>$ cf push</strong></p><p>As shown in Figure 4, check the Bluemix Console for the Service and Application for the newly created Compose application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1fEmLT4IfVnt2gTGPI6Eiw.jpeg" /><figcaption>Figure 4</figcaption></figure><p>As shown in Figure 5, your application is now running at &lt;host&gt;.mybluemix.net.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wh1fLjHLfX7peEOqkXzFtQ.jpeg" /><figcaption>Figure 5</figcaption></figure><p>The Bluemix Console has an interactive dashboard which provides a developer with details about the SDK, logs and environmental variables. The console also lets a developer increase or decrease the memory consumption along with a cost estimator.</p><p>The node-elasticsearch-helloworld app below displays the contents of an <em>examples</em> Elasticsearch index. To demonstrate that the app is connected to your service, add some words to the index. In Figure 6, the words are displayed as you add them, with the most recently added words displayed first.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MsEkxK39GMa-WaM_JQVyCQ.jpeg" /><figcaption>Figure 6</figcaption></figure><p>This handles a user’s input via a PUT command and parses the results via the GET command to output the contents of the Elasticsearch index.</p><p>Compose is the next generation of database as a service where a self-managed and scaling development environment can provide critical value to any business. It can expand boundaries of use-cases while using appropriate database technologies to build solutions without the worry of management and provisions.</p><p>Stay tuned for more database offerings and feature from IBM Compose.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b9d6051048a6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[IBM - Data Science Experience, what is it?]]></title>
            <link>https://medium.com/@ostechtalks/ibm-data-science-experience-what-is-it-24d2eb3550dc?source=rss-4adf0732035d------2</link>
            <guid isPermaLink="false">https://medium.com/p/24d2eb3550dc</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Open Source Tech Talks]]></dc:creator>
            <pubDate>Sun, 16 Oct 2016 22:55:55 GMT</pubDate>
            <atom:updated>2016-10-16T22:55:55.300Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>By: Ramarao Kothamasu (IBM) - Opinions are my own</strong></p><p>Data scientists are tasked with turning raw data into meaningful insight. The latest Forrester Research report states “Data scientists have been plodding through the same process for 20 years” and concluded that the current process is reaching the limits of productivity and scalability.</p><p>The new generation of data scientists are looking to open source technologies for innovation. Currently, they are spending a lot time in configuring their own environments and finding themselves having to source for critical capabilities from multiple places. In a business environment, this often creates silos and makes it impossible to share work within teams.</p><p><strong>IBM Data Science Experience</strong> (DSX) is that one-stop-shop platform for data scientists, data engineers etc. to learn about new tools and trends, create valuable insights using the best of open source tools with IBM’s value additions, in Figure 1, and collaborate on projects within their teams and the broader data science community.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pxiRJepqg0hkv6gcfBLpBQ.jpeg" /><figcaption>Figure 1: Data Science Experience (DSX)</figcaption></figure><p><strong>Cloud based pre-configured environment:</strong></p><p>DSX is built on top of IBM’s Bluemix cloud technology where multiple services are pre-configured and ready to use. Via a web browser (<a href="http://datascience.fmr.com/">http://datascience.ibm.com</a>), a new user can be ready to work with such analytics environment that includes popular open source tools such as, Spark. This platform saves lot of time and effort for data scientists to put their efforts toward more valuable endeavors like actual analysis of data instead of environment readiness.</p><p>The most valuable feature of DSX is that it is a platform that unifies numerous open source components to help data scientists become better at what they do. Some of the challenges in using data science tools includes installation, deployment, maintenance etc. — with DSX it is already done!</p><p><strong>Open Source Tools &amp; Technologies with IBM Value additions:</strong></p><p>As highlighted in Figure 2, DSX currently includes <strong>Apache Spark</strong>, <strong>Jupyter Notebooks</strong> and <strong>RStudio</strong>. This initial set of tools will continue to grow but it is a powerful initial foundation for data science.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RypDGQpxnyh2mV72_1FGQw.jpeg" /><figcaption>Figure 2: DSX Features</figcaption></figure><p><strong>Apache Spark</strong>, a fast and general compute engine for large-­scale data processing, provides over 80 high-level operators that makes it easy to build parallel applications that data scientists can use interactively in languages such as; <strong>Scala, Python</strong> and <strong>R</strong> shells. In Figure 3, all the machine learning libraries from Spark, are included, as well as SparkR — a light-­weight front end use of Spark that leverages the open source R language. It provides a distributed data frame implementation that supports operations like Selections, Iterations, Aggregation etc. on small or large datasets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tx4E65AB5JhufjoSorxWuQ.jpeg" /><figcaption>Figure 3: Spark-as-a-Service</figcaption></figure><p><strong>Jupyter notebooks</strong> is a web application that allows users to create live documents that contain live code, equations, visualizations and rich explanatory text/html. Data Scientists can use the notebook for data cleaning, transformation, numerical simulation, statistical modeling, machine learning and much more.</p><p>Data scientists can create and collaborate with other team members, in Figure 4, and have a community working together with their preferred programming language of: Scala, Python and/or R. This support for multiple languages, in Figure 5, helps data scientists to continue using their preferred language and libraries.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NDQYxMLvowzDP_-pKDB9Hg.jpeg" /><figcaption>Figure 4: Creating a Jupyter Notebook</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s-TeRo7VmxxZNURoiBa2bA.jpeg" /><figcaption>Figure 5: Jupyter Notebook — Python</figcaption></figure><p><strong>RStudio </strong>- a popular open source integrated development environment (IDE) for statistical analysis is part of DSX which allows data scientists, in Figure 6, to develop R scripts with greater productivity.</p><p>Ultimately, the ability to use each of these open source languages and a variety of techniques with IBM innovation makes DSX a unique and excellent environment for Data scientists.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X79nPcut-UfeKDJ_8Z89iQ.jpeg" /><figcaption>Figure 6: RStudio in DSX</figcaption></figure><p><strong>Enterprise capabilities:</strong></p><p>DSX is built for scalability that can range from individuals who are learning about this platform to small or large enterprise companies. The cloud technology on which DSX is built upon allows the scalability of the Spark environment. Enterprise features like creating <strong>projects</strong> to organize and collaborate on multiple notebooks, ability to assign different types of permissions, integration with a wide variety of data sources and collaborative features make it easy for such enterprises to build their data science practice.</p><p><strong>Work with a wide variety of data sources:</strong></p><p>DSX supports the following wide variety of data sources that can either be pulled from or connected to. Along with the following data sources, streaming data from Kafka topics is also supported.</p><p>· Amazon Redshift</p><p>· Apache Hive</p><p>· Cloudera Impala</p><p>· IBM DB2®</p><p>· IBM Informix®</p><p>· IBM Netezza®</p><p>· IBM dashDBTM</p><p>· IBM WatsonTM Analytics</p><p>· Microsoft Azure</p><p>· Microsoft SQL Server</p><p>· MySQL</p><p>· Oracle</p><p>· Pivotal Greenplum</p><p>· PostgresSQL</p><p>· Salesforce.com</p><p>· Sybase</p><p>· Sybase IQ</p><p><strong>Projects</strong></p><p>Projects create a space for you to collect and share notebooks, connect to data sources, and add data sets all in one place. When you click the <strong>Projects</strong> tab, in Figure 7, it takes you to your personal project area. The name and description that you give your project is available in the list of projects that you share with collaborators. Each project must have an associated Spark instance and storage type before you can add a notebook.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/825/1*Bdp7VVdjJM24CoLWNfC-Zw.jpeg" /><figcaption>Figure 7: Projects</figcaption></figure><p><strong>Collaboration</strong></p><p>Projects enable effective collaboration because you can freely share knowledge and resources, flexibly shift workloads, and help one another complete jobs. In Figure 8, users can share their projects and notebooks by adding collaborators and enabling different permissions. Users can also enable cell masking, in Figure 9, to protect sensitive data like user credentials.</p><p>Following are the supported permissions/roles:</p><p>· <strong>Viewer</strong>: View the project.</p><p>· <strong>Editor</strong>: Control project assets.</p><p>· <strong>Admin</strong>: Control project assets and collaborators.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*O1kB7RbtDXVlSjOqzj9XkQ.jpeg" /><figcaption>Figure 8: Sharing a notebook</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PGMcuMxHK01pYmq4ZiugQg.jpeg" /><figcaption>Figure 9: Hide sensitive code/data</figcaption></figure><p><strong>Built in Learning</strong></p><p>Use the built-in learning to get started or go the distance. Join a vibrant community, in Figure 10, of data scientists across industries, functions, and organization types. Take advantage of shared data sets, notebooks, and tutorials. Share your work with your team and your peers. Start a course, start from a sample, or start from scratch.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4wqj7dQLwBSR5NwqcjgACA.jpeg" /><figcaption>Figure 10: DSX Tutorials</figcaption></figure><p><strong>Community centered:</strong></p><p>DSX helps data scientists collaborate with peers on projects to find better solutions together. They can share their knowledge and their code and help accelerate the advancement of data science for others - or get input from peers on their own work.</p><p>Data scientists can fork their notebooks and share them with the entire community, in Figure 11, to demonstrate successful approaches to others or get feedback on their work. In addition, DSX includes shared data sets, multiple tutorials and how-­to articles to ensure that new data scientists have what they need to get started and experienced data scientists can try out new analytics platforms such as DSX.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iyAPHtK_f49_Pi6d5WN_sw.jpeg" /><figcaption>Figure 11: Community centric</figcaption></figure><p>IBM is working with a community of Data Scientists to shape the future of DSX and intends to evolve this platform based on the community’s feedback.</p><p>DSX is one of the first integrated development environments that is optimized and built around Spark and other open source analytical tools to provide ideal collaboration capabilities. This platform enables Data Scientists to build real-time and high performance analytics, or machine learning apps with Spark using their choice of skill set. This type of open and collaborative platform is new in the data science world and it is absolutely positioned to increase the adoption of data science and machine learning in every organization.</p><p>Note: At present IBM Data Science Experience is in Beta and users can register for a 30-day free account at <a href="http://datascience.ibm.com/">http://datascience.ibm.com</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=24d2eb3550dc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>