Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Sqoop >> mail # dev >> Review Request: Fix for SQOOP-1029


+
Venkat Ranganathan 2013-05-04, 23:54
+
Venkat Ranganathan 2013-05-06, 05:04
+
Jarek Cecho 2013-05-20, 13:15
+
Jarek Cecho 2013-05-20, 13:15
+
Jarek Cecho 2013-05-06, 04:32
+
Venkat Ranganathan 2013-05-06, 05:04
+
Shruti Joshi 2013-05-10, 12:06
Copy link to this message
-
Re: Review Request: Fix for SQOOP-107

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/11041/#review20831
-----------------------------------------------------------
Hi Shruti,
thank you very much for working on this, greatly appreciated. I do have couple of high level notes:

1) Would you mind update the documentation describing the new functionality? You can find the docs in src/docs/ directory.

2) Would you mind adding a tests that will exercise the added functionality?

3) Please run "ant checkstyle" to check out the coding style.
src/java/org/apache/sqoop/hbase/ToStringPutTransformer.java
<https://reviews.apache.org/r/11041/#comment42942>

    Nit: Is this change necessary?

src/java/org/apache/sqoop/hbase/ToStringPutTransformer.java
<https://reviews.apache.org/r/11041/#comment42943>

    Nit: Is this change necessary?

src/java/org/apache/sqoop/hbase/ToStringPutTransformer.java
<https://reviews.apache.org/r/11041/#comment42944>

    What about using names suggesting the usage rather than content of the variable? Perhaps DELIMITER_COMMAND_LINE?

src/java/org/apache/sqoop/hbase/ToStringPutTransformer.java
<https://reviews.apache.org/r/11041/#comment42945>

    What about using names suggesting the usage rather than content of the variable? Perhaps DELIMITER_HBASE?

src/java/org/apache/sqoop/hbase/ToStringPutTransformer.java
<https://reviews.apache.org/r/11041/#comment42946>

    Nit: Is this change necessary?

src/java/org/apache/sqoop/hbase/ToStringPutTransformer.java
<https://reviews.apache.org/r/11041/#comment42947>

    Do you think that it would make sense to throw an exception here rather than returning NULL?

src/java/org/apache/sqoop/hbase/ToStringPutTransformer.java
<https://reviews.apache.org/r/11041/#comment42948>

    I would advise to abstract the composite key behaviour to the class parent and the the parsing only once when the rowKey is being set rather than on each single row.
Jarcec

- Jarek Cecho
On May 10, 2013, 12:06 p.m., Shruti Joshi wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/11041/
> -----------------------------------------------------------
>
> (Updated May 10, 2013, 12:06 p.m.)
>
>
> Review request for Sqoop.
>
>
> Description
> -------
>
> Sqoop does not support importing data into hbase when table contains composite key.
>
>
> This addresses bug https://issues.cloudera.org/browse/SQOOP-107.
>     https://issues.apache.org/jira/browse/https://issues.cloudera.org/browse/SQOOP-107
>
>
> Diffs
> -----
>
>   src/java/org/apache/sqoop/hbase/ToStringPutTransformer.java 13c765c
>
> Diff: https://reviews.apache.org/r/11041/diff/
>
>
> Testing
> -------
>
> ant test (default) was a success.
>
>
> Thanks,
>
> Shruti Joshi
>
>

+
Shruti Joshi 2013-05-23, 07:55
+
Shruti Joshi 2013-05-23, 07:52
+
Shruti Joshi 2013-05-22, 13:22
+
Shruti Joshi 2013-05-27, 11:22
+
Jarek Cecho 2013-05-28, 10:24
+
Jarek Cecho 2013-05-29, 06:54
+
Shruti Joshi 2013-05-28, 12:16
+
Shruti Joshi 2013-05-30, 13:12
+
Shruti Joshi 2013-06-03, 13:06
+
Shruti Joshi 2013-06-03, 13:04
+
Jarek Cecho 2013-06-08, 16:19
+
Shruti Joshi 2013-06-19, 10:12
+
Shruti Joshi 2013-06-19, 10:17
+
Jarek Cecho 2013-06-19, 20:50
+
Venkat Ranganathan 2013-05-21, 01:00
+
Venkat Ranganathan 2013-05-21, 04:09
+
Jarek Cecho 2013-05-21, 08:39
+
Venkat Ranganathan 2013-05-21, 16:42
+
Venkat Ranganathan 2013-05-21, 18:57
+
Jarek Cecho 2013-05-22, 06:31
+
Venkat Ranganathan 2013-05-30, 06:07
+
Venkat Ranganathan 2013-05-30, 18:25
+
Abraham Elmahrek 2013-05-31, 20:30
+
Venkat Ranganathan 2013-06-01, 00:07
+
Abraham Elmahrek 2013-05-31, 20:33
+
Jarek Cecho 2013-06-10, 15:36
+
Venkat Ranganathan 2013-06-10, 16:06
+
Venkat Ranganathan 2013-06-11, 18:41
+
Venkat Ranganathan 2013-06-12, 17:23
+
Venkat Ranganathan 2013-06-13, 05:46
+
Abraham Elmahrek 2013-06-13, 19:00
+
Venkat Ranganathan 2013-06-13, 20:32
+
Jarek Cecho 2013-06-13, 20:35
+
Abraham Elmahrek 2013-06-13, 01:41
+
Venkat Ranganathan 2013-06-13, 05:44
+
Venkat Ranganathan 2013-06-19, 21:48