Category Archives: java

Reading and Writing ORC Files Using Vectorized Row Batch in Java

So looking at the analytics of my blog, it appears my article on how to write ORC files using core java is really popular. In this post, I’ll be going over how to do write and read ORC files using … Continue reading

Posted in code example, coding, github, hadoop, java, Learning to Code | Tagged , , , , , | Leave a comment

A Last Minute Lightning Talk

As I had stated in one of my previous posts,  I’ve been wanting to one day to a tech talk, but needed to work up to do something like that.  And then out of nowhere, I found myself being asked to … Continue reading

Posted in career, hadoop, java, Learning to Code, public speaking | Tagged , , , , , | Leave a comment

Talking the Talk

Not too long ago, I was on the train talking with one of my coworkers, Jayesh, and I saw him working on something. So, I asked him about it. He told me he submitted three different proposals for talks at … Continue reading

Posted in career, coding, general, java | Tagged , , , | 1 Comment

Writing an ORC File Using Java

2017/06/13: Checkout my updated article on reading and writing ORC files using Vectorized Row Batch in Java. Linked here: https://codecheese.wordpress.com/2017/06/13/reading-and-writing-orc-files-using-vectorized-row-batch-in-java/ So, I saw this question sometime ago on Stack Overflow and I’ve been meaning to answer this for sometime.  The … Continue reading

Posted in code example, coding, github, hadoop, java, programming | Tagged , , , | 11 Comments

Embedded List of Records Using Avro Generic Record

I’m posting this here, because I know someone out there will be Googling how to do this like I was. I didn’t find much and ended up spending a lot of time reading through the Avro API and using my … Continue reading

Posted in code example, coding, java | Tagged , , | Leave a comment

Technologies I’ve worked with in 2013

These are the big things I can think of. Hadoop Ecosystem Hadoop HBase Writing Map/Reduce jobs in Pig Writing Map/Reduce jobs in Java Writing Map/Reduce jobs in Python using Hadoop Streaming Apache Flume Writing a custom Flume Sink Apache Avro More … Continue reading

Posted in career, coding, java, programming | Tagged , , | Leave a comment

Java: Converting a List to an Array

For some reason, I always keep forgetting how to do this, without using a for-loop. import java.util.ArrayList;  import java.util.List; public class ConvertListToArray { public static void main(String[] args) { ArrayList list = new ArrayList(); list.add(“test1”); list.add(“test2”); list.add(“test3”); String[] arrayOfStrings = … Continue reading

Posted in code example, java | Leave a comment