<?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 Alice Angela on Medium]]></title>
        <description><![CDATA[Stories by Alice Angela on Medium]]></description>
        <link>https://medium.com/@aliceangela?source=rss-d03966fd1747------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*pBllamDLQcW4WD8E.</url>
            <title>Stories by Alice Angela on Medium</title>
            <link>https://medium.com/@aliceangela?source=rss-d03966fd1747------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 18:44:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aliceangela/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[Introduction To Bulk Deletion Of Column Values In Hadoop Development With MapReduce]]></title>
            <link>https://medium.com/@aliceangela/introduction-to-bulk-deletion-of-column-values-in-hadoop-development-with-mapreduce-f34b62f1d057?source=rss-d03966fd1747------2</link>
            <guid isPermaLink="false">https://medium.com/p/f34b62f1d057</guid>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[hadoop-development]]></category>
            <category><![CDATA[mapreduce]]></category>
            <category><![CDATA[hadoop]]></category>
            <dc:creator><![CDATA[Alice Angela]]></dc:creator>
            <pubDate>Mon, 05 Jun 2017 09:16:21 GMT</pubDate>
            <atom:updated>2017-06-05T09:16:21.948Z</atom:updated>
            <content:encoded><![CDATA[<p>This article is about figuring out how to erase mass section esteems by utilizing Hbase mass stacking with Hadoop MapReduce. Capable hadoop designers are sharing essential things required for mass section erasure in hadoop improvement. You can follow the steps shared by them to know how they do it.</p><p>We are introducing a way to delete multiple column values by using hbasebulkloading feature with <a href="https://mindmajix.com/"><strong>hadoop</strong></a><strong> </strong>mapreduce.</p><h3>Problem:</h3><p>Consider a case we have stacked the peta bytes measured information in a hbase table with billions of lines, now we have several sections in that information, our aim is to erase the segments and its information which is not required for our use.</p><p>There are basically 2 solutions to achieve that purpose.</p><p><em>1) Using HBase client API with Java and perform Delete operations.</em></p><p><em>2) Using HBase’s bulk load feature, scan whole table and delete selected column values from all rows.</em></p><p>From above 2 solutions the first solution is indeed a rudimentary solution because it will take awaful lot of time and it will fire lot of DeleteRequests which is time consuming approach while approach 2 which uses powerful feature of BulkLoading supported by HBase and leveraging the Hadoop MapReduce paradigm will do the megic.</p><p>Indeed bulkloading the data by generating HFiles using hadoopmapreduce will bypass the WAL so it will take less time and hence it will be time and resource efficient.</p><h3>Solution:</h3><p>Lets consider a simple case for our example, we have a table named “user” in hbase which is having 2 column families “userDetails” and “personalDetails”.</p><p><em>So my data looks like,</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/745/0*Yc2hMe0D5KdSf8Yl.jpg" /></figure><p>so, from above data we are not interest in “city”, ”streetAddress” and “secondaryEmail” columns which belongs to “personalDetails” and “userDetails” column family respectively.</p><p>I am using a property file which will list the column family and column’s mapping which we will use to delete that column values.</p><p>My property file looks like,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/644/0*ZPS2h66n2Uuq8BIa.jpeg" /></figure><p>So, in order to delete the column values below is my solution code.</p><p>BulkDeleteColumnValueDriver.java</p><p>importjava.<a href="https://datafloq.com/IO/?utm=internal">io</a>.BufferedReader;</p><p>importjava.io.File;</p><p>importjava.io.FileReader;</p><p>importjava.util.ArrayList;</p><p>importjava.util.List;</p><p>importorg.apache.hadoop.conf.Configuration;</p><p>importorg.apache.hadoop.conf.Configured;</p><p>importorg.apache.hadoop.fs.Path;</p><p>importorg.apache.hadoop.hbase.HBaseConfiguration;</p><p>importorg.apache.hadoop.hbase.KeyValue;</p><p>importorg.apache.hadoop.hbase.client.HTable;</p><p>importorg.apache.hadoop.hbase.client.Scan;</p><p>importorg.apache.hadoop.hbase.io.ImmutableBytesWritable;</p><p>importorg.apache.hadoop.hbase.mapreduce.HFileOutputFormat;</p><p>importorg.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles;</p><p>importorg.apache.hadoop.hbase.mapreduce.TableMapReduceUtil;</p><p>importorg.apache.hadoop.hbase.util.Bytes;</p><p>importorg.apache.hadoop.mapreduce.<a href="https://datafloq.com/work?utm=internal">Job</a>;</p><p>importorg.apache.hadoop.mapreduce.lib.output.FileOutputFormat;</p><p>importorg.apache.hadoop.util.Tool;</p><p>importorg.apache.hadoop.util.ToolRunner;</p><p>publicclassBulkDeleteColumnValueDriverextends Configured implements Tool<br>{</p><p>privatestaticfinal String <em>PROPERTY_VALUE_SEPERATOR</em> = “~”;<br> <br> privatestatic List&lt;String&gt;columnFamilyColumnMappingList = newArrayList&lt;String&gt;();</p><p>@Override<br> publicint run(String[] args) throws Exception<br> {</p><p>Configuration configuration = HBaseConfiguration.create();</p><p>configuration.set(“mapred.map.tasks.speculative.execution”, “false”);</p><p>String tableName = args[0];</p><p>HTablehbaseTable = newHTable(configuration, tableName);</p><p>/*Reading property file and filling the mapping list*/<br> initializeColumnMapping(args[1]);<br> <br> <a href="https://datafloq.com/work?utm=internal">Job</a> job = newJob(configuration, “Bulk Delete Column Values Test”);</p><p>job.setJarByClass(BulkDeleteColumnValueDriver.class);</p><p>Scan scan = newScan();</p><p>scan.setCacheBlocks(false);</p><p>scan.setCaching(1000);<br> <br> /*Iterating, parsing and adding the columnfamily&amp; column to<br> *scan the added columns will be marked for deletion */<br> <br> for(String mappingLine : columnFamilyColumnMappingList)<br> {<br> String[] values = mappingLine.split(PROPERTY_VALUE_SEPERATOR);<br> <br> scan.addColumn(Bytes.toBytes(values[0]), Bytes.toBytes(values[1]));<br> }</p><p>TableMapReduceUtil.initTableMapperJob(tableName, scan, BulkDeleteColumnValueMapper.class, ImmutableBytesWritable.class, KeyValue.class, job);</p><p>HFileOutputFormat.configureIncrementalLoad(job, hbaseTable);<br> <br> String outputPath = “/tmp/bulkDeleteColumnValues”;</p><p>FileOutputFormat.setOutputPath(job, new Path(outputPath));</p><p>job.waitForCompletion(true);</p><p>if(job.isSuccessful())<br> {<br> <br> LoadIncrementalHFilesloadFfiles = newLoadIncrementalHFiles(configuration);</p><p>HTabletable = newHTable(configuration, tableName);</p><p>loadFfiles.doBulkLoad(new Path(outputPath), table);<br> <br> System.out.println(“Successful”);<br> }<br> else<br> {<br> System.out.println(“Error in Job..”);</p><p>}<br> <br> hbaseTable.flushCommits();<br> <br> hbaseTable.close();</p><p>return 0;<br> }</p><p>privatestaticvoidinitializeColumnMapping(String filePath)<br> {</p><p>try<br> {</p><p>BufferedReaderreader = newBufferedReader(newFileReader(new File(filePath)));</p><p>String line;</p><p>while((line = reader.readLine()) != null)<br> {</p><p>// Skipping comment lines<br> if(!line.startsWith(“##”) &amp;&amp;line.length() &gt; 0)<br> {</p><p>if(line.contains(PROPERTY_VALUE_SEPERATOR))<br> {</p><p>columnFamilyColumnMappingList.add(line);</p><p>}</p><p>}</p><p>}<br> reader.close();</p><p>}<br> catch(Exception exception)<br> {</p><p>exception.printStackTrace();</p><p>}</p><p>}</p><p>publicstaticvoid main(String[] args) throws Exception<br> {</p><p>if(args.length == 2)<br> {<br> intexitCode = ToolRunner.run(HBaseConfiguration.create(), newBulkDeleteColumnValueDriver(), args);</p><p>System.exit(exitCode);</p><p>}<br> else<br> {<br> System.out.println(“Usage:&lt;HBaseTableName&gt;&lt;ColumnMappingFilePath&gt;”);<br> }<br> }<br> <br>}</p><p>BulkDeleteColumnValueMapper.java</p><p>importjava.io.IOException;</p><p>importorg.apache.hadoop.hbase.HConstants;<br>importorg.apache.hadoop.hbase.KeyValue;<br>importorg.apache.hadoop.hbase.client.Result;<br>importorg.apache.hadoop.hbase.io.ImmutableBytesWritable;<br>importorg.apache.hadoop.hbase.mapreduce.TableMapper;</p><p>publicclassBulkDeleteColumnValueMapperextendsTableMapper&lt;ImmutableBytesWritable, KeyValue&gt;<br>{</p><p>@Override<br> publicvoid map(ImmutableBytesWritablekey, Result result, Context context) throwsIOException, InterruptedException<br> {</p><p>for(KeyValuekeyValue : result.list())<br> {<br> <br> context.write(key, newKeyValue(key.get(), keyValue.getFamily(), keyValue.getQualifier(), HConstants.LATEST_TIMESTAMP,<br> KeyValue.Type.DeleteColumn));<br> <br> }</p><p>}<br>}</p><p><em>After execution my hbase table looks like,</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/644/0*SvnpTxZZRNK3SrBv.jpg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f34b62f1d057" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Best SAP WM Training at Mindmajix]]></title>
            <link>https://medium.com/@aliceangela/best-sap-wm-training-at-mindmajix-92f8dec01429?source=rss-d03966fd1747------2</link>
            <guid isPermaLink="false">https://medium.com/p/92f8dec01429</guid>
            <category><![CDATA[sap-wm-training]]></category>
            <category><![CDATA[sap]]></category>
            <category><![CDATA[sap-wm]]></category>
            <category><![CDATA[ecommerce]]></category>
            <dc:creator><![CDATA[Alice Angela]]></dc:creator>
            <pubDate>Thu, 04 May 2017 06:16:24 GMT</pubDate>
            <atom:updated>2017-05-04T06:16:24.207Z</atom:updated>
            <content:encoded><![CDATA[<p>Mindmajix provides best <a href="https://mindmajix.com/sap-wm-training">SAP WM training</a>. Online training by real time experts. Explore Online training and SAP WM course is aligned with industry needs &amp; developed by industry experts. Attend free demo!</p><p>SAP WM Training teaches what all is required to integrate Warehouse Management into Logistics in SAP. The WM system supports scheduled and efficient processing of all logistics processes within your warehouse. SAP Warehouse Management system is ERP Software that integrates all the functions of the warehouse. The WMS is fully integrated into the SAP environment. WMS helps you gain an overview of the entire quantity of a material in the warehouse.</p><p>The SAP Warehouse Management application provides flexible, automated support in processing goods movements and also in maintaining current stock inventories in warehousing complex. It allows segregation of stock types within a warehouse.</p><p><strong>SAP WM TRAINING OVERVIEW</strong></p><p>The training course begins with the fundamentals of the basic organisation structure of SAP WM and goes on to the further internal concepts of the course. This step by step procedure promotes the eagerness in the students to learn more. Our trainers are expert in real-time demonstration of each and every concept, which helps the learner obtain deeper knowledge on the subject.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=92f8dec01429" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Best MongoDB Training at Mindmajix]]></title>
            <link>https://medium.com/@aliceangela/best-mongodb-training-at-mindmajix-670e1c07d2b8?source=rss-d03966fd1747------2</link>
            <guid isPermaLink="false">https://medium.com/p/670e1c07d2b8</guid>
            <category><![CDATA[mongodb-online-training]]></category>
            <category><![CDATA[nosql]]></category>
            <category><![CDATA[mongodb]]></category>
            <category><![CDATA[mongodb-training]]></category>
            <dc:creator><![CDATA[Alice Angela]]></dc:creator>
            <pubDate>Sat, 29 Apr 2017 07:24:10 GMT</pubDate>
            <atom:updated>2017-04-29T07:24:10.809Z</atom:updated>
            <content:encoded><![CDATA[<p>Mindmajix provides best <a href="https://mindmajix.com/mongodb-training">MongoDB training</a>. Online training by real time experts. Explore Online training and MongoDB course is aligned with industry needs &amp; developed by industry experts. Attend free demo!</p><p>MongoDB Training course makes you an expert in using MongoDB and get thorough with the concepts of data by utilizing internal memory for storing a working set. Mindmajix introduces all the key concepts in MongoDB to help the learner gain more knowledge.</p><p><strong>Contact Info:</strong></p><p>USA : +1 201 378 0518 <br>INDIA: +91 92463 33245 <br>E-mail: <a href="/service/mailto:info@mindmajix.com">info@mindmajix.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=670e1c07d2b8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Best Oracle BI Publisher Training]]></title>
            <link>https://medium.com/@aliceangela/best-oracle-bi-publisher-training-2c8f2b4ca20d?source=rss-d03966fd1747------2</link>
            <guid isPermaLink="false">https://medium.com/p/2c8f2b4ca20d</guid>
            <category><![CDATA[oracle-bi-publisher]]></category>
            <category><![CDATA[oracle-online-training]]></category>
            <dc:creator><![CDATA[Alice Angela]]></dc:creator>
            <pubDate>Tue, 18 Apr 2017 07:46:28 GMT</pubDate>
            <atom:updated>2017-04-18T07:46:28.552Z</atom:updated>
            <content:encoded><![CDATA[<p>Mindmajix provides best Oracle BI Publisher Online Training. Training by real time experts. Attend free demo here! <a href="http://mindmajix.com/oracle-bi-publisher-11g-training">http://mindmajix.com/oracle-bi-publisher-11g-training</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2c8f2b4ca20d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>