More Related Content Similar to Scratching your own itch (20) Scratching your own itch2. About Joey
• Solutions Architect
• 6 months
• 3+ years
2
©2011 Cloudera, Inc. All Rights Reserved.
3. Why Apache Sqoop (incubating)?
• Data center integration
• Extensible
– Sources
– Destinations
• Company specific
• Open source
– Yay!
3
©2011 Cloudera, Inc. All Rights Reserved.
4. Getting the code
• Apache SVN
– https://svn.apache.org/repos/asf/incubator/
sqoop/
• Apache GIT
– http://git.apache.org/sqoop.git
• GitHub
– https://github.com/apache/sqoop.git
4
©2011 Cloudera, Inc. All Rights Reserved.
5. Fork you
5
©2011 Cloudera, Inc. All Rights Reserved.
6. Building the code
• Requirements
– Ant 1.7.1
– JDK 1.6
– Maven
• SQOOP-306
• Targets
– jar
– test
– checkstyle
6
©2011 Cloudera, Inc. All Rights Reserved.
8. IDE
8
©2011 Cloudera, Inc. All Rights Reserved.
9. Testing
• JUnit
• By hand
– ant package
– cd build/sqoop-1.5-incubating-SNAPSHOT
– bin/sqoop
9
©2011 Cloudera, Inc. All Rights Reserved.
10. Contributing back: Why?
• Next release
• Lower long-term cost
• For the community!
• It’s easier than you think!
10
©2011 Cloudera, Inc. All Rights Reserved.
11. Fears
• People won’t want my patch
– Rare
– Small projects
• Only I need this feature
– That’s what everyone says…
• Too much process!
– A little time now, a massive headache later
11
©2011 Cloudera, Inc. All Rights Reserved.
12. Sqoop vs. HDFS
• Small project
– Less contentious
– Easier to grok the code
– Easy deployment
• Immediate feedback
• Great place to start
12
©2011 Cloudera, Inc. All Rights Reserved.
13. Contributing back: How?
• File a JIRA
– https://issues.apache.org/jira/browse/SQOOP
• Post your patch on the issue
• File a review request
– https://reviews.apache.org/groups/Sqoop/
13
©2011 Cloudera, Inc. All Rights Reserved.
15. The review process
• Upload your patch
• Describe your changes
• Describe your testing
• Wait for feedback
• Repeat
15
©2011 Cloudera, Inc. All Rights Reserved.
16. What else?
• Subscribe to the mailing list
– sqoop-dev@incubator.apache.org
• Look for open issues
– https://issues.apache.org/jira/browse/SQOOP
• Get hacking
16
©2011 Cloudera, Inc. All Rights Reserved.