Hi Gwen. Thanks for answer. I can't understand all the details of your development process and I have no time for it. In an attachments the source code with changes from the current trunk from git.
PS: Here is the commands for sqoop that I used to verify the code is working. 1. Import as sequencefile in HDFS sqoop import --connect jdbc:oracle:thin:@eprutltw200:1521:ORCL --username SQOOP --password cloudera \ --table COUNTRY --split-by FIPS \ --target-dir /user/hive/warehouse/gsod.db/imp_seq \ --delete-target-dir --fields-terminated-by '\0x01' --null-non-string '\\N' --null-string '' \ --as-sequencefile hdfs dfs -rm -f -R -skipTrash /user/hive/warehouse/gsod.db/imp_seq/_SUCCESS /user/hive/warehouse/gsod.db/imp_seq/_logs 2. Import as sequencefile in Hive table sqoop import --connect jdbc:oracle:thin:@eprutltw200:1521:ORCL --username SQOOP --password cloudera \ --table COUNTRY --split-by FIPS \ --hive-import --hive-overwrite --hive-database GSOD --hive-table IMP_SEQ \ --delete-target-dir \ --as-sequencefile 3. Export from sequencefile sqoop export --connect jdbc:oracle:thin:@eprutltw200:1521:ORCL --username SQOOP --password cloudera \ --as-sequencefile --export-dir /user/hive/warehouse/gsod.db/exp_seq --table COUNTRY \ --input-fields-terminated-by '\0x01' --input-lines-terminated-by '\n' --input-null-non-string '\\N' \ --as-sequencefile Best Regards, Usein Faradzhev Thu, 21 Aug 2014 14:22:56 -0700 от Gwen Shapira <[email protected]>: >Hi Usein, > >Here's our contribution process: > >1) Create a JIRA in issues.apache.org describing the problem >2) Clone our source code repository and create a patch based on trunk >(not 1.4.3) >3) Attach the patch to the JIRA and set the status to "patch available" >4) Load the patch to reviews.apache.org to make code review easier > >You can read more about the process here: >https://cwiki.apache.org/confluence/display/SQOOP/How+to+Contribute/ >And a quick guide here: >https://cwiki.apache.org/confluence/display/SQOOP/Developers+Quick+Hack+Sheet > >Thanks for contributing! > >Gwen > >On Thu, Aug 21, 2014 at 4:54 AM, Usein Faradgev < [email protected] > wrote: >> >> Hi. >> I downloaded the source code and added to sqoop 1.4.3 (Cloudera) for import >> and export support for the sequencefile format which compatible with the >> Hive. How can I to convey the source code to developers that this >> functionality appeared in the next versions? >> >> Best Regards, Usein Faradzhev
